martynaspaulikas
7189d019df
Implemented get_access_key_last_used
...
Written test that still does not work due to:
ParamValidationError: Parameter validation failed:
Unknown parameter in input: "UserName", must be one of: AccessKeyId
Refactored update_access_key and delete_access_key functions
2018-11-27 11:28:09 +00:00
grahamlyons
4de92accab
Fix existing tests which use list_stacks
...
The tests are expecting that deleted stacks are not listed when in
fact they should be.
2018-11-27 11:11:13 +00:00
grahamlyons
2d554cd098
Return the deleted stacks in the list stacks call
...
This matches the behaviour of the AWS API.
2018-11-26 23:58:41 +00:00
Jon Michaelchuck
009b02bcd5
Raise a client error if PutBucketTags request contains duplicate keys
...
A PutBucketTags request with duplicate keys will raise a ClientError
with code InvalidTag and message 'Cannot provide multiple Tags with the
same key'.
2018-11-26 15:56:46 -08:00
Ka Wai Wan
df2120f38c
Add instance protection support in autoscaling, with tests
2018-11-24 02:32:53 -08:00
Andrew McCall
4092657472
Added double toto_str/from_str, returned by emr create_cluster
2018-11-22 17:10:33 +00:00
Jon Michaelchuck
69e093fcea
flake8 indentation fix
2018-11-22 06:16:37 -06:00
Jon Michaelchuck
fb7e52becc
Check bucket name length at CreateBucket
...
Check that s3 bucket names follow the documented length restriction:
'Bucket names must be at least 3 and no more than 63 characters long.'
See https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html
2018-11-22 06:08:03 -06:00
Grégory Bataille
34ac5c72b9
feat( #1959 ): bucket in us-east-1 return None as LocationConstraint
2018-11-20 19:50:42 +01:00
Grégory Bataille
b0eb7b263e
test( #1959 ): us-east-1 located bucket should return a None LocationConstraint
2018-11-20 19:42:51 +01:00
Grégory Bataille
437eb892e2
feat( #1959 ): LocationConstraint us-east-1 is not accepted by the CreateBucket operation
2018-11-20 18:57:05 +01:00
Grégory Bataille
9291ff533a
test( #1959 ): LocationConstraint us-east-1 should be refused
2018-11-20 18:56:56 +01:00
Grégory Bataille
96f9896885
test( #1959 ): define dummy aws credentials for test
2018-11-20 18:56:49 +01:00
Tatsuya Hoshino
293b25a8f9
Add a missing trailing dot to the Name of ResourceRecordSet
...
AWS Route53 treats www.example.com (without a trailing dot)
and www.example.com. (with a trailing dot) as identical.
Hence, after creating a `www.example.com` record,
`www.example.com.` name is saved in Route53.
But moto treated `www.example.com` and `www.example.com.` as different.
This commit fixes the moto behavior.
2018-11-20 21:43:59 +09:00
Joe Engel
57fa11136b
Add functionalities for SAML Providers
2018-11-19 15:53:02 -08:00
Lorenz Hufnagel
cf5bd7665c
Mock AWS credentials
...
https://github.com/spulec/moto/issues/1924
2018-11-16 12:23:39 +01:00
Jon Miller
b5eb724773
Add default path to Role & InstanceProfile
2018-11-15 15:24:45 -08:00
Niko Eckerskorn
ed861ecae1
Loosen aws-xray-sdk requirements ( #1948 )
2018-11-15 07:29:05 +00:00
Mark Challoner
6e6f23a1b0
Set deleted status on vpc peer deletion.
2018-11-14 14:48:57 +00:00
Karl Gutwin
2ec32c80f7
Merge in functionality from #1899
2018-11-09 13:21:38 -05:00
Karl Gutwin
46c0f8915f
Fix flake8 failures (boo)
2018-11-09 09:32:19 -05:00
Karl Gutwin
770ad1db56
Correct behavior of ReturnValues parameter to put_item and update_item
2018-11-08 16:21:06 -05:00
Karl Gutwin
e7b01292e9
Fix test failures in server mode
2018-11-08 13:57:44 -05:00
Karl Gutwin
9d190aa04e
Tweak functionality and add tests
2018-11-08 13:22:24 -05:00
Karl Gutwin
ff6a57f443
Fix flake8 failures
2018-11-08 11:08:24 -05:00
Karl Gutwin
0f6086f708
Finalize implementation of DynamoDB Streams
2018-11-08 10:54:54 -05:00
Karl Gutwin
519899f74f
Much of the way towards complete DynamoDB Streams implementation
2018-11-07 17:10:00 -05:00
Karl Gutwin
0b57ffe26a
Add StreamSpecification to dynamodb2 package
2018-11-07 15:03:25 -05:00
Tomoya Iwata
e52158f811
Add support for IoT detach_policy
2018-11-06 17:15:30 +09:00
Justin Dray
4af9407ef4
Update to jose 3.x
2018-11-06 00:15:34 +00:00
adam davis
b66965e6e8
Adding cloudformation-validate. Cfn-lint does the heavy lifting.
2018-11-05 15:16:32 -08:00
Mike Grima
94b5438d76
Added IAM User signing certificate support
2018-11-05 13:15:44 -08:00
Mike Grima
6e17ba51c6
Fixed a truncation bug for list_user_policies
.
2018-11-05 09:24:28 -08:00
Mike Grima
b4b0ae5077
Some IAM fixes.
...
- Fixed InstanceProfiles having `Path` set to `None`.
- Added in some dynamic `CreateDate`s.
- Fixed missing Instance Profile ID's being sent over
2018-11-05 09:24:28 -08:00
Steve Pulec
90a62b5640
1.3.7
2018-11-04 17:30:44 -05:00
Steve Pulec
0fc00e2a3b
Merge pull request #1907 from lhufnagel/rebased_pr
...
Get all tests working with latest botocore
2018-11-04 17:26:57 -05:00
Pall Valmundsson
e9f8bec91a
Fix boto3 IAM test function names
2018-11-01 19:58:09 +00:00
Pall Valmundsson
67cb2e25bb
Support IAM Credential Report in boto3
...
Lowercase XML element names in API responses seem to cause issues for boto3.
2018-11-01 19:51:17 +00:00
jamesandres
e38eea751f
Go easier on the CPU when moto sqs is idle
...
For our local development setup we have found that moto is using around 25% CPU constantly. Digging in with gdb it turned out that it was burning that CPU in the sleeping loop. Here i'm increasing the sleep by 10x which brings the idle CPU usage down by 10x (to ~2%).
I'm not familiar enough with the moto/sqs codebase to know if lengthening this sleep will have an adverse effect; however, in other Python dev I've noticed that (in Python 2.7 anyway..) Python threading won't context switch a thread until a sleep of at least 0.01 seconds is performed (shockingly long!). So based on this guesswork I suspect sleeping for 0.01 seconds won't cause any grief.
2018-10-31 11:39:49 +00:00
Steve Pulec
a8bc7a608e
Lint.
2018-10-30 22:09:47 -04:00
Steve Pulec
75f2c56a36
Fix ecs error response to be json.
2018-10-30 22:03:16 -04:00
Tomoya Iwata
3d71a67794
Add some validations for IoT delete operations
...
fix #1908
2018-10-30 14:51:04 +09:00
Mark Challoner
a0708a70fc
Fix Tags parameter on CloudFormation create_change_set method.
2018-10-29 13:33:30 +00:00
Lorenz Hufnagel
b20e190995
Try to get tests running
2018-10-29 09:12:22 +01:00
Jordan Guymon
fd4e524855
Use env credentials for all tests
2018-10-29 09:12:22 +01:00
Jordan Guymon
8e909f580a
MockAWS implementation using botocore event hooks
2018-10-29 09:12:22 +01:00
George Alton
9ba28a05b8
avoids copying entire result into a new list
2018-10-28 11:00:47 +00:00
Tomoya Iwata
249dd7059e
add test case for IoT attach_policy
...
do nothing if policy have already attached to certificate
2018-10-28 17:13:17 +09:00
Jamie Starke
090cad8c88
[1009] Converts ECS Instance full arn to instance_id for storage
2018-10-26 21:54:01 -07:00
Illia Volochii
5ca68fbf06
Update jsondiff to 1.1.2
2018-10-26 22:12:26 +03:00