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
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
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
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
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
Chiharu Terashima
7fa5ce3dc3
implements APIGateway update_api_key
2019-08-03 01:28:47 +09:00
Iiro Sulopuisto
24bd99b5c4
Make cluster creation time UTC
2019-07-30 14:16:54 +03:00
Iiro Sulopuisto
8cca33dc42
Test redshift cluster creation time more thoroughly
2019-07-30 14:14:14 +03:00
Steve Pulec
e4a4e61835
Allow passing of encoding-type for s3 get_bucket_versions without throwing error.
...
This was a change made in https://github.com/boto/botocore/pull/1794 .
2019-07-29 22:52:29 -05:00
Steve Pulec
37978d79b3
Merge pull request #2338 from labd/add-ecs-list_tags_for_resource
...
Add ecs list tags for resource
2019-07-29 22:17:23 -05:00
Michael van Tellingen
64e2a74e8c
Add support for setting tags on ecs task definitions
...
This also implements the ecs.list_tags_for_resources, although the
resources it checks for are currently only the task definitions
2019-07-29 09:58:08 +02:00
Steve Pulec
69d86cbd54
Merge pull request #2300 from acsbendi/master
...
Basic IAM authentication, authorization
2019-07-28 17:22:52 -05:00
Steve Pulec
43e1ae7316
Merge pull request #2337 from labd/fix-ecs-task-definition-revisions
...
Use a dict instead of a list for storing task definition revisions
2019-07-28 16:56:29 -05:00
acsbendi
9edab5b423
Simplified the reset-auth API.
2019-07-28 22:23:33 +02:00
acsbendi
62b25f9914
Added a few more tests to achieve better coverage.
2019-07-28 22:19:50 +02:00
acsbendi
1969338a8a
Fixed set_initial_no_auth_action_count not working in server mode.
2019-07-27 00:12:28 +02:00
acsbendi
eb4a3ea90b
Added a section about IAM-like Access Control in README.
2019-07-26 21:46:15 +02:00
acsbendi
de70d1787c
Collected TODOs in the header of the access_control file.
2019-07-26 21:23:15 +02:00
acsbendi
f3f47d44ac
Fixed error in python 2 and did some refactoring.
2019-07-26 21:05:04 +02:00
acsbendi
140f4110ac
set_initial_no_auth_action_count should restore request_count.
2019-07-26 20:41:40 +02:00
acsbendi
cc843bb8c5
Created tests for IAM auth.
2019-07-26 20:40:15 +02:00
acsbendi
290f8f9fd5
Fixed host header not included in S3 requests sometimes.
2019-07-26 19:50:24 +02:00
Michael van Tellingen
feef7b2b5a
Use a dict instead of a list for storing task definition revisions
...
Before when a task definition revision was de-registered all revisions
after that changed their revision id. This doesn't match the way it is
handled in AWS. Using a hash and manually increment the revision id
solves that.
2019-07-26 12:55:05 +02:00
Steve Pulec
9346a999d8
Force minimum version of cfn-lint. Closes #2336 .
2019-07-25 21:29:56 -05:00
Jack Danger
348dc54e6a
Supporting tags in KMS ( #2332 )
...
The CreateKey API method accepts tags but does not return them.
2019-07-24 19:15:43 -07:00
acsbendi
3e1e273380
Fixed collecting policies from groups.
2019-07-24 21:41:33 +02:00
acsbendi
45a380a807
Fixed host not present in headers for S3 requests.
2019-07-24 21:29:00 +02:00
acsbendi
d428acdb7c
Separate SignatureDoesNotMatchError for S3.
2019-07-24 21:01:11 +02:00
acsbendi
d471eb69c0
For EC2 requests, AuthFailure should be raised instead of SignatureDoesNotMatch.
2019-07-24 19:47:39 +02:00
acsbendi
e22e8b5a67
set_initial_no_auth_action_count should also set request_count to 0.
2019-07-24 18:58:50 +02:00
acsbendi
15c872cffc
Created decorator for setting INITIAL_NO_AUTH_ACTION_COUNT.
2019-07-24 18:15:31 +02:00