Commit Graph

4640 Commits

Author SHA1 Message Date
Randy Westergren
210b8b24eb
Map service BatchSize defaults/maxes 2019-08-21 17:45:37 -04:00
Mike Grima
734c7203cf
Merge pull request #2378 from mikegrima/iamfixes
Fixed some IAM APIs for tagging and role descriptions
2019-08-21 14:17:09 -07:00
Mike Grima
38866bfcef Fixed some IAM APIs for tagging and role descriptions 2019-08-21 13:08:33 -07:00
Mike Grima
1de371ca76
Merge pull request #2374 from asherf/acm
[ACM] Use the specified region name when generating ARN for a requested cert.
2019-08-21 12:56:59 -07:00
Mike Grima
aea9d84b01
Merge pull request #2373 from asherf/filter-acm
[ACM] Filter certs by statuses.
2019-08-21 12:55:26 -07:00
Mike Grima
d5e7334e5b
Merge pull request #2369 from dkuntz2/implement-launch-templates
Add basic endpoints for EC2 Launch Templates
2019-08-21 12:54:42 -07:00
acsbendi
3012740699 Fixed AssumedRole ARN. 2019-08-21 19:47:12 +02:00
acsbendi
6bdbd0dbc8 Fixed a broken test case and parameterized account ID in STS tests. 2019-08-21 13:17:58 +02:00
acsbendi
27fdbb7736 Derive ARN of AssumedRoles from its role ARN and session name. 2019-08-21 12:57:56 +02:00
Bendegúz Ács
24dcdb7453
Merge branch 'master' into get-caller-identity 2019-08-21 12:36:40 +02:00
acsbendi
d931204266 Implemented get-caller-identity returning real data depending on the access key used. 2019-08-21 12:20:35 +02:00
acsbendi
d9cb1f2d35 Implemented returning random assumed role ID. 2019-08-21 10:45:36 +02:00
Randy Westergren
ccceb70397
And event source mapping endpoints and SQS trigger support 2019-08-20 21:54:57 -04:00
Vury Leo
71241f1c3f
make linter happy 2019-08-20 15:17:17 +08:00
Vury Leo
1249ba8d3b
fix KeyCount in s3.list_objects_v2 2019-08-20 15:01:37 +08:00
Asher Foa
d669145b71 Filter certs by statuses. 2019-08-19 18:01:21 -07:00
Asher Foa
66a7ace2c5 Use the specified region name when generating ARN for a requested cert. 2019-08-19 17:30:30 -07:00
Mike Grima
94fd5c4128
Merge pull request #2363 from mikegrima/configauth
AWS Config Aggregator support
2019-08-19 16:24:27 -07:00
Don Kuntz
d2ce3a9e04
Flake8 fixes 2019-08-19 18:01:44 -05:00
Don Kuntz
4929298f1f
Test create_launch_template_version using launch_template id 2019-08-19 17:59:15 -05:00
Don Kuntz
a1aa087718
Add test for creating launch templates with TagSpecifications option 2019-08-19 17:58:19 -05:00
Don Kuntz
743e5be4d3
Confirm describe_launch_template_versions works with Versions, MinVersion, and MaxVersion options 2019-08-19 17:57:39 -05:00
Don Kuntz
154b4ef844
Simplify xml_serialize, warn when unknown type used 2019-08-19 17:54:35 -05:00
Mike Grima
188969a048 AWS Config Aggregator support
- Added support for the following APIs:
	- put_configuration_aggregator
	- describe_configuration_aggregators
	- delete_configuration_aggregator
	- put_aggregation_authorization
	- describe_aggregation_authorizations
	- delete_aggregation_authorization
2019-08-19 15:50:19 -07:00
Don Kuntz
ed82264806 Rework LaunchTemplateBackend to be keep only one copy of a template, and be ordered
The original LaunchTemplateBackend kept two copies of a template, one
for referencing it by name and one for referencing it by id. This change
switches to using one copy, by id, and adding a lookup dict for mapping
names to ids.

Additionally, to fix the python2 test ordering issues, the launch
template dict was changed to an OrderedDict.
2019-08-14 17:33:21 -05:00
Don Kuntz
5f80014332 Serialize unicode as string in python2 2019-08-14 17:33:21 -05:00
Don Kuntz
1de63b1691 Specify region in launch template tests 2019-08-14 16:32:01 -05:00
Mike Grima
c0c86be6ee
Merge pull request #2367 from earlrob/restore_key_id_to_kms_decrypt
restore KeyId to kms decrypt response
2019-08-14 14:25:52 -07:00
Don Kuntz
f939531ae9 Fun with whitespace (flake8 violation fixes) 2019-08-14 16:19:30 -05:00
Don Kuntz
aa3b6085d1 Add basic endpoints for EC2 Launch Templates
Specifically, add the CreateLaunchTemplate, CreateLaunchTemplateVersion,
DescribeLaunchTemplates, and DescribeLaunchTemplateVersions endpoints.
2019-08-14 16:11:07 -05:00
Earl Robinson
bbaff4b273 restore KeyId to test_decrypt in test_kms 2019-08-14 08:39:54 -04:00
Earl Robinson
5347a577da restore KeyId to kms decrypt response
regression introduced in #2071 "KMS generate_data_key"
2019-08-14 08:24:05 -04:00
Steve Pulec
9a3a99243f
Merge pull request #2365 from spulec/elb-cognito
Add cognito support to Elb
2019-08-12 16:10:26 -05:00
Steve Pulec
7b3846f6a1 Refactor Actions to be a real class. Add elb cognito. 2019-08-09 23:34:52 -05:00
Steve Pulec
a43228c5af Refactor validating ELB actions. 2019-08-09 10:15:56 -05:00
Mike Grima
aeacd3d0c4
Merge pull request #2354 from aksagrimada/ddb-invalid-escape-seq
Resolve invalid escape sequence
2019-08-07 15:14:41 -07:00
Mike Grima
2358433f74
Merge pull request #2359 from bkovacki/batch_submit_job_with_job_definition_name
Add option to call batch submit_job with job definition name only
2019-08-07 15:13:52 -07:00
Mike Grima
fa07d4973b
Merge pull request #2360 from ashleygould/issue_2355
[Resolves #2355] - create_organization(): add master account, default…
2019-08-07 15:11:48 -07:00
Mike Grima
bf769a7ce2
Merge pull request #2361 from bkovacki/get_log_events_pagination_support
Implement pagination support for GetLogEvents
2019-08-07 15:09:54 -07:00
Berislav Kovacki
5063ffc837 Implement pagination support for GetLogEvents
* Add nextForwardToken and nextBackwardToken to GetLogEvents response
* Handle end of stream by returning the same token as passed in
2019-08-07 17:37:53 +02:00
Ashley Gould
7d453fec9a [Resolves #2355] - create_organization(): add master account, default policy
Model: OrganizationsBackend
Method: create_organization

create_organization now creates master account, root ou, and a
default service control policy objects and adds them to the
OrganizationsBackend object.  the policy is attached to both
the master account and the root ou.  any subsiquently created
accounts or OU also have the default policy attached.
2019-08-06 16:52:31 -07:00
Berislav Kovacki
a35a55ec26 Add option to call batch submit_job with job definition name only
* Add option to call batch submit_job with job definition name only
* Fix bug which causes register_job_definition not to increment job
revision number after a second revision
2019-08-06 22:13:52 +02:00
brodie.gallinger
ec99a6b827 Existing user now raises a UsernameExistsException
If a user is attempted to be added to a pool that already contains a user with that username, the UsernameExistsException is thrown, to match AWS behaviour.
2019-08-06 13:51:00 -03:00
aksagrimada
a3794f2701
Resolve invalid escape sequence
When run not as a decorator dynamodb2 displays an invalid escape sequence error
/moto/dynamodb2/responses.py:603: DeprecationWarning: invalid escape sequence \s
  '\s*([=\+-])\s*', '\\1', update_expression)
2019-08-06 07:16:00 +01:00
Steve Pulec
40271d2c4e
Merge pull request #2352 from wndhydrnt/bugfix/ecs-time-as-timestamp
Convert fields createdAt and updatedAt of ECS deployment to timestamp
2019-08-05 21:33:47 -05:00
Steve Pulec
ff5ea29c3d
Merge pull request #2353 from bkovacki/add_new_s3_storage_classes
Add S3 support for INTELLIGENT_TIERING, GLACIER and DEEP_ARCHIVE storage
2019-08-05 21:32:21 -05:00
Berislav Kovacki
b7884ef903 Add S3 support for INTELLIGENT_TIERING, GLACIER and DEEP_ARCHIVE storage
* Add INTELLIGENT_TIERING, GLACIER and DEEP_ARCHIVE as valid storage
classes for objects
* Add ObjectNotInActiveTierError error on PUT object copy for GLACIER
and DEEP_ARCHIVE storage class objects
2019-08-05 17:34:39 +02:00
wndhydrnt
3c19f0a02d Convert fields createdAt and updatedAt of deployment to timestamp 2019-08-04 10:23:50 +02:00
Steve Pulec
9b535a7c75
Merge pull request #2345 from iisulop/fix_timezone_problem_in_test_create_cluster_boto3
Fix timezone problem in test create cluster boto3
2019-08-03 22:38:14 -05:00
Steve Pulec
0d28d51f90
Merge pull request #2350 from chichi1091/apigateway_apikey_update
implements APIGateway update_api_key
2019-08-03 22:35:13 -05:00