Daniel Roschka
0588db704a
Remove dependency on pytz ( #5749 )
2022-12-09 22:56:08 -01:00
Bert Blommers
6ab2497a12
Techdebt: Replace string-format with f-strings (for e* dirs) ( #5668 )
2022-11-14 21:34:02 -01:00
Bert Blommers
ea8718d402
TechDebt: Move BackendDict to base_backend ( #5645 )
2022-11-10 08:43:20 -01:00
Bert Blommers
aa7d68a688
Feature: Ability to seed Moto, and make random ID's deterministic ( #5492 )
2022-09-28 09:35:12 +00:00
Bert Blommers
3d913f8f15
MultiAccount support ( #5192 )
2022-08-13 09:49:43 +00:00
Bert Blommers
79a2a9d423
Preparation for MultiAccount support ( #5157 )
2022-06-04 11:30:16 +00:00
szopen321
dbcee3c196
Add instance type validation on add instance method ( #5132 )
2022-05-18 17:51:51 +00:00
Thomas Rausch
e911341e6a
add indirection to access account id ( #5098 )
2022-05-08 22:25:40 +00:00
Brian Pandola
626629ef82
Fix: EMR Steps should be returned in reverse order of creation
...
This is according to the AWS EMR documentation[1] and has been verified against a real AWS backend.
[1]:https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/emr.html#EMR.Client.list_steps
2022-03-19 22:51:53 -07:00
Bert Blommers
eed32a5f72
Pylint - Enable more rules on source and tests-directory ( #4929 )
2022-03-11 20:28:45 -01:00
Bert Blommers
29d01c35bc
Update Black + formatting ( #4926 )
2022-03-10 13:39:59 -01:00
Bert Blommers
aa70ee254d
Remove deprecated decorators + boto dependency ( #4378 )
2022-01-18 14:18:57 -01:00
Bert Blommers
8def040f8d
Pylinting on moto/d and moto/e directories ( #4728 )
2021-12-28 21:26:56 -01:00
Bert Blommers
cf87e75d6e
Feature: Mock region ( #4699 )
2021-12-24 20:02:45 -01:00
Deepesh J
9a8be5ce28
Add support for EMR AutoScalingRole ( #4630 )
2021-11-24 09:37:30 -08:00
Dominik Schubert
f717e494d3
Core - Use json module for error_json exception type rendering instead of jinja2 ( #4587 )
2021-11-17 15:19:03 -01:00
Anay Nayak
13f985115b
EMR: Rename get_cluster to describe_cluster ( #4504 )
2021-10-30 11:08:03 +00:00
Bert Blommers
64e16d970a
EMR - Step state should be RUNNING, not STARTING ( #4455 )
2021-10-21 16:37:57 +00:00
Bert Blommers
14a69c7524
Techdebt: Enable pylint rules ( #4432 )
2021-10-18 19:44:29 +00:00
Bert Blommers
0b9f5adec2
Tech debt - Fix more URL regexes ( #4380 )
2021-10-08 10:03:05 +00:00
kbalk
3a203d35c9
Implement EC2 describe_vpc_endpoint_services() ( #4322 )
2021-09-24 16:01:09 +00:00
Mohit Alonja
2f26e870b8
SecurityGroup Improvements ( #4239 )
2021-09-04 17:08:18 +01:00
Bert Blommers
7693d77333
Remove Py2 support ( #3915 )
2021-07-26 07:40:39 +01:00
Brian Pandola
a95ca81e76
Support EMR clusters with multiple master nodes ( #4019 )
...
Reference: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-ha-launch.html
2021-06-18 06:04:21 +01:00
Brian Pandola
b0e2a750dc
Disallow termination of protected EMR job flows ( #4015 )
...
Error message verified against real AWS backend.
2021-06-17 12:20:45 +01:00
khneal
8b523c3fe1
EMR and SWF - add arn to response ( #3873 )
...
* emr: add ClusterArn to describe_cluster response
* emr: add ClusterArn to list_clusters response
* emr: add ClusterArn to put_auto_scaling_policy response
* emr: add ClusterArn to run_job_flow response
* emr: rename property "cluster_arn" to simply "arn"
* emr: generalize arn for account_id and region
* swf: add arn to list_domains response
* black reformat source code
* fix double import
* swf: require region on Domain object
Co-authored-by: Kevin Neal <Kevin_Neal@intuit.com>
2021-04-23 15:20:36 +01:00
Deepesh J
c31dffcc92
List instances Implementation in EMR ( #3871 )
...
* Implemented list instances in EMR
* removed import from tests
* make format
* fix W291 trailing whitespace
* removed to work for py2.7
* Storing only ec2_id and instance group in Fake instance
Co-authored-by: J <jdeepe@147dda1b0833.ant.amazon.com>
2021-04-23 08:03:06 +01:00
Brian Pandola
ac4a26f289
Add support for EMR-Managed Security Groups ( #3824 )
...
* Add support for EMR-Managed Security Groups
This covers the base case for EMR Clusters provisioned in a private subnet.
Ref: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-man-sec-groups.html
* Address PR comments
* Address PR comments
2021-04-02 15:34:02 +01:00
Brian Pandola
53a3e52c67
Fix: EMR ReleaseLabel
validation does not respect semantic versioning ( #3489 )
...
Fixes #3474
2020-11-22 18:54:59 +00:00
jweite
5fe921c2bc
Added support for EMR Security Configurations and Kerberos Attributes. ( #3456 )
...
* Added support for EMR Security Configurations and Kerberos Attributes.
* Revised exception-raising test to work with pytest api.
* Added htmlcov to .gitignore; upgrading botocore to 1.18.17, per commit d29475e
.
Co-authored-by: Joseph Weitekamp <jweite@amazon.com>
2020-11-17 10:54:34 +00:00
Matěj Cepl
5697ff87a8
Back to Black
2020-11-10 14:12:38 +01:00
jweite
9bc6bded6e
EMR: Support for StepConcurrencyLevel. ( #3351 )
...
Co-authored-by: Joseph Weitekamp <jweite@amazon.com>
2020-10-02 14:07:13 +01:00
jweite
cd20668e9c
Support for autoscaling policies in run_jobflow, add_instance_group and list_instance_groups. ( #3288 )
...
Support for cluster_id parameter substitution in autoscaling policy cloudwatch alarm dimensions.
New operations put_autoscaling_policy and remove_autoscaling_policy support
Co-authored-by: Joseph Weitekamp <jweite@amazon.com>
2020-09-23 11:21:45 +01:00
Bert Blommers
c32c17a13e
Remove duplicated method
2020-03-30 13:49:19 +01:00
addomafi
a6c1d47412
Reformat
2020-03-07 08:21:27 -03:00
addomafi
155cf82791
Keeping support to python 2
2020-03-07 07:43:59 -03:00
addomafi
c8dfbe9575
#2784 Adding missing support for EbsConfiguration on EMR instance groups
2020-03-06 15:12:44 -03:00
addomafi
a9b0677667
#2784 Adding missing support for EbsConfiguration on EMR run_job_flow
2020-03-05 18:11:49 -03:00
Bert Blommers
7205ab7785
#1427 - EMR - Return start time of first step
2020-02-20 08:59:21 +00:00
gruebel
9d9b620878
Fixed linter errors
2019-12-26 21:03:49 +01:00
gruebel
d7ba355a65
Add missing regions to all services
2019-12-26 17:12:22 +01:00
Asher Foa
96e5b1993d
Run black on moto & test directories.
2019-10-31 10:36:05 -07:00
Jordan Sanders
4cce4defac
Support CustomAmiId in EMR ( #2037 )
2019-05-25 11:19:26 +01:00
Steve Pulec
f4767c805e
Uncomment EMR FailureDetails. Closes #1891 .
2018-12-28 19:38:09 -05:00
Ash Berlin-Taylor
1b20f21a75
Escape EMR template fields to avoid invalid XML responses ( #1467 )
...
I had an EMR step that contained a `&` and this caused the ListStep call to fail.
I've added the `| escape` filter to handle it in this case and a few other cases that look like they could suffer the same fate.
2018-03-21 08:57:50 -07:00
Steve Pulec
0adebeed24
Merge #913 .
2017-05-10 21:58:42 -04:00
Steve Pulec
6d422d1f37
Add BaseModel to all models.
2017-03-11 23:41:12 -05:00
Steve Pulec
3c0c4c2996
Fix tests for py3.
2017-02-23 22:28:09 -05:00
Steve Pulec
0dda687762
Fix urlparse for py3.
2017-02-23 21:41:05 -05:00
Steve Pulec
f37bad0e00
Lints.
2017-02-23 21:37:43 -05:00