Robert Jensen
c7d3e1f8b6
Merge remote-tracking branch 'upstream/master' into feat/cognitoidp-add-update-identity-provider
2019-03-12 17:37:07 -04:00
Andy Tumelty
d53626ad9a
Add support for iam update_user
...
This covers both the NewPath and NewUserName parameters for update_user, but
without regex validation for these values.
2019-03-12 17:23:32 +00:00
Mike Grima
6ecb840c61
Merge pull request #2100 from gilbsgilbs/non-versioned-bucket-consitency
...
[S3] Support null version ids for buckets with versioning disabled
2019-03-11 14:13:26 -07:00
Mike Grima
53b94606de
Merge pull request #2103 from mikegrima/config
...
Fixed validation bugs in put_configuration_recorder
2019-03-11 13:58:54 -07:00
Mike Grima
87a54b9d81
Merge pull request #2077 from markchalloner/mark-route53-upsert-type
...
Check record type when upserting.
2019-03-11 13:50:37 -07:00
Mike Grima
6d67418c41
Fixed validation bugs in put_configuration_recorder
2019-03-11 13:25:36 -07:00
Gilbert Gilb's
dedb53371e
[S3] Support null version ids for buckets with versioning disabled
2019-03-09 10:21:49 +01:00
stephane soulier
fa3fd729d1
fix bug in Stream init (wrong number of shards)
2019-03-08 16:27:24 +01:00
Tay Frost
15b3ede3cc
Add test for case where ebs volume has no tags.
...
This commit adds a test for a case where an EBS volume has no tags. When
an EBS volume has no tags, calls to the aws ec2 endpoints `create_volume`
and `describe_volumes` do not include the `Tags` key in the
`response.Volumes[]` object.
However, moto does include the `Tags` key in this case. This discrepancy
in behaviour can result in code passing a moto test but failing in
production.
Sample snippets that trigger this condition:
```
def create_volume_and_then_get_tags_from_response():
client = boto3.client('ec2', region_name='us-east-1')
volume_response = client.create_volume(
Size=10,
AvailabilityZone='us-east-1a'
)
keys = volume_response['Keys']
```
```
def create_volume_and_then_get_tags_from_describe_volumes():
client = boto3.client('ec2', region_name='us-east-1')
volume_response = client.create_volume(
Size=10,
AvailabilityZone='us-east-1a'
)
volume_describe_response = client.describe_volumes()
keys = volume_describe_response['Volumes'][0]['Keys']
```
Both sample snippets will succeed in a moto test, but fail with a
`KeyError` when using the aws api.
2019-03-07 17:25:18 -05:00
Mike Grima
7eaf6bf595
Merge pull request #2062 from domtes/fix_copy_key_with_unicode
...
Fixing S3 copy_key error when using unicode.
2019-03-04 11:48:46 -08:00
Mike Grima
bc116ab750
Basic AWS Config service support.
2019-03-02 18:37:20 -08:00
Mark Challoner
d61ce0584b
Check record type when upserting.
...
Previously this was not checked so an existing record (e.g. with type A) would be overwritten on upsert by a record with the same name but different type (e.g. TXT).
This commit also:
* publicizes the type variable appending the underscore affix (required to maintain compatibility with CloudFormation which sets type as the CF type),
* fixes a wrong assumption in tests that UPSERT applies a change to Type (it creates a distinct record instead),
* Updates ACM model to use serial_number instead of deprecated and remove serial causing Travis failures.
2019-03-01 16:44:50 +00:00
Mike Grima
09855801ba
Merge pull request #2019 from acsbendi/launch_index
...
Correctly returning ami launch index
2019-02-25 12:16:40 -08:00
Mike Grima
3920f0e16b
Merge pull request #2060 from gregsterin/better-support-for-ddb-expressions
...
support a bit more of the dynamoDB ConditionExpression syntax
2019-02-25 10:03:02 -08:00
Berislav Kovacki
7e863b0260
Add attributes parameter support for sns create_topic API
2019-02-21 22:08:46 +01:00
William Rubel
e9d8021c86
Fixing list entities for policy
2019-02-18 21:20:29 -06:00
William Rubel
37845e41a6
Trying to improve coverage
2019-02-18 09:44:48 -06:00
William Rubel
c46bc9ae83
Trying to improve coverage
2019-02-18 09:15:07 -06:00
William Rubel
e229d248ad
Trying to improve coverage
2019-02-18 08:52:37 -06:00
William Rubel
8048e39dc0
Fix policy date
2019-02-17 22:32:39 -06:00
William Rubel
ce7b5ebf54
Fix policy date
2019-02-17 21:37:33 -06:00
William Rubel
37a765db8d
Fix policy date
2019-02-17 17:12:27 -06:00
William Rubel
0e73cddf2f
Add test for roles
2019-02-17 16:25:49 -06:00
William Rubel
6e7bd088b3
Add test for roles
2019-02-17 16:04:28 -06:00
William Rubel
31258e9e9e
Add test for roles
2019-02-17 15:23:59 -06:00
William Rubel
37cb5ab4e6
Add test for roles
2019-02-17 14:36:53 -06:00
William Rubel
921a993330
cleaning up files
2019-02-17 14:30:43 -06:00
William Rubel
e35d99ff09
Trying to improve coverage
2019-02-17 09:25:35 -06:00
William Rubel
8ad28f8400
Adding additional tests to increase coverage
2019-02-16 20:53:27 -06:00
William Rubel
5372e6840f
Increasing code coverage
2019-02-16 12:37:46 -06:00
Domenico Testa
6897a118ed
Fixing S3 copy_key error when using unicode.
2019-02-16 16:42:00 +01:00
William Rubel
4c6f08d463
Update kms and lambda to work with terraform
2019-02-16 09:27:23 -06:00
Greg Sterin
f035b9613d
support a bit more of the dynamoDB ConditionExpression syntax
2019-02-14 18:10:01 -08:00
John Corrales
a6f7f06c30
Merge branch 'master' into master
2019-02-11 17:51:18 -08:00
Mike Grima
94672799cf
Fixed a bug in get_account_authorization_details for attached managed policies.
...
Fixed a bug in the XML template for `get_account_authorization_details` where attached managed policies
were empty strings.
2019-02-07 17:32:31 -08:00
Mike Grima
f41c4e756f
Merge pull request #2041 from mikegrima/roletags
...
IAM Role Tagging support
2019-02-06 11:40:59 -08:00
Mike Grima
dfceab9bf0
Some fixes to get_account_authorization_details
2019-02-04 13:44:01 -08:00
Mike Grima
142fc65260
Merge pull request #2014 from garyd203/dynamodb-set-comparison
...
Make EQ conditions on sets work reliably in DynamoDB
2019-02-01 11:49:48 -08:00
Mike Grima
d652755f3b
Merge pull request #2032 from drmorr0/spot_fleet_tag_specifications
...
tag specifications for spot fleet requests
2019-02-01 11:47:36 -08:00
Mike Grima
8d17271ee4
Merge pull request #2028 from acsbendi/network-acl-fixes
...
Network ACL fixes
2019-02-01 11:46:25 -08:00
Mike Grima
1a36c0c377
IAM Role Tagging support
2019-01-31 17:37:26 -08:00
Robert C Jensen
73bd3e1c77
[cognitoidp] feat: add update_identity_provider
2019-01-24 20:39:55 -05:00
David Morrison
b4b63202d9
tag specifications for spot fleet requests
2019-01-24 11:38:07 -08:00
Mark Challoner
337601b5fb
Add CloudFormation methods delete_change_set, describe_change_set and list_change_sets.
2019-01-21 17:18:50 +00:00
acsbendi
68b8e6b636
Implemented adding default entries to default network ACLs.
2019-01-21 15:36:49 +01:00
acsbendi
3c5ce6c09e
Fixed new subnets associated with a network ACL from a different VPC.
2019-01-21 13:30:22 +01:00
Robert Lewis
570b73691b
Add requestid checking for autoscaling
2019-01-20 22:54:05 -08:00
Robert Lewis
acdb1c9768
Add requestid checking for sqs
2019-01-20 22:54:05 -08:00
acsbendi
6bd7e5941f
Added test case for running multiple instances in the same command.
2019-01-15 17:34:22 +01:00
John Corrales
5fb43ee7b6
Operations ( #4 )
...
Added stop, list operation results, and describe operation
2019-01-14 22:01:53 -08:00
Adrian Galera
75812eb838
Enable SES feedback via SNS
2019-01-11 13:22:33 +01:00
John Corrales
4207a8e182
Add stacksets ( #3 )
...
Added most stack set responses
2019-01-10 21:33:15 -08:00
Gary Donovan
0b15bb13b6
Make EQ conditions work reliably in DynamoDB.
...
The AWS API represents a set object as a list of values. Internally
moto also represents a set as a list. This means that when we do value
comparisons, the order of the values can cause a set equality test to
fail.
2019-01-10 21:39:12 +11:00
Steve Pulec
850496f29a
Merge pull request #2005 from fivepapertigers/feature/lambda-env-mapping
...
Lambda Cloudformation Env Variables
2019-01-06 17:22:52 -05:00
Steve Pulec
c2a1f4eb14
Fix S3 bucket location test.
2018-12-29 07:07:29 -05:00
Steve Pulec
1f9ade61c0
Fix iam SAML tests.
2018-12-29 06:47:16 -05:00
Jacob Grismo
4f7d6e15c9
adds failing test case for lambda cfm env vars
...
Adds a failing test case that shows that a Lambda function resource in a CloudFormation template ignores
the Environment variable mapping.
2018-12-28 22:16:07 -05:00
Steve Pulec
97d9d46770
Merge pull request #1999 from dargueta/s3-spooling
...
Don't store S3 entirely in memory
2018-12-28 21:29:19 -05:00
Steve Pulec
e8551988d9
Merge pull request #2000 from AlanAlexander-Janrain/master
...
Updating the list of urls the SSM moto will match to include china
2018-12-28 21:27:45 -05:00
Steve Pulec
d685a9f50a
Merge pull request #1892 from drewpearce/dynamodb-ne
...
Dynamodb ne
2018-12-28 21:23:01 -05:00
Steve Pulec
93f68090e3
Merge pull request #1989 from jrbeilke/bugfix-ec2_ami_is-public
...
Bugfix for filtering EC2 AMIs with is-public (values should be lowercase)
2018-12-28 21:22:28 -05:00
Steve Pulec
dec665be43
Merge pull request #1986 from okomestudio/ts/fix-s3-common-prefix-pagination
...
Activate proper pagination for S3 common prefixes
2018-12-28 21:22:07 -05:00
Steve Pulec
302744242a
Merge pull request #1983 from kawaiwanyelp/autoscaling-instance-protection
...
Add instance protection support in autoscaling, with tests
2018-12-28 21:18:41 -05:00
Steve Pulec
25595815e5
Merge pull request #1972 from surfaslt/implement-get-access-key-last-used
...
Implement get_access_key_last_used
2018-12-28 21:08:13 -05:00
Steve Pulec
5d172d9c97
Merge pull request #1969 from grahamlyons/list-deleted-cloudformation-stacks
...
Return the deleted stacks in the list stacks call
2018-12-28 21:07:06 -05:00
Steve Pulec
e681f55ba1
Merge branch 'master' into bucket-name-length-limit
2018-12-28 21:04:10 -05:00
Steve Pulec
860dfbbe11
Merge pull request #1960 from tatsuyafw/add-trailing-dot-to-resource-record
...
Add a trailing dot to the Name of Route53 ResourceRecordSet
2018-12-28 21:01:35 -05:00
Steve Pulec
65364a8e71
Merge pull request #1961 from gbataille/fix_1959_location_constraint_us_east_1
...
Fix 1959 location constraint us east 1
2018-12-28 21:00:29 -05:00
Steve Pulec
46bf7f0176
Merge branch 'master' into master
2018-12-28 20:57:47 -05:00
Steve Pulec
39c103ec0b
Merge branch 'master' into master
2018-12-28 20:49:24 -05:00
Steve Pulec
f155028d27
Merge pull request #1945 from markchalloner/vpc-peering-delete-fix
...
Set deleted status on vpc peer deletion.
2018-12-28 20:40:51 -05:00
Steve Pulec
8ba1a09c0d
Merge pull request #1921 from adamdavis40208/cloudformation-validate-spike
...
Adding cloudformation-validate. Cfn-lint does the heavy lifting.
2018-12-28 20:39:00 -05:00
Steve Pulec
f82d4bb619
Merge pull request #1938 from kgutwin/i-1937-dynamodb2-update-attributes
...
Correct behavior of ReturnValues parameter to put_item and update_item
2018-12-28 20:36:00 -05:00
Steve Pulec
48ee867245
Merge pull request #1935 from kgutwin/i-1875-dynamodb-streams
...
Support DynamoDB Streams
2018-12-28 20:30:58 -05:00
Steve Pulec
19bdf7de73
Merge pull request #1901 from cm-iwata/add_iot_attach_policy
...
Add support for IoT attach_policy
2018-12-28 20:17:31 -05:00
Steve Pulec
c8a35f0b02
Merge pull request #1920 from pall-valmundsson/iam_credential_report_boto3
...
Support IAM Credential Report in boto3
2018-12-28 20:04:59 -05:00
Steve Pulec
77bf143f80
Merge pull request #1906 from jrstarke/1009
...
Support full ARN in update_container_instance_state calls
2018-12-28 19:57:57 -05:00
Steve Pulec
643c498d01
Merge pull request #1911 from markchalloner/cf-create-change-sets-tags-fix
...
Fix Tags parameter on CloudFormation create_change_set method.
2018-12-28 19:55:36 -05:00
Steve Pulec
a62f15b537
Merge pull request #1730 from garyd203/cognitoidp-groups
...
Implement groups for cognito-idp
2018-12-28 19:53:53 -05:00
Steve Pulec
811197a9bb
Merge pull request #1913 from cm-iwata/add_iot_delete_validation
...
Fix #1908 add some validation for IoT delete operations
2018-12-28 19:52:24 -05:00
Steve Pulec
1244ce53e2
Merge pull request #1898 from sepulworld/zmw/refactor_multiple_secrets
...
Refactor to store multiple scrects, use uuid, tags support
2018-12-28 19:47:49 -05:00
Steve Pulec
bdb000b0e2
Merge pull request #1897 from georgealton/feature/add_max_results_and_next_token_to_cognito_lists
...
Adds limiting/pagination to cognitoidp list_* functions
2018-12-28 19:44:21 -05:00
Steve Pulec
745d46114f
Merge pull request #1887 from mikegrima/instanceprofiles
...
IAM Improvements
2018-12-28 19:30:20 -05:00
zane
08d17a7a13
adding Tags support
2018-12-21 14:04:52 -08:00
Diego Argueta
1998d59cfc
Add more tests to please Coveralls
2018-12-20 11:40:13 -08:00
Diego Argueta
191ad6d778
Make keys pickleable
2018-12-20 11:15:15 -08:00
Alan Alexander
36b0117eec
Updating the list of urls the SSM moto will match to include china
2018-12-19 15:02:36 -08:00
Diego Argueta
2cc8784e5c
Restore files modified in non-working fix.
2018-12-18 14:53:52 -08:00
Diego Argueta
b0a280bde2
Move S3 storage to SpooledTemporaryFile
2018-12-18 14:20:48 -08:00
Jon Beilke
a744adbcc5
AWS is case-sensitive when using is-public to filter for AMIs and expects lower-case values
2018-12-06 12:18:59 -06:00
Taro Sato
2038fa92be
Activate proper pagination for S3 common prefixes
2018-12-05 16:17:28 -08:00
martynaspaulikas
9418a6916d
Fix tests and functionality of get_access_key_last_used()
2018-11-27 16:12:41 +00:00
Craig Anderson
96ed66c08d
Add AllowedPattern to SSM describe_parameters response ( #1955 )
2018-11-27 15:31:56 +00:00
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
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
b0eb7b263e
test( #1959 ): us-east-1 located bucket should return a None LocationConstraint
2018-11-20 19:42:51 +01:00
Grégory Bataille
9291ff533a
test( #1959 ): LocationConstraint us-east-1 should be refused
2018-11-20 18:56:56 +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
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
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
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
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
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
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
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
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
zane
b485122ec6
refactor to store multiple scrects, use uuid
2018-10-25 15:16:40 -07:00
Tomoya Iwata
80f860727f
Add support for IoT attach_policy
2018-10-25 20:44:42 +09:00
George Alton
aa4be6fcad
Adds limiting/pagination to cognitoidp list_* functions
2018-10-24 15:56:20 +01:00
Drew Pearce
544050ab27
added tests for dynamodb not equals
2018-10-23 15:37:28 -04:00
Steve Pulec
71a054af92
Merge pull request #1882 from georgealton/add_keyId_support_to_get_usage_plans
...
Adds keyId support to apigateway get_usage_plans
2018-10-17 23:50:42 -04:00
George Alton
2d2708cfd7
Missing users now raise a UserNotFoundException
...
A missing user in a cognito user pool has raises a UserNotFoundException,
not a ResourceNotFoundException. This commit corrects the behaviour so
that the correct exception is raised
2018-10-17 18:39:52 +01:00
George Alton
d919024510
Adds keyId support to apigateway get_usage_plans
...
apigateway is able to filter the result set, returning only usage plans
with the given keyId.
This commit supports filtering the usage plans returned to the user by
filtering the list of usage plans by checking for usage plan keys
2018-10-17 13:44:00 +01:00
Steve Pulec
2aad36f984
Merge pull request #1880 from garyd203/cognitoidp-user-enabled
...
Be able to change `enabled` status for cognito-idp users
2018-10-16 23:24:44 -04:00
Gary Donovan
1b42c7bf7a
Be able to change enabled
status for cognito-idp users
2018-10-17 11:28:24 +11:00
Gary Donovan
ffa7560d02
Implement user-group relationships for cognito-idp
2018-10-17 11:19:33 +11:00
Gary Donovan
04fdd5617a
Implement group management for cognito-idp
2018-10-17 11:19:33 +11:00
Mike Grima
8ae1a2b357
Fixes for IAM Groups
2018-10-16 17:14:23 -07:00
Steve Pulec
fb5654a5dc
Merge pull request #1862 from dcosson/cognito_identity_fixes
...
Fixes for cognito identity library
2018-10-15 01:21:44 -04:00
Steve Pulec
dfc793916d
Merge pull request #1848 from ashb/expand-glue-catalog-mocking
...
Mock more of the Glue Data Catalog APIs
2018-10-15 01:14:03 -04:00
Steve Pulec
7b9bb15d28
Merge pull request #1756 from ferruvich/add_extra_attributes_in_token_payload
...
Add extra attributes in token payload
2018-10-15 01:02:07 -04:00
Steve Pulec
87e7c7df48
Merge pull request #1852 from jrbeilke/feature-AbortIncompleteMultipartUpload
...
Add support for NoncurrentVersionTransition, NoncurrentVersionExpiration, and AbortIncompleteMultipartUpload actions to S3 lifecycle rules
2018-10-15 01:00:03 -04:00
Steve Pulec
6d1491171a
Merge pull request #1727 from ashleygould/organizations_support
...
Organizations support
2018-10-15 00:58:26 -04:00
Steve Pulec
cb5bf5051b
Merge pull request #1859 from georgealton/master
...
Fixes #1857 Ensures a UserPool Id starts like {region}_
2018-10-15 00:08:49 -04:00
Steve Pulec
c8a083a066
Merge pull request #1846 from william-richard/log-event-ids-are-strings
...
Filter event log ids should be strings
2018-10-15 00:05:37 -04:00
Steve Pulec
5568950394
Merge pull request #1856 from jrbeilke/feature-schedule_key_deletion
...
Add support for disable_key, enable_key, cancel_key_deletion, schedule_key_deletion to KMS
2018-10-15 00:03:26 -04:00
Kosei Kitahara
13c2e69932
Allow extra spaces to attribute_exists and attribute_not_exists too
2018-10-12 16:59:52 +09:00
Kosei Kitahara
2c15d71c2c
Allow spaces to if_not_exists
2018-10-11 18:21:53 +09:00
Danny Cosson
9081a160d3
fixes for cognito identity library
2018-10-09 10:28:15 -07:00
Ashley Gould
7a88e634eb
organizations: add exception test for describe_organization endpoint
2018-10-08 15:27:19 -07:00
George Alton
d9577f9d3d
Ensures a UserPool Id starts like {region}_
2018-10-08 19:04:47 +01:00
Jon Beilke
c1ebec1b35
remove start_time from attrib comparison in test_copy_snapshot()
2018-10-08 10:17:51 -05:00
Jon Beilke
181e9690b8
need os for checking server mode env variable
2018-10-08 08:38:49 -05:00
Jon Beilke
c2595b2eef
cant manipulate time in server mode tests
2018-10-08 08:29:21 -05:00
Jon Beilke
76baab74ad
missing tzlocal
2018-10-06 01:33:02 -05:00
Jon Beilke
9b25d56a35
need datetime for tests since thats what boto3 returns and add default for PendingWindowInDays
2018-10-06 01:18:26 -05:00
Jon Beilke
59c233f431
avoid needing to import datetime and dealing with timezone vs naive datetimes in tests
2018-10-06 00:33:23 -05:00
Jon Beilke
21c8914efe
include pending days input for schedule key deletion and update tests since boto client returns DeletionDate as datetime
2018-10-06 00:13:47 -05:00
Jon Beilke
6277983e3f
missed some KeyMetadata and need to transform datetime for testing
2018-10-05 23:48:19 -05:00
Jon Beilke
f596069dab
use initial KeyMetadata for identifying keys in KMS tests
2018-10-05 23:35:34 -05:00
Jon Beilke
786b9ca519
need region for kms client
2018-10-05 22:17:48 -05:00
Jon Beilke
a29daf411b
fix invalid variables used in kms testing
2018-10-05 21:56:32 -05:00
Jon Beilke
7e96203020
add freezegun and test DeletionDate for chedule_key_deletion
2018-10-05 16:21:16 -05:00
Jon Beilke
60ec840eef
add disable_key, enable_key, cancel_key_deletion, and schedule_key_deletion actions to KMS endpoint
2018-10-05 15:55:47 -05:00
Jon Beilke
12e0a38b56
add TODO for testing exceptions with aimu and nve
2018-10-05 11:04:55 -05:00
Ash Berlin-Taylor
5783d66206
Mock more of the Glue Data Catalog APIs
...
This adds some of the missing Get/Update/Create APIs relating to the
Glue data catalog -- but not yet all of them, and none of the Batch* API
calls.
2018-10-03 15:34:38 +01:00
Jon Beilke
9b5f983cb5
add action validation to set_lifecycle()
2018-10-03 01:11:11 -05:00
Jon Beilke
ea4fcaa82a
add support for NoncurrentVersionTransition, NoncurrentVersionExpiration, and AbortIncompleteMultipartUpload actions to s3 lifecycle rules
2018-10-03 00:40:28 -05:00
William Richard
3afb2862c0
Filter event log ids should be strings
...
Based on the boto docs, eventId should be returned as a string.
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/logs.html#CloudWatchLogs.Client.filter_log_events
2018-10-01 17:11:36 -04:00
Ashley Gould
95700d6631
Merge remote-tracking branch 'spulec/moto/master' into organizations_support
2018-09-28 08:52:22 -07:00
Ashley Gould
05928b1497
[issue #1720 ] Add support for AWS Organizations
...
added exception handling in class OrganizationsBackend
2018-09-28 08:34:19 -07:00
Ashley Gould
40e422b74d
[issue #1720 ] Add support for AWS Organizations
...
ready for pull request
did a little cleanup refactoring
local tests pass
2018-09-28 08:34:19 -07:00
Ashley Gould
01912bdca7
organizations: fix python 2.7 test errors
2018-09-28 08:34:19 -07:00
Ashley Gould
8f400b7110
organizations: add endpoint list_chilren
2018-09-28 08:34:19 -07:00
Ashley Gould
30a9aa33e5
organizations: endpoint list_parents now support account_id param
...
refactered classes: FakeRoot inherits from FakeOrganizationsUnit
add root_id attribute to class FakeOrganization
dropped 'roots' attribute from class OrganizationaBackend
2018-09-28 08:34:18 -07:00
Ashley Gould
009dcdb21a
organizations: and another 2 endpoints:
...
list_accounts_for_parent
move_account
2018-09-28 08:34:18 -07:00
Ashley Gould
fc2447c6a4
organiziaions: 2 new endpoints:
...
list_organizational_units_for_parents
list_parents
2018-09-28 08:34:18 -07:00
Ashley Gould
beebb9abc8
organizations: add 2 more endpoints
...
create_organizational_unit
describe_organizational_unit
2018-09-28 08:34:18 -07:00
Ashley Gould
6c0c6148f1
organizations: add endpoint list_roots
2018-09-28 08:34:18 -07:00
Ashley Gould
c40d2be646
organizations: clean up for flake8
2018-09-28 08:34:18 -07:00
Ashley Gould
edbc57e00d
add support for AWS Organizations
...
endpoints covers so far:
- create_organization
- describe_organization
- create_account
- describe_account
- list_accounts
all tests passing.
could use some advise from maintaners.
2018-09-28 08:34:18 -07:00
Ferruvich
da76ea633b
Removed redundand line
2018-09-28 16:31:57 +02:00
Ferruvich
e69d2834e8
Removing failing test in order to check coverage and Travis test
2018-09-28 16:26:03 +02:00
Ferruvich
9adb7c818d
Added extra test
2018-09-28 16:26:03 +02:00
Ferruvich
ab8f4dd159
Testing new feature
2018-09-28 16:26:03 +02:00
Steve Pulec
2abbecee71
Merge pull request #1774 from chrisLeeTW/cloudwatch-sequenceToken-hotfix
...
nextSequenceToken that return by cloudwatch logs putLogEvents should be string, not int.
2018-09-22 17:16:53 -04:00
Steve Pulec
c035348ae4
Merge pull request #1759 from kgutwin/iam_get_policy
...
Implement IAM get_policy and correct policy version behavior
2018-09-22 16:59:07 -04:00
Steve Pulec
6aa753af6f
Merge pull request #1745 from cm-iwata/fix_upditem_with_emptystring
...
BugFix dynamodb2 update_item with empty string Fixes#1744
2018-09-22 16:57:10 -04:00
Steve Pulec
1d9c19de44
Merge pull request #1838 from jrbeilke/feature-CopyTagsToSnapshot
...
Update RDS/RDS2 to support CopyTagsToSnapshot and get tagging working with snapshots
2018-09-22 16:51:33 -04:00
Steve Pulec
0ab07bc482
Merge pull request #1763 from nate/fix/receive_message_wait_time_seconds
...
Force receive_message_wait_time_seconds to be int
2018-09-22 16:49:24 -04:00
Steve Pulec
6c8963b9a7
Merge pull request #1837 from ogckw/master
...
Fix #1830 Add support for cross-region VPC peering
2018-09-22 16:42:14 -04:00
Steve Pulec
693c677b87
Merge pull request #1687 from sthuber90/master
...
Fix ECR and bug fixes
2018-09-22 16:40:33 -04:00
Steve Pulec
ec2b278fc8
Merge pull request #1765 from nate/fix/double-create-queue-with-redrive-policy
...
Don't error on double create queue with same attrs
2018-09-22 16:36:35 -04:00
Steve Pulec
f071a9cf4f
Merge pull request #1768 from nimbis/ssm-backend-get-command-invocation-upstream
...
Ssm backend get command invocation upstream
2018-09-22 16:34:37 -04:00
Steve Pulec
7e95698adf
Merge pull request #1777 from madarve/master
...
ECS: Added schedulingStrategy support
2018-09-22 16:24:56 -04:00
Steve Pulec
2d978aa1c9
Merge pull request #1782 from NeilRoberts/Moto-1781_add_rotate_secret_to_secretsmanager
...
Issue# 1781 implement secretsmanager.RotateSecret
2018-09-22 16:21:31 -04:00
Steve Pulec
4bb4c96efa
Merge pull request #1821 from Jtupiter/multiple-delete-marker
...
Fix #1820 : Add support for multiple delete markers on an s3 object
2018-09-22 16:16:08 -04:00
Steve Pulec
f3cc02002c
Merge pull request #1751 from Destygo/topic/add_unknown_state_to_elb_unregistered_instances
...
Add support for unregistered instances in ELB DescribeInstancesHealth.
2018-09-22 16:11:31 -04:00
Steve Pulec
90de7fc0d2
Merge pull request #1789 from bpandola/fix-1778
...
Add `ClusterCreateTime` to Redshift response
2018-09-22 16:08:38 -04:00
Jon Beilke
7daee905a5
remove merge_taglists as AWS will only take submitted tags or tags from db but not both when creating snapshot
2018-09-21 13:28:13 -05:00
Jon Beilke
6eb490ac78
add support for tags to rds snapshots
2018-09-21 12:03:13 -05:00
Jon Beilke
276da06168
added new merge_taglists() to moto.core.utils for merging lists of tags with precedence (ie. during rds2.create_snapshot)
2018-09-21 10:39:42 -05:00
hans
cedb89dc3b
Fix #1830 Add support for cross-region VPC peering
...
Add a class level store in models/VPCBackend of ec2
for saving vpcs of all regions info. Any instance can correctly find vpc in another region
when connecting vpc of cross-region or vpc of same region.
Modify vpc_peering_connections in ec2/responses to handle
vpc peering of same region or cross region.
Update vpc_peering_connections response
template content to latest (2016-11-15) .
Add vpc cross region peering successful test case.
Add vpc cross region peering fail test case.
Related: https://github.com/spulec/moto/issues/1830
Reference
CreateVpcPeeringConnection Sample Response
https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVpcPeeringConnection.html
2018-09-21 23:29:04 +08:00
Jon Beilke
bf9b37142e
no need for [DBSnapshot] with list_tags_for_resource as the retuned snapshot already handles it
2018-09-21 08:49:45 -05:00
Jon Beilke
881afc8f4a
update RDS models to include CopyTagsToSnapshot
2018-09-21 08:31:31 -05:00
Stephan Huber
88596518f5
Merge remote-tracking branch 'upstream/master'
2018-09-12 11:48:19 +02:00
Jordan Upiter
756b5d6671
Add support for multiple delete markers on an s3 object
2018-09-11 10:41:01 -04:00
Ollie Ford
28aa5d34b0
Add failing test for #1809
2018-09-05 11:31:47 +01:00
Brian Pandola
c6f5e816cc
Add ClusterCreateTime
to Redshift response
...
Fixes #1778
2018-08-20 18:48:13 -07:00
chrisLeeTW
001a7d0278
type of json field - nextSequenceToken that return by cloudwatch logs putLogEvents should be string, not int.
2018-08-17 01:33:50 +08:00
Neil Roberts
6985f27167
Moto-1781: Add unit tests to verify that rotation is enabled.
...
- Add standalone unit test to verify that rotation is enabled and the
rotation interval is correct.
- Add server test to verify that rotation is enabled and the rotation
interval is correct. Commented out until nested dict error is sorted.
- Fix incorrectly asserted message strings.
2018-08-15 17:11:58 -07:00
Neil Roberts
71ed78141a
Moto-1781: Implement server unit tests.
...
*** Includes 2 commented out tests that generate errors pointing deeper
in the code. ***
2018-08-15 11:32:54 -07:00
Neil Roberts
4ced0ce0db
Opportunistic update to unit test for consistency.
2018-08-15 11:22:07 -07:00
Neil Roberts
b2997304b4
Moto-1781: Implement standalone unit tests to cover bad parameters.
2018-08-15 11:20:29 -07:00
Neil Roberts
43277a59b9
Moto-1781: finish implementation of rotate_secret and add happy test.
...
- Implement RotateSecret to support initial setup of secret rotation.
Moto's implementation of secrets is currently flat and needs to gain
some dimension before full rotation can be simulated.
- Add the happy path unit test.
2018-08-15 11:04:44 -07:00
Neil Roberts
69a78ba7c9
Moto-1781: Create initial stub of rotate_secret and tests.
2018-08-15 10:52:30 -07:00
Neil Roberts
0b0d16e8ec
Opportunistic update to unit test for consistency.
2018-08-15 10:33:38 -07:00
Neil Roberts
1f499971d1
Merge branch 'master' into add_describe_secret_to_secretsmanager
2018-08-14 11:01:47 -07:00
Neil Roberts
b2c672a074
Issue 1753: add server test for mismatched secret
2018-08-13 12:53:22 -07:00
Neil Roberts
85d3250b89
Issue 1753: add test for mismatched secret
2018-08-13 12:49:35 -07:00
Manuel Adarve
b75e78a3cd
ECS: Added schedulingStrategy support
...
Co-authored-by: Jonas Gratz <jgratz@newstore.com>
2018-08-13 18:30:05 +02:00
Neil Roberts
1f3256ed40
Issue 1770: Deal with the friendly name properly
...
- Save friendly name in create_secret.
- Reference the saved friendly name in responses that have "Name" field.
- Verify the received secret_id matches the current value. Don't just
test for an empty string.
- Add test for mismatched secret_id.
2018-08-10 16:40:31 -07:00
Mike Liu
1b1fc4c030
Support getting cloudformation targets for the SSM backend.
...
SendCommand allows filtering for instances by tags. This adds support
for filtering by a cloud formation stack resource when creating command
invocations.
2018-08-09 10:34:59 -04:00
Nathan Sutton
8393c7f20b
Don't error on double create queue with same attrs
...
Creating a queue a second time with the same attributes should not raise
an error. This change makes it work correctly.
2018-08-08 21:10:13 -05:00
Nathan Sutton
9d1c665310
Force receive_message_wait_time_seconds to be int
...
When a queue is created with the ReceiveMessageWaitTimeSeconds
attribute the value is never converted to an integer. When the
ReceiveMessage action is called it tries to compare the string
ReceiveMessageWaitTimeSeconds with the min and max wait times which
raises a TypeError.
The solution is to convert this value to an integer before comparing.
2018-08-08 19:14:56 -05:00
Steve Pulec
42d486f9b0
Merge pull request #1750 from TheDooner64/glue-data-catalog
...
Scaffolding for AWS Glue Data Catalog
2018-08-08 13:25:15 -04:00
Karl Gutwin
5ae5ae0efa
Correct deviation in behavior of policy versions from standard API
2018-08-07 17:24:15 -04:00
Karl Gutwin
9e667d6b25
Add get_policy IAM action
2018-08-07 16:59:15 -04:00
Will Bengtson
a420064621
IAM get account authorization details ( #1736 )
...
* start of get_account_authorization_details for iam
* add get_account_authorization_details dynamic template
* remove old commented out template
* Fix flake8 problems and add unit test
2018-08-07 10:31:36 -07:00
Neil Roberts
cce3a678aa
Implement secretsmanager.DescribeSecret and tests.
2018-08-06 14:40:33 -07:00
Benoît Faucon
5d7a432af2
Tests on Travis: specify region name.
2018-08-06 11:01:33 +02:00
Benoît Faucon
ae2e6fef63
Add support for unregistered instances in ELB DescribeInstancesHealth API.
2018-08-06 10:47:00 +02:00
TheDooner64
d988ee15fe
Add create_table, get_table, and get_tables for the Glue Data Catalog
2018-08-05 19:18:11 -04:00
TheDooner64
c5c57efbb5
Creating a database that already exists in the glue data catalog raises an exception
2018-08-05 19:18:11 -04:00
TheDooner64
e67a8c6f1b
Revert minor changes to s3 tests
2018-08-05 19:18:11 -04:00
TheDooner64
77f0a61c9f
Add scaffolding for Glue service, including create_database and get_database for the Glue Data Catalog
2018-08-05 19:18:11 -04:00
Tomoya Iwata
2fad7c7202
update dynamodb2 update_item
...
add empty string handle, fix(#1744 )
2018-08-02 12:38:50 +09:00
Mike Liu
12807bb6f0
Add get_command_invocation endpoint for AWS SSM.
...
Users can make send_command requests and then retrieve the invocations
of those commands with get_command_invocation. Getting a command
invocation by instance and command id is supported but only the
'aws:runShellScript' plugin name is supported and only one plugin in a
document is supported.
2018-07-25 14:51:16 -04:00
Gary Donovan
2e5e7e7f5e
Fix typo in test name ( #1729 )
2018-07-24 23:11:04 +01:00
Steve Pulec
a1d095c14b
Merge pull request #1721 from sepulworld/adding_secretsmanager_random_password
...
Added SecretsManager get_random_password mock
2018-07-19 11:13:24 -04:00
Steve Pulec
cc31f22bb5
Merge pull request #1723 from Comcast/create_policy
...
Adding account id to ManagedPolicy ARN
2018-07-19 10:55:22 -04:00
Steve Pulec
2c1aa8a63d
Merge pull request #1717 from fewstera/usage-plans
...
APIGateway: Added API for usage plans and usage plan keys
2018-07-19 10:40:14 -04:00
Steve Pulec
0309d1ec39
Merge pull request #1707 from Whamied/etag-no-quote-patch
...
Added support for multipart upload completion with unquoted etags
2018-07-19 10:05:07 -04:00
Steve Pulec
4c904e19c1
Merge pull request #1699 from chezclem/ECR-list-images-exception
...
ECR: list_images should return RepositoryNotFoundException when repository is not found
2018-07-19 09:43:29 -04:00
Steve Pulec
786ec0501e
Merge pull request #1692 from sanjeevsuresh/exception-when-missing-key
...
BugFix: Exception in ListObjectVersions with a Prefix that Returns an Empty Result Set
2018-07-19 09:41:44 -04:00
Steve Pulec
f3175118d1
Merge pull request #1600 from nimbis/extend-ssm-backend
...
Extend ssm backend
2018-07-19 08:44:30 -04:00
zane
6c7a22c7d7
Added get_random_password mock with tests
2018-07-18 00:27:53 -07:00
Nathan Mische
ff80ecb56d
Adding account id to ManagedPolicy ARN
2018-07-17 13:31:18 -04:00
Zane Williamson
ba1ceee95f
Adding create_secret, exception handle, fix ( #1680 )
2018-07-14 08:39:19 +01:00
Aidan Fewster
9bd6f0a725
APIGateway: Added usage plan keys API
2018-07-13 15:16:25 +01:00
Aidan Fewster
43e430560c
APIGateway: Added API for usage plans
2018-07-13 15:10:30 +01:00
Aidan Fewster
c20e8568e0
APIGateway - Generate API key value when no value provided ( #1713 )
2018-07-13 12:53:00 +01:00
temyers
c3b690114c
Add support for CloudFormation Fn::GetAtt to KMS Key ( #1681 )
2018-07-13 11:40:54 +01:00
Nate Peterson
dcdaca8984
parameters return from root path ( #1701 )
2018-07-13 10:24:11 +01:00
Michael Bell
51db19067c
Allow attributes to be set with subscribe command ( #1705 )
2018-07-13 10:21:33 +01:00
Gary Donovan
802402bdba
Tweak comparison to treat NULL/NOT_NULL correctly. ( #1709 )
...
The AWS documentation says that a ComparisonOperator of NULL means
the attribute should not exist, whereas NOT_NULL means that the
attribute should exist. It explicitly says that an attribute with a
value of NULL is considered to exist, which contradicts our previous
implementation. This affects both put_item and get_item in dynamodb2.
https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_Condition.html
2018-07-13 10:11:10 +01:00
Henadzi Tsaryk
46dd351965
Add ApproximateArrivalTimestamp and MillisBehindLatest to Kinesis get_records response ( #1715 )
...
* Add ApproximateArrivalTimestamp to Kinesis response
* Add MillisBehindLatest to Kinesis get_records response
2018-07-13 10:06:28 +01:00
Waleed Hamied
f8fdd439ad
Added support for multipart upload confirmation with unquoted etags
2018-07-03 15:36:41 -04:00
Stephan Huber
10f96b2ccf
next_token (pagination) added for list_thing_types
2018-06-28 12:59:08 +02:00
Stephan Huber
db3593575f
list_thing_types and list_things now uses pagination
2018-06-28 10:32:51 +02:00
Clément Huyghebaert
e32a640861
Fix for spulec/moto#1698 - ECR list_images missing RepositoryNotFoundException
2018-06-25 12:34:10 -04:00
Steve Pulec
bb6da93891
Merge pull request #1697 from spulec/ecs-tasks
...
Improve ECS update_service and describing tasks.
2018-06-24 20:39:16 -04:00
Steve Pulec
7c1fd0a2f1
Fix ECS update_service and describing tasks.
2018-06-24 20:13:39 -04:00
Sanjeev Suresh
2ebd5f7359
tests for prefixes that return empty result sets
2018-06-22 11:59:01 -07:00
Stephan Huber
ea3366be35
do not allow None as value of image_tags
2018-06-14 09:53:11 +02:00
Stephan Huber
cc799b55da
fixed spulec/moto#1684 and fixed spulec/moto#1685
2018-06-14 09:07:09 +02:00
Stephan Huber
6d12c83b89
Merge remote-tracking branch 'upstream/master'
2018-06-14 08:45:23 +02:00
Stephan Huber
3a355f126c
first steps undertaken to fix spulec/moto#1684 and spulec/moto#1685
2018-06-13 16:14:18 +02:00
Steve Pulec
38a4558925
Merge pull request #1677 from sepulworld/adding_secretmanager_support
...
[WIP] Adding secretmanager support
2018-06-10 20:57:49 -04:00
zane
b1a8ae8299
Updating tests
2018-06-09 23:42:33 -07:00
zane
8ee7a9495d
UPdate
2018-06-09 22:08:10 -07:00
Steve Pulec
0dfe55fde9
Merge pull request #1675 from william-richard/dynamodb-index-query-bug-fix
...
Make dynamodb table indexes a list
2018-06-08 18:46:41 -04:00
Steve Pulec
15bc8f5f95
Merge pull request #1563 from william-richard/target-group-cloudformation-name
...
Correctly generate resource name for target groups when using cloudformation
2018-06-08 18:29:20 -04:00
Steve Pulec
9fd933cc4c
Merge pull request #1671 from sthuber90/master
...
Fixes #1670
2018-06-08 18:10:36 -04:00
Steve Pulec
85be08de79
Merge pull request #1669 from fferrara/NEW-ecs-service-load-balancer
...
Extend support for ECS
2018-06-08 18:08:13 -04:00
Steve Pulec
db4c84c680
Merge pull request #1667 from iainb/enforce-message-size
...
SNS - Enforce 'Message too long' exception when publishing messages
2018-06-08 17:59:10 -04:00
Steve Pulec
b26d233820
Merge pull request #1565 from spulec/fix-1522
...
Fix security group rules for single rule case. Closes #1522 .
2018-06-08 17:58:30 -04:00
zane
c4abd98ed3
Adding server test for get_secret_value
2018-06-07 22:53:34 -07:00
zane
6e893ff055
Adding response, urls and test
2018-06-07 22:31:44 -07:00
Alec Rajeev
6c10dc0403
Fix Storage Class error handling ( #1653 )
...
Added check for valid storage classes in set_key and copy_key
added unit test for standard storage and infrequent access
2018-06-07 08:09:36 +01:00
William Richard
014fbbb8cb
Added a test that queries an index when created via the table resource update
...
When you create an index via the table resource update, in python 3.6, it is saved as a `dict_value`,
which causes an error - this test replicates this bug
2018-06-06 12:51:51 -04:00
William Richard
25b5f03ea4
These tests do not use pytest
2018-06-06 12:09:09 -04:00
William Richard
eb018c01a5
Handle edge case where you can end up with double dashes in target group names
2018-06-06 11:57:42 -04:00
William Richard
81381cd035
Correctly generate resource name for target groups when using cloudformation
...
They need to have less than 32 character names, so when you don't specify a name
cloudformation generates a name that is less than 32 characters.
And make sure that flake8 passes
2018-06-06 11:07:14 -04:00
Flavio Ferrara
5298b221b5
Add support for creating ECS services with Load Balancer
2018-06-06 09:50:03 +01:00
Stephan Huber
e118a678a6
Merge remote-tracking branch 'original/master'
2018-06-06 09:57:12 +02:00
Stephan Huber
821cd5376d
return thingArn when using list_things
2018-06-04 15:58:08 +02:00
Iain Bullard
cd4dd3cfbf
SNS - Enforce 'Message too long' exception when publishing messages
2018-06-04 13:38:58 +00:00
hsuhans
d9a4501d24
Change SNS http header to actual setting
2018-06-02 06:18:27 +08:00
Steve Pulec
0f816566df
Merge pull request #1634 from sthuber90/master
...
Fixes #1624 and closes #1633
2018-06-01 07:31:15 -04:00
Steve Pulec
1689a2808f
Fix creating SQS queue with same attributes. Closes #1663 .
2018-05-31 23:05:50 -04:00
Steve Pulec
cd59167fce
Merge pull request #1658 from tmwong2003/catch-missing-exports-in-import-value
...
Fixed CF creation to trap imports of non-existent values
2018-05-31 20:42:15 -04:00
Theodore Wong
76c69c0dc5
Added region parameter to boto3 calls
2018-05-31 16:31:04 -07:00
Steve Pulec
23b51c39a1
Merge pull request #1585 from bpandola/fix-1569
...
Fix rds.describe_db_snapshots bugs
2018-05-30 23:10:20 -04:00
Steve Pulec
96aba00242
Add freeze_time for ebs test.
2018-05-30 20:39:37 -04:00
Steve Pulec
919c0c9b04
Merge pull request #1656 from Birne94/sqs-message-group-id
...
Add MessageGroupId support to SQS queues (fixes #1655 )
2018-05-30 20:36:53 -04:00
Steve Pulec
4198abfd24
Merge pull request #1617 from jbergknoff-rival/jbergknoff/cognito
...
Implement some of cognito-idp
2018-05-30 20:23:11 -04:00
Theodore Wong
da8bd545bf
Fixed CF creation to trap imports of non-existent values
2018-05-30 11:59:25 -07:00
Steve Pulec
b6909ff64c
Merge pull request #1654 from Birne94/sns-raw-message-delivery
...
Add RawMessageDelivery for SNS subscriptions (fixes #1571 )
2018-05-30 09:46:59 -04:00
Daniel Birnstiel
9b8e62e1f1
Add MessageGroupId support to SQS queues ( fixes #1655 )
2018-05-30 15:29:57 +02:00
Daniel Birnstiel
222cb1535c
Add RawMessageDelivery for SNS subscriptions ( fixes #1571 )
2018-05-30 09:30:18 +02:00
Steve Pulec
0b2602db27
Merge pull request #1641 from cpitchford/bugfix_events_put_permission_action_filter
...
Bugfix events put permission action filter
2018-05-29 22:32:49 -04:00
Steve Pulec
320056e0c4
Merge pull request #1639 from cpitchford/cpitchford/events_describe_event_bus_policy_json_string
...
Bugfix: describe_event_bus()['Policy'] should be JSON string, not object
2018-05-29 22:31:27 -04:00
Steve Pulec
e1c445ad3c
Merge pull request #1627 from MauPalantir/support-nested
...
Support assignment of nested attributes if only the topmost value exists
2018-05-29 22:28:27 -04:00
Steve Pulec
bcefcdb090
Merge pull request #1636 from sepulworld/adding_address_reallocate_support
...
Adding Address reallocate capability for EIP
2018-05-29 22:25:16 -04:00
Steve Pulec
69587c151c
Merge branch 'master' into bugfix/1615-cloudwatch-statistics
2018-05-29 22:19:25 -04:00
Steve Pulec
3df3b5b963
Merge pull request #1623 from bclodius/master
...
Fixes #1608
2018-05-29 22:10:39 -04:00
Steve Pulec
bc1bdd7ae1
Merge pull request #1586 from DHager/accept_non_json_redrive_policy
...
Fix Cloudformation not accepting non-JSON SQS redrive policy
2018-05-29 22:07:00 -04:00
Steve Pulec
c2b264d593
Merge pull request #1593 from fujimotos/sf/describe-log-groups
...
Implement describe_log_groups() method for CloudWatchLogs
2018-05-29 22:04:54 -04:00
Steve Pulec
9b8295c868
Merge pull request #1611 from thehesiod/fix-copy-source-query
...
fix for issue 1610
2018-05-29 21:59:17 -04:00
Steve Pulec
11b2073b87
Merge pull request #1597 from bpandola/fix-1506
...
Add support for Redshift.Waiter.ClusterRestored
2018-05-29 21:48:47 -04:00
Steve Pulec
ffde404f2a
Merge pull request #1620 from benjolitz/patch-1
...
Allow dashes, underscores in SNS topic creates for first/last characters
2018-05-29 21:47:26 -04:00
cpitchford
b6e795ce61
Testing using fully qualified Action events:PutEvents
...
The Action parameter to put_permission must be fully qualified as events:PutEvents as per:
http://boto3.readthedocs.io/en/latest/reference/services/events.html#CloudWatchEvents.Client.put_permission
2018-05-15 18:30:30 +01:00
cpitchford
e85106c708
describe_event_bus returns json, not dict
...
Correct the assumption that describe_event_bus()['Policy'] is a dict
As per
http://boto3.readthedocs.io/en/latest/reference/services/events.html#CloudWatchEvents.Client.describe_event_bus
It should be a JSON encoded string
Here we decode the JSON before we look inside the policy
2018-05-15 17:04:59 +01:00
Mau Zsófia Ábrahám
64fc0d3556
add region for test
2018-05-14 14:16:39 +02:00
Mau Zsófia Ábrahám
2e75d0219c
Support dynamodb2 nested map creation to mirror actual db
2018-05-14 14:02:14 +02:00
zane
12188733b7
adding Address reallocate capability for EIP
2018-05-10 23:39:19 -07:00
Stephan Huber
4b4ce5acde
Added create_job and describe_job to aws iot mock
2018-05-09 09:22:12 +02:00
Stephan Huber
ecbaf76413
Fixes #1624
2018-05-09 09:20:48 +02:00
jbergknoff-10e
e111cd1ff9
Implement some of cognito-idp
2018-05-07 09:38:04 -05:00
bclodius
1a0a951b06
Fixes #1608
2018-05-05 15:22:29 -04:00
Ben Jolitz
45b529fef4
parameterize topic name create/delete
2018-05-04 19:17:56 -07:00
Ben Jolitz
d21c387eb6
Support optional Source, parse from header
...
The Email ``from`` header is either formatted as ``name <address>`` or ``address``.
This commit will use `parseaddr` to extract a ``(name, address)`` tuple, which we will use the ``address`` to check if it's verified.
Also support the case where ``Source`` is omitted (which AWS requires the ``from`` header to be set).
2018-05-04 18:58:52 -07:00
Barry O'Neill
9e7b86faef
Issue 1615 - missing Value should not kill put_metric_data
2018-05-03 19:47:36 -04:00
Alexander Mohr
07540a35fe
add unittest
2018-05-03 02:30:29 -07:00
Alex Casalboni
cb364eedc6
Implement SSM Parameter Store filters support (GetParametersByPath API) ( #1604 )
...
* added tests for SSM Parameter Store filters (GetParametersByPath - ParameterStringFilter)
* implemented SSM Parameter Store filters support (only for get_parameters_by_path API)
* adding myself to authors file
2018-04-30 11:02:46 -07:00
wblackconv
ba2ea8e1b3
Add tests for message attribute validation in SNS ( #1582 )
...
* Add tests for message attribute validation in SNS
Fixes up bug in return value of
moto.sns.responses.SNSResponse._parse_message_attributes due to
accidental recycling of a variable.
* Fix test_sns.test_publish_to_http in py36 env
Http response is encoded as a byte string which json.loads can't handle.
2018-04-27 15:10:30 -07:00
Mike Liu
a0882316ec
Tests for ListCommands SSM API endpoint.
...
Test that ListCommands returns commands sent by SendCommand as well as
filters by CommandId and InstanceId. In addition update the SendCommand
test for optional parameters.
2018-04-25 16:27:07 -04:00
Brian Pandola
e1d9c2878f
Add support for Redshift.Waiter.ClusterRestored
...
* Add `restored_from_snapshot` boolean to Cluster metadata.
* Return `RestoreStatus` from describe_db_clusters if cluster was restored from a snapshot.
Fixes #1506
2018-04-24 17:30:17 -07:00
Iain Bullard
fad4394474
SQS add missing validation to ReceiveMessage ( #1595 )
...
* SQS receive_message - enforce bounds on MaxNumberOfMessages as AWS does
* SQS receive_message - enforce bounds on WaitTimeSeconds as AWS does
2018-04-24 09:51:49 -07:00
Fujimoto Seiji
ac016a7bb3
Implement describe_log_groups() method for CloudWatchLogs
...
This patch teaches `LogsResponse` class how to handle the DescribeLogGroups
request, so that we can mock out the `boto.describe_log_groups()` call.
With this change in place, we can write as below:
@mock_logs
def test_log_group():
conn = boto3.client('logs', 'us-west-2')
some_method_to_init_log_groups()
resp = conn.describe_log_groups(logGroupNamePrefix='myapp')
assert ...
This should be fairly useful for a number of programs which handles
CloudWatchLogs.
Signed-off-by: Fujimoto Seiji <fujimoto@clear-code.com>
2018-04-24 18:38:51 +09:00
Tom Elliff
21a264c337
Default TimeoutSeconds to 1 hour ( #1592 )
...
TimeoutSeconds isn't a required field so we can't rely on it being there.
Quick tests against the AWS API show that when it's not specified the ExpiresAfter field seems to be 1 hour after the request.
2018-04-23 11:41:54 -07:00
Darien Hager
4a275ccf95
Add failing unit-test (errors treating dict as json string)
2018-04-19 23:24:27 -07:00
Brian Pandola
37d6388640
Fix rds.describe_db_snapshots bugs
...
* Correctly return all snapshots for a given DBInstanceIdentifier.
* If an invalid DBInstanceIdentifier is passed in, return an empty array
instead of raising a ClientError (which is what AWS actually does).
Fixes #1569
2018-04-19 20:21:27 -07:00
Darien Hager
6332ed9df9
Add test that certain FIFO-queue attributes flow through from sender to receiver
2018-04-19 00:16:03 -07:00
Steve Pulec
8fa4c64c15
Merge pull request #1473 from Logicworks/feature/ebs-copy-snapshot
...
Add support for copying EBS snapshots
2018-04-18 22:51:54 -04:00
Steve Pulec
311966e28d
Add IAMDatabaseAuthenticationEnabled and DbiResourceId to RDS response. Closes #1465 .
2018-04-18 22:47:02 -04:00
Steve Pulec
f37bae5b57
Merge pull request #1574 from wblackconv/add-msg-attributes
...
Include SNS message attributes with message body when delivering to SQS.
2018-04-18 21:19:21 -04:00
wblack
0b36f06df1
Fixes for linter warnings
2018-04-18 13:42:36 +00:00
wblack
f401c60825
Include SNS message attributes with message body when delivering to SQS.
2018-04-18 13:42:36 +00:00
Akito Nozaki
ba3c9db8a7
Fixing create_key_and_certificate boolean parameter ( #1572 )
2018-04-17 11:32:39 -07:00
Phil Christensen
ae2650ffc7
copy snapshot unit test
2018-04-15 17:08:54 -04:00
Steve Pulec
783504c897
We shouldnt throw a ValidationException on empty dynamodb key. Closes #1505 .
2018-04-14 11:16:43 -04:00
Steve Pulec
af8697c9a7
Fix security group rules for single rule case. Closes #1522 .
2018-04-13 15:03:07 -04:00
Steve Pulec
f38378d7ec
Revert "Add back ACM tests."
...
This reverts commit d11ecdddde
.
2018-04-13 10:37:06 -04:00
Steve Pulec
d11ecdddde
Add back ACM tests.
2018-04-13 10:16:13 -04:00
Steve Pulec
5f840aadcc
Merge pull request #1545 from haidaraM/fixApiKeyIdentification
...
Fix ApiGateway key identification
2018-04-12 18:58:47 -04:00
Steve Pulec
963e28ecca
Merge pull request #1548 from brcoding/master
...
Created Cognito-Identity with partial coverage and unit tests
2018-04-12 18:55:13 -04:00
Steve Pulec
080e3c5f5d
Merge pull request #1537 from william-richard/cloudformation-ecs-cluster-name-optional
...
If Properies isn't set, cloudformation will just use default values
2018-04-12 18:52:16 -04:00
Steve Pulec
1083b5bda1
Merge pull request #1549 from secretescapes/master
...
Fix AttributeError in filter_log_events
2018-04-12 18:49:54 -04:00
Steve Pulec
ad9f5c2ae6
Merge pull request #1550 from tomelliff/tag-snapshot-on-creation
...
Allow tagging snapshots on creation
2018-04-12 18:49:15 -04:00
Steve Pulec
97708fdbed
Merge pull request #1551 from william-richard/add-physical-resource-id-to-ecs-task-definition
...
Add physical_resource_id to ECS task definition
2018-04-12 18:48:43 -04:00
Steve Pulec
9398f03cdc
Merge pull request #1559 from sawandas/master
...
Issue #1539 : support more dynamoDb query filters
2018-04-12 18:45:58 -04:00
William Richard
1f46543ae2
ECS CPU, memory hard limits and host ports are all optional.
...
http://boto3.readthedocs.io/en/latest/reference/services/ecs.html#ECS.Client.register_task_definition
2018-04-11 17:20:58 -04:00
sawandas
861c47a552
Update test cases for dynamodb contains filter
2018-04-09 13:42:50 +05:30
Steve Pulec
cd1c6d3e6c
Unvendor responses, move back to upstream.
2018-04-05 16:57:43 -04:00
William Richard
4636a2afc3
Add physical_resource_id to ECS task definition
2018-04-04 15:15:22 -04:00
Tom Elliff
e2af8bc836
Allow tagging snapshots on creation
...
Largely copying what was done for volume creation in https://github.com/spulec/moto/pull/1432
2018-04-04 17:46:51 +01:00
Josh Prendergast
ca72707409
Fix AttributeError in filter_log_events
...
An AttributeError would be thrown if the `interleaved` parameter was
passed.
2018-04-04 17:24:41 +01:00
Barry
f5f64be45b
Added comment
2018-04-04 00:28:39 -07:00
Barry Ruffner
b86b464210
fix for an expiration test.
2018-04-03 17:22:21 -07:00
Barry Ruffner
383b0c1c36
Made some corrections to the developer identity response and added checks to add coverage.
2018-04-03 17:05:36 -07:00
Barry Ruffner
229d453b99
Made some changes for server testing and added another get_id test.
2018-04-03 16:27:30 -07:00
Barry Ruffner
2455de8282
Added a print.
2018-04-03 14:08:20 -07:00
Barry Ruffner
1046ee5041
Added object to parsing and test server test for cognito.
2018-04-03 13:38:24 -07:00
Barry Ruffner
83f4419d03
Added create_identity_pool and cleaned up test data.
2018-04-03 11:38:59 -07:00
Mike Grima
4184acc0d2
Added Filtering support for S3 lifecycle ( #1535 )
...
* Added Filtering support for S3 lifecycle
Also added `ExpiredObjectDeleteMarker`.
closes #1533
closes #1479
* Result set no longer contains "Prefix" if "Filter" is set.
2018-04-02 14:19:14 -07:00
Mohamed El Mouctar HAIDARA
dcd290c3c3
Fix ApiGateway key identification
...
API Gateway keys are identified by their ids and not their values
- https://docs.aws.amazon.com/cli/latest/reference/apigateway/get-api-key.html#examples
- http://boto3.readthedocs.io/en/latest/reference/services/apigateway.html#APIGateway.Client.get_api_key
2018-03-30 15:09:02 +02:00
Barry Ruffner
f4f79b2a8e
Added basic cognitoidentity (not working)
2018-03-28 12:40:42 -07:00
William Richard
0ed388b4b8
If Properies isn't set, cloudformation will just use default values
2018-03-26 14:15:16 -04:00
Alexander Mohr
941d817da4
fix lambda endpoint parsing ( #1395 )
...
* fix endpoint parsing
* add new unittest
* finish test
2018-03-21 22:14:10 -07:00
Kevin Ford
2faffc96de
Use 'data' attribute of Flask Request object. ( #1117 )
...
* Flask Request object does not have a 'body' attribute, changed to 'data'
* Making moto 'glaciar' more aws 'glaciar' like.
* Making moto 'glacier' more aws 'glacier' like.
* Fixing Travis errors?
* OK, check if object has proper attribute because HTTPrettyRequest has no data attribute and Python Requests has no body attribute.
* Output to match test expectation; sleep for 60 seconds to mimic actual wait time.
* Amending test_describe_job to reflect changes.
* Shorten time from 1 minute to seconds.
* Shorten sleep time in test. Forgot about the test.
2018-03-21 22:13:09 -07:00
Colin Jones
1a8a4a084d
S3 Ignore Subdomain for Bucketname Flag ( #1419 )
...
* Some circumstances need subdomains to be ignored rather that interpreted as bucketname, this patch allows such behaviour to be configured
* Adding helper case whereby localstack features as path based exception
* Remove whitespace :(
2018-03-21 09:33:09 -07:00
Ben Jones
c13f77173f
add UsePreviousValue support for parameters when updating a CloudFormation stack ( #1504 )
2018-03-21 09:13:05 -07:00
Javier Buzzi
d55ff20685
Basic support for AWS Gateway apikeys ( #1494 )
...
* Basic support for AWS Gateway apikeys
* Adds missing -- much needed tests
* Fixes issue with master merge
* Fixes linter
* Fixes tests
2018-03-21 09:11:49 -07:00
Mike Grima
cc14114afe
Implemented S3 get/put_notification_configuration ( #1516 )
...
closes #973
2018-03-21 09:11:24 -07:00
Rob Walker
4b3469292a
Enable Extended CIDR Associations on VPC ( #1511 )
...
* Enable Extended CIDR Associations on VPC
* Ooops missed the utils, try to be more flakey?, remove unnecessary part in tests
* try to be even more flakey
2018-03-21 09:10:38 -07:00
Loukas Leontopoulos
b7ae704ad2
Add opsworks app mocks ( #1481 )
...
* Add implementation for OpsWorks create_app and describe_apps
* Fix the name of the test
* Add some more exception tests
2018-03-21 09:05:57 -07:00
keirbadger
fecdf388c2
Add in filtering of EBS volumes on availability-zone ( #1468 )
2018-03-21 08:58:32 -07: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
ramox-
508b392697
Make putparameter behave more like the real endpoint does, respond with Version or ParameterAlreadyExists ( #1464 )
2018-03-21 08:56:57 -07:00
Graham Lyons
5d51329c34
Don't create volumes for AMIs ( #1456 )
...
* Delete the volume used during AMI creation
Creating an AMI doesn't actually result in the creation of an EBS
volume, although the associated snapshot does reference one. To that
end, delete the volume once we've used it.
* Add `owner_id` to `Snapshot`, verify AMI snapshots
The default AMIs which are created by moto have EBS volume mappings
but the snapshots associated with those don't have the correct
owners set.
This adds the owner to the snapshot model and passes it through from
the JSON data.
2018-03-21 08:55:58 -07:00
Toshiya Kawasaki
39e9379195
Fix cloudwatch logs' response error ( #1426 )
2018-03-21 08:55:03 -07:00
Iain Bullard
d3d9557d49
Implement basic SNS message filtering ( #1521 )
...
* Add support for FilterPolicy to sns subscription set_filter_attributes
* Add basic support for sns message filtering
This adds support for exact string value matching along with AND/OR
logic as described here:
https://docs.aws.amazon.com/sns/latest/dg/message-filtering.html
It does not provide support for:
- Anything-but string matching
- Prefix string matching
- Numeric Value Matching
The above filter policies (if configured) will not match messages.
2018-03-21 08:49:11 -07:00
Iain Bullard
6dce7dcb18
Improve SQS Compatibility with AWS ( #1520 )
...
* Return correct error code when fetching a queue that does not exist
* Improve SQS Queue get and set attributes
* Queue creation and set_attributes uses the same code path
- ensure bool/int values are cast correctly
* RedrivePolicy is handled properly with set_attributes
- _setup_dlq is called
- is json decoded, so that returned RedrivePolicy is not json
encoded twice
* As per AWS not all attributes are returned when they are not set, for
example RedrivePolicy, FifoQueue, Policy, Kms*
* WaitTimeSeconds is not a queue attribute switch to
ReceiveMessageWaitTimeSeconds
2018-03-21 08:48:08 -07:00
Jim Shields
baedbfa8ca
Fix test_suspend_processes
...
* Add `region_name` to the client to be consistent with other tests
* Add `VPCZoneIdentifier` to the ASG creation (AZ or VPC is required)
* Add myself as a contributor
2018-03-09 18:00:23 -05:00
Jim Shields
bfeea00774
Fix #1370 : Implement suspend_processes in AutoScaling service
2018-03-09 16:55:30 -05:00
Steve Pulec
4997694fd6
Merge pull request #1488 from andharris/iam-roles
...
add iam roles to redshift
2018-03-07 09:28:26 -05:00
Steve Pulec
d37c355bd3
Merge pull request #1484 from derwolfe/ssm-send-command
...
Add support for SSM send_command
2018-03-07 07:37:44 -05:00
Steve Pulec
b3468b9ebf
Merge pull request #1480 from lleontop/opsworks_increase_coverage
...
Add more exception tests for opsworks
2018-03-07 07:09:47 -05:00
Steve Pulec
0414cc51c1
Merge pull request #1499 from srikiraju/fix/s3-list-deleted
...
S3: Do not attempt to return deleted files in bucket listing
2018-03-07 07:08:07 -05:00
Steve Pulec
1a299ffbfc
Merge pull request #1364 from terrycain/bug_1358
...
Adds if_not_exists function to DynamoDB Update Expression
2018-03-06 22:46:11 -05:00
Steve Pulec
6668a6e17f
Merge pull request #1381 from koxudaxi/fix_MaxRecords_on_describe_db_instances
...
cast MaxRecords to int on describe_db_instances
2018-03-06 22:45:28 -05:00
Steve Pulec
9e0b8da6cb
Merge pull request #1413 from captainkerk/autoscaling-subnet-or-az-is-required
...
AWS API raises an exception if both AZ and VPCZoneIdentifier params a…
2018-03-06 22:42:49 -05:00
Steve Pulec
47ec9bcdc8
Merge pull request #1418 from stillwaiting/sns-do-not-duplicate-subscriptions
...
SNS: do not duplicate subscriptions
2018-03-06 22:40:22 -05:00
Steve Pulec
1dd21d6cd6
Merge pull request #1442 from JackDanger/jack/importing-sure-in-tests-that-require-it
...
importing sure in tests that require it
2018-03-06 22:38:10 -05:00
Steve Pulec
de6ded5aab
Merge pull request #1422 from godfried/fix-cloudwatch-value
...
Change name of 'state' attribute of 'FakeAlarm' CloudWatch model to '…
2018-03-06 22:36:50 -05:00
Steve Pulec
4b21beb754
Merge pull request #1428 from toshitanian/logs-exceptions
...
Add logs exceptions
2018-03-06 22:32:03 -05:00
Steve Pulec
7fa14c81f4
Merge pull request #1425 from whummer/feat/cf-fn-GetAZs
...
Implement Fn::GetAZs function in CloudFormation
2018-03-06 22:28:31 -05:00
Steve Pulec
8b3743fa9c
Merge pull request #1439 from anderson-dan-w/redrive-policy
...
Redrive policy
2018-03-06 22:22:49 -05:00
Steve Pulec
16dd20e443
Merge pull request #1447 from dbfr3qs/master
...
add elasticloadbalancer:loadbalancer to resourcegroupstaggingapi
2018-03-06 22:20:19 -05:00
Steve Pulec
924c99bcea
Merge pull request #1448 from grahamlyons/fix-ebs-tagging
...
Change `'image'` for `'volume'` when getting tags
2018-03-06 22:16:59 -05:00
Steve Pulec
8a0cf49b7d
Merge branch 'master' into redshift-copy-grants
2018-03-06 22:11:34 -05:00
Steve Pulec
ddba69982e
Merge pull request #1451 from captainkerk/redshift-add-cross-region-snapshots
...
Redshift: Add Cross Region Snapshot Functionality
2018-03-06 22:10:29 -05:00
Steve Pulec
6826b82cfb
Merge pull request #1455 from grahamlyons/snapshot-search-bug
...
Snapshot search bug
2018-03-06 22:06:33 -05:00
Steve Pulec
326698f3fa
Merge pull request #1460 from okomestudio/s3-region-from-url
...
Support both virtual-hosted and path-style URLs for region name parsing
2018-03-06 21:57:57 -05:00
Dave Golombek
9a8b36debc
ELBv2.create_listener links TargetGroup to LB
...
In order to search target_groups by LB, we need this link in place.
Resolves #1500
2018-03-06 16:57:56 -05:00
Srikanth Raju
4f05aa725c
S3: Do not attempt to return deleted files in bucket listing
2018-03-06 01:55:14 -08:00
andrew
7d3af65f22
fix errors
2018-02-23 14:42:49 -05:00
andrew
6ab416724a
WIP: add iam roles to redshift
2018-02-22 14:58:19 -05:00
Chris Wolfe
7a6987a7f1
note
2018-02-19 09:59:52 -06:00
Chris Wolfe
8ac4ff1e99
greater granularity
2018-02-19 09:58:46 -06:00
Chris Wolfe
29061ec0f8
add a basic test to start
2018-02-19 09:10:52 -06:00
Loukas Leontopoulos
bf2ba0b680
Add more exception tests for opsworks
2018-02-19 15:22:53 +02:00
Hugo Lopes Tavares
5f61950096
Make SpotPrice optional when requesting a spot fleet
...
When price is omitted, AWS will default to the on-demand price
2018-02-01 18:07:35 -05:00
Taro Sato
5e70d0ce4c
Support both virtual-hosted-style and path-style URLs for region name parsing
2018-01-30 16:10:43 -08:00
grahamlyons
f3debf8f6f
Test and fix bug for snapshot searching
...
The logic which contructed a list of values for parameters with
multiple values was flawed in that e.g. `Subnet.1` and `Subnet.10`
would be have their values counted against `Subnet.1` because they
share a prefix.
This now checks for a starting `.` before counting that name as
having the requested prefix.
2018-01-29 14:30:21 +00:00
captainkerk
e514b98747
redshift: add copy grant functionality
2018-01-28 22:58:28 +00:00
captainkerk
7130dd5239
rework to follow spec for encrypted/unencrypted clusters
2018-01-28 04:16:21 +00:00
captainkerk
ed06658271
address spacing issues
2018-01-28 04:16:21 +00:00
captainkerk
d8b124fbf4
added: enable/disable/modify redshift snapshot copy methods
2018-01-28 04:16:21 +00:00
grahamlyons
3ce57644cd
Change 'image'
for 'volume'
when getting tags
...
The AWS docs say that: "Currently, the resource types that support
tagging on creation are instance and volume." Calling `create_volume`
and passing `image` as the resource type in tag specifications causes
an `InvalidParameterValue` error.
2018-01-26 11:12:50 +00:00
Jack Danger
4520cd930f
Merge pull request #1378 from william-richard/start-running-ami-tests
...
Make test_amis not executable, so nose runs it
2018-01-24 18:28:40 -08:00
Chris Keogh
53184208fd
add elasticloadbalancer:loadbalancer to resourcegroupstaggingapi.get_resources
2018-01-25 14:51:06 +13:00
Koudai Aono
0eb02613a0
fix get_template tests to support OrderedDict
2018-01-25 02:37:51 +09:00
Koudai Aono
9ef271fafa
Remove unneeded comments
2018-01-25 01:34:27 +09:00
Koudai Aono
518282dbd3
change get_param method to get_int_param
2018-01-25 00:51:14 +09:00
Dan W Anderson
616095602a
test for redrive policy
2018-01-23 18:33:23 -08:00
Jack Danger
52f0d0a4e4
importing sure in tests that require it
2018-01-20 19:44:22 -08:00
dbfr3qs
7d0733ad10
hack tests now that boto get_templates returns ordered dicts
2018-01-18 19:40:24 +13:00
dbfr3qs
597676c59c
add tags when creating ebs volume
2018-01-15 21:52:32 +13:00
Toshiya Kawasaki
663283a8f0
add logs exceptions
2018-01-14 14:35:53 +09:00
William Richard
09c5407b86
Fix tests that were introduced in PR #1398
2018-01-11 15:02:03 -05:00
William Richard
e0d4728c5d
Fix ami tests
...
- missing and malformed image ids
- test_ami_filters
- test_ami_copy tests
- test_ami_create_and_delete test
- test_ami_filter_wildcard test
- the rest of the tests by using the non-deprecated mock_ec2
2018-01-11 15:02:01 -05:00
William Richard
00a4249b74
Make test_amis not executable, so nose runs it
...
In trying to debug changes to the ami mock introduced in 1.1.25,
I noticed that the ami tests were not running. Turns out that nose does not
run test files that are executable.
http://nose.readthedocs.io/en/latest/finding_tests.html
The ami test file was the only test file I could find that had the executable bit set.
2018-01-11 15:00:38 -05:00
Waldemar Hummer
da4a6fe616
implement Fn::GetAZs function in CloudFormation
2018-01-10 22:44:16 -05:00
Brian Pandola
350cf9257e
Add update_access_key endpoint ( #1423 )
2018-01-10 18:29:08 -05:00
Pieter Jordaan
a8cd5fb7fd
Change name of 'state' attribute of 'FakeAlarm' CloudWatch model to 'state_value'. This ensures that the 'StateValue' returned by 'describe_alarms' is correct.
...
The 'DESCRIBE_ALARMS_TEMPLATE' response template references a 'state_value' attribute on the 'FakeAlarm' model which does not exist; it is named 'state'.
This commit updates the attribute to be called 'state_value', in-line with the naming convention used elsewhere.
2018-01-08 13:18:50 +01:00
Nuwan Goonasekera
56ce26a728
Added support for filtering AMIs by self ( #1398 )
...
* Added support for filtering AMIs by self
Closes: https://github.com/spulec/moto/issues/1396
* Adjusted regex to also match signature v4 and fixed py3 compatibility
2018-01-04 10:01:17 +00:00
Toshiya Kawasaki
71af9317f2
Add group features to iot ( #1402 )
...
* Add thing group features
* thing thing-group relation
* clean up comments
2018-01-04 09:59:37 +00:00
Mike Grima
770281aef2
Added put_bucket_logging support ( #1401 )
...
- Also added put acl for XML
- Put logging will also verify that the destination bucket exists in the same region with the proper ACLs attached.
2018-01-02 20:47:57 -08:00
Boris Gvozdev
633decc6c0
SNS: do not duplicate subscriptions
2018-01-02 11:30:39 +11:00
Mike Bjerkness
b855fee2e4
Add batch_get_image support for ECR ( #1406 )
...
* Add batch_get_image for ECR
* Add tests for batch_get_image
* Add tests for batch_get_image
* Undo local commits
* Undo local commits
* Adding object representation for batch_get_image
* Update responses. Add a couple more tests.
2017-12-30 18:39:23 -08:00
captainkerk
144611ff99
define setup_networking_deprecated() method to create supporting
...
resources for tests that use deprecated methods
2017-12-29 03:00:53 +00:00
Jack Danger
84f2ec5e04
Merge pull request #1416 from goraxe/describe_regions_with_names
...
describe_regions: handle region-names parameter
2017-12-28 14:47:39 -08:00
Gordon Irving
4d9833b972
add test for descrie_regions with args
2017-12-28 21:02:58 +00:00
Gordon Irving
e9b81bb325
add test for vpc tags
2017-12-28 19:27:53 +00:00
captainkerk
fe1293ee5b
remove unnecessary empty line
2017-12-27 20:31:57 +00:00
captainkerk
59cf81fd56
AWS API raises an exception if both AZ and VPCZoneIdentifier params are empty. mock that exception, fix
...
tests to follow that pattern.
2017-12-27 19:17:59 +00:00
George Ionita
3cede60f5b
improved SWF support
2017-12-23 05:45:05 +02:00
Nuwan Goonasekera
c68cd650e7
Make sure invalid or malformed AMIs raise an exception
...
Closes: https://github.com/spulec/moto/issues/1408
2017-12-22 18:50:22 +05:30
Alex M
e75f3ef4d4
Implement execute change set endpoint ( #1391 )
2017-12-14 12:07:23 +00:00
William Richard
df7a7958c1
Path is an optional property of instance profile cloudformation resource ( #1382 )
...
* Path is an optional property of instance profile cloudformation resource
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-instanceprofile.html
* Path is also optional for iam role clouformation resources
Based on http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html
* Use `properities.get` with a default instead of doing default handling myself
2017-12-14 12:06:04 +00:00
Alex M
2346e14e00
Add create change set endpoint ( #1389 )
2017-12-11 09:23:35 +00:00
Alexander Mohr
9d087b0729
add subject support ( #1387 )
2017-12-10 21:59:04 +00:00
Brian Cavagnolo
d2eea02774
add support for kinesis AT_TIMESTAMP shard iterator ( #1376 )
...
Fixes #813
2017-12-08 10:57:05 +00:00
William Richard
92f5f7b263
Add cloudformation update from s3 support ( #1377 )
...
* Fix variable name typo
* Make it possible to delete EC2 instances from cloudformation json
* Add support for updating a cloudformation stack from an s3 template url
2017-12-08 10:48:29 +00:00
David Bartle
52ce8d378f
IAM delete_server_certificate ( #1380 )
...
* IAM delete_server_certificate
* flake8 fixes
2017-12-08 10:43:09 +00:00
Alexander Mohr
81f3cbb548
fix cloudwatch bug ( #1374 )
...
* bugfix + add tests
2017-12-05 09:25:08 +00:00
Ben Slusky
796fa6647b
modify_db_instance should be able to rename DB instances ( #1367 )
2017-11-30 11:41:25 +00:00
Kai Xia(夏恺)
9e1a233549
fix KeyError in delete_alias in the KmsBackend. ( #1359 )
...
* fix KeyError in delete_alias in the KmsBackend.
If there're several aliases in the backend, previously we will bump into
a KeyError here.
Signed-off-by: Kai Xia <xiaket@gmail.com>
* add doc to make travis try one more time.
Signed-off-by: Kai Xia <xiaket@gmail.com>
a
* add another key and alias before the deletion of an alias.
This was done to make sure that we can correctly handle the deletion
when there are more than one alias defined.
Signed-off-by: Kai Xia <xiaket@gmail.com>
2017-11-27 10:36:25 +00:00
Terry Cain
a1f2ba21ee
Adds if_not_exists function to DynamoDB Update Expression
...
Fixes #1358
2017-11-26 22:29:23 +00:00
Terry Cain
d5ee48eedd
Lambda improvements ( #1344 )
...
* Revamped the lambda function storage to do versioning.
* Flake8
* .
* Fixes
* Swapped around an if
2017-11-26 21:28:28 +00:00
Toshiya Kawasaki
cfc994d0ae
Add publish operation to iotdata ( #1362 )
...
* add publish operation to iotdata
* restart ci
2017-11-24 17:22:53 +00:00
Toshiya Kawasaki
49a2724d76
Set default value to elbv2 FakeTargetGroup ( #1349 )
2017-11-20 11:18:21 +00:00
justinsr20
17b8396a9c
updated rds status from shutdown to stopped to match aws ( #1347 )
2017-11-20 09:07:36 +00:00
Jessie Nadler
04c5198a0c
Add default ecs attributes and format in response obj ( #1346 )
...
* Initialize EC2ContainerServiceBackend and ContainerInstance objects with region_name
* Initialize ContainerInstance with default attributes
* These attributes are automatically applied by ECS when a container is registered
* Docs: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html#attributes
* Format container_instance.attributes for response_object
* Python3
* Only use available ECS regions for ecs_backends
* Sort dictionaries on key='name' using lambda
* Sort all dicts in tests using lambda
2017-11-17 18:25:08 +00:00
Victor Hiairrassary
caec929506
Improve SSM PutParameter & DescribeParameters actions ( #1348 )
2017-11-17 08:57:11 +00:00
Terry Cain
2609f6cd3a
Added support for dynamo update_item on nested dicts ( #1345 )
2017-11-17 08:49:59 +00:00
Hugo Lopes Tavares
aa6a0765c1
Move target group default values to model FakeTargetGroup ( #1343 )
...
Before this commit everything that needs to create target groups
had to handle the default values (i.e., cloudformation call & ELBV2Response call)
2017-11-15 19:36:53 +00:00
Hugo Lopes Tavares
7b1ec157b8
Add proper CFN attribute handling to elbv2.FakeLoadBalancer ( #1341 )
2017-11-15 15:11:11 +00:00
Terry Cain
8ee05e22af
[WIP] Resource tagging ( #1332 )
...
* Ran scaffold
* Made a start on get_resources.
* Added more EC2 to tag list
* More stuff
* Added more methods
* Added S3 region name
* Added values test
* Some final touchups
2017-11-15 00:03:00 +00:00
Archa91
474023f9a1
fix EC2 instances ebsOptimized not handled ( #1340 )
...
* fix EC2 instances ebsOptimized not handled
* add test_create_instance_ebs_optimized
2017-11-14 14:31:54 +00:00
Adam Gilman
2ad0f2fc1c
SNS create_topic should only accept valid characters ( #1329 )
...
* SNS create_topic should only accept valid characters
Closes #1328
* Fix flake8 errors
* Updated regex to match full TopicName constraints
Fixed test_server as it contained invalid TopicNames’ per constraints
* fix error message for invalid topic name
2017-11-13 18:27:11 +00:00
Jack Danger
068417b1f2
Merge pull request #1334 from reinecke/fix/dynamo_projection_mutation
...
dynamodb2: Fix for ProjectionExpressions changing the data in storage
2017-11-12 08:05:33 -08:00
Terry Cain
bd8c1e4567
adding owner id to amis v2 ( #1331 )
...
* Adding owner-id/OwnerId to the AMI classes to allow the value to be specified to test filtering images based on owner.
* Added default AMIs and filtering by owner-id
* Fixed some tests
* Fixed more random tests
* Updated MANIFEST
* .
2017-11-12 11:18:25 +00:00
Jack Danger
123f369e6e
Merge pull request #1333 from terrycain/fix_1043
...
DynamoDB: Fixed requiring optional parameter
2017-11-11 14:06:51 -08:00
Eric Reinecke
64fb0207e2
dynamodb2 was evaluating ProjectionExpression on the wrong local result set
2017-11-10 21:57:16 -08:00
Eric Reinecke
06492026c3
dynamodb2 items are copied when using ProjectionExpression to avoid mutating originals
2017-11-10 21:35:01 -08:00
Terry Cain
5858289596
Fixed Bug
2017-11-10 21:07:22 +00:00
Toshiya Kawasaki
0de2e55b13
Support iot and iot-data ( #1303 )
...
* append appropriate urls when scaffolding
* make dispatch for rest-api
* fix dispatch for rest-json
* fix moto/core/response to obtain path and body parameters
* small fixes
* remove unused import
* fix get_int_param
* Add features of things and thing-types
* fix scaffold
* basic crud of cert
* support basic CRUD of policy
* refactor
* fix formatting of scaffold
* support principal_pocicy
* support thing_principal
* update readme
* escape service to handle service w/ hyphen like iot-data
* escape service w/ hyphen
* fix regexp to extract region from url
* escape service
* Implement basic iota-data feature
* iot-data shadow delta
* update readme
* remove unused import
* remove comment
* fix syntax
* specify region when creating boto3 client for test
* use uuid for seed of generating cert id
* specify region_name to iotdata client in test
* specify region to boto3 client in moto response
* excude iot and iotdata tests on server mode
* fix handling of thingTypeName in describe-thing
* test if server is up for iot
2017-11-10 09:44:02 +00:00
Terry Cain
884fc6f260
Adds FilterExpression to dynamodb.query ( #1326 )
...
* Added FilterExpression for dynamodb.query
* flake8
* Fixes using mutable default argument values
2017-11-08 22:53:31 +00:00
Jack Danger
7c3d78e7c5
validate protocol on target group creation
2017-11-06 14:19:03 -08:00
Terry Cain
d4745a575b
utf 8 in key deletions V2 ( #1321 )
...
* supporting utf-8 in key deletions
* Fixed decoding of version body when regexing
* Fixed some more random errors
* Possible fix
* Fixed unused import
* Added UTF comment Py2
2017-11-06 14:19:03 -08:00
Adam Gilman
d0a285536d
Makes Creating SNS topics idempotent ( #1324 )
...
Make creating SNS topics idempotent
Closes #1323
2017-11-06 14:19:03 -08:00
Kai Xia(夏恺)
70e7f08d8f
Added support for SSM get_parameters_by_path. ( #1299 )
...
* Added support for SSM get_parameters_by_path.
Signed-off-by: Kai Xia <xiaket@gmail.com>
* add logic to handle trailing '/'.
Also, fix pep8.
Signed-off-by: Kai Xia <kai.xia@sportsbet.com.au>
* add tests for parameter value in response.
Signed-off-by: Kai Xia <kai.xia@sportsbet.com.au>
2017-11-06 14:19:03 -08:00
Terry Cain
c186733129
Merge branch 'master' into jack/validate-protocol-on-target-group-creation
2017-11-05 01:58:40 +00:00
Steve Pulec
2d9e622e79
Merge pull request #1313 from terrycain/fix_1311
...
CloudWatch: Added SetAlarmState and filter
2017-11-04 15:50:56 -04:00
Steve Pulec
adf41244cd
Merge pull request #1316 from terrycain/lotsa_stuff
...
Lotsa stuff
2017-11-04 15:15:20 -04:00
Brian Pandola
68a1e41286
Fix #1318
2017-11-02 23:03:54 -07:00
Terry Cain
c4273c9da1
Merge branch 'master' into lotsa_stuff
2017-10-29 19:26:27 +00:00
Terry Cain
e2bdaa07ea
Fix test cases that manipulate time
2017-10-29 19:11:52 +00:00
Terry Cain
75f0deb828
Completed SQS Implementation
2017-10-29 18:59:40 +00:00
Terry Cain
5c02085d3a
Fixed testcases after nonglobaling dynamo
2017-10-29 16:25:17 +00:00
Terry Cain
ab767416fe
Completed DynamoDBv2 endpoints
2017-10-29 16:06:09 +00:00
Terry Cain
92a0d96101
Fixed testcase
2017-10-29 16:06:03 +00:00
Terry Cain
2a52a0f91b
Completed ELBv2 implementation
2017-10-29 14:14:17 +00:00
Terry Cain
a6e5ffb99b
Completed events
2017-10-28 20:17:34 +01:00
Terry Cain
6e28c58e26
Added ecs attributes methods
2017-10-28 19:18:39 +01:00
Terry Cain
eccb536d8a
ACM ~100% coverage
2017-10-28 17:07:34 +01:00
Jack Danger
d187942eeb
Merge pull request #1304 from terrycain/ec2_instance_ip_improvement
...
Fixed a few ip issues
2017-10-28 03:48:16 +02:00
Hugo Lopes Tavares
63c33211ee
Add GetAtt support to elbv2 LoadBalancer
2017-10-27 15:32:16 -04:00
Hugo Lopes Tavares
7b074b50a9
Add CloudFormation support to AWS::ElasticLoadBalancingV2::Listener
2017-10-27 14:38:40 -04:00
Hugo Lopes Tavares
dfd41d8c00
Add CloudFormation support to AWS::ElasticLoadBalancingV2::TargetGroup
2017-10-27 14:24:11 -04:00
Terry Cain
6adfb97753
Added SetAlarmState and added state filter to describe
2017-10-27 18:58:11 +01:00
Hugo Lopes Tavares
8786c2df05
Add CloudFormation support to AWS::ElasticLoadBalancingV2::LoadBalancer
2017-10-27 11:54:55 -04:00
Jack Danger
23ad62a4f9
validate protocol on target group creation
2017-10-27 03:16:06 +02:00
Terry Cain
62a2d8f756
Improved lambda timings
2017-10-25 20:04:00 +01:00
Terry Cain
9ddf7fe436
Fixed some tests.
...
Some subnets were bogus so fixed that. Fixed issue where EC2-Classic was not respected.
RDS Deepcopy was breaking on subnet generator
2017-10-25 19:29:56 +01:00
Terry Cain
5b0e463554
Fixed a few ip issues
...
Fixes #1175
2017-10-24 23:57:43 +01:00
Jack Danger
9a4c496f30
Merge pull request #1297 from melentye/master
...
Do not treat StartRecordName and StartRecordType as filters
2017-10-24 04:17:22 -07:00
Andrey Melentyev
4e390530a7
Do not treat StartRecordName and StartRecordType in the list_resource_record_sets as filters
...
According to AWS API reference and Boto documentation they are to begin the record listing from,
not for filtering. So their current behavior in moto is not consistent with AWS.
2017-10-23 21:58:39 +02:00
Jack Danger
0ca292b0ca
Merge pull request #1289 from terrycain/dynamodb_filter_expression_v2
...
DynamoDB FilterExpression NOT logic
2017-10-23 09:46:02 -07:00
Jack Danger
72670d5b2d
Merge pull request #1259 from tomelliff/fix-running-pending-task-count-attribute
...
Fix runningTasksCount ECS container instance attribute
2017-10-23 09:43:50 -07:00
Jack Danger
2eec3a5c36
Merge pull request #1197 from terrycain/batch
...
AWS Batch
2017-10-23 09:43:10 -07:00
Jack Danger
aaa0202d08
Merge pull request #1285 from captainkerk/autoscaling-load-balancer-target-group-support
...
Add ELBv2 Support to Autoscaling Service
2017-10-23 09:41:52 -07:00
Jack Danger
462eceae6f
Merge pull request #1283 from terrycain/fix_1276
...
Fixes #1276 SNS Subject validation
2017-10-23 09:41:17 -07:00
Terry Cain
e9852c381b
Make improvements to filter expression, added NOT keyword
2017-10-22 23:20:00 +01:00
Terry Cain
fbc984933b
Added server test
2017-10-22 21:36:39 +01:00
Jack Danger
66a554470b
Merge pull request #1286 from terrycain/fix_1282
...
Fix 1282
2017-10-22 11:53:19 -07:00
Terry Cain
f247cd0f48
Fixed uses of HostedZone
2017-10-21 22:41:19 +01:00
captainkerk
993b092083
add target_group support to autoscaling service
2017-10-21 17:29:22 +00:00
Paul Carleton
685e9163a8
Add set-instance-health support
2017-10-20 11:26:23 -07:00
Paul Carleton
21c3775cb1
Add health status to autoscaling instances
2017-10-20 11:26:23 -07:00
Terry Cain
629503398c
Added JobDefinition to cloudformation
2017-10-20 19:10:31 +01:00
Terry Cain
dce81cf875
Fixed typos ;-)
...
Thanks @hwine
2017-10-20 14:52:24 +01:00
Terry Cain
bca8e11290
Fixes #1276 SNS Subject validation
2017-10-20 13:19:55 +01:00
Argishti Rostamian
f02f4646ea
add test
2017-10-19 17:47:21 -07:00
Terry Cain
9805a279c7
Added JobQueue to cloudformation
2017-10-20 01:06:30 +01:00
Terry Cain
453da4c8b3
Added CreateEnvironment to cloudformation
2017-10-20 00:51:04 +01:00
Terry Cain
d67ef8d128
Merge branch 'master' into batch
2017-10-19 21:16:40 +01:00
Terry Cain
b40c5e557e
Fixed S3 versioning bug + minor cleanup ( #1272 )
...
* Fixed S3 versioning bug + minor cleanup
Fixes 1271
* flake8
2017-10-18 16:22:35 -07:00
John Kerkstra
b8bb6c2dcf
Fix bug with update_attached_elbs ( #1266 )
...
* fixed bug where we were using elb_backend.describe_load_balancers
incorrectly, returning all available load balancers when we wanted none.
* improve skip, clean up tests
2017-10-16 22:04:47 -07:00
John Kerkstra
0af3427c15
Add autoscaling load balancer methods ( #1265 )
...
* add attach_load_balancers, detach_load_balancers,
describe_load_balancers methods
* prefer using amzn_request_id decorator to generate unique request ids
2017-10-16 19:07:00 -07:00
John Kerkstra
5ef236e966
Add attach_ and detach_instances methods to autoscaling service ( #1264 )
...
* add detach_instances functionality to autoscaling service
* use ASG_NAME_TAG constant
* cleanup models method a bit, add mocked DetachInstancesResult to
response template
* add attach_instances method
2017-10-16 17:09:51 -07:00
Terry Cain
49ddb500a8
AWS X-Ray client mock. ( #1255 )
...
* X-Ray Client SDK patched
Fixes #1250
* Fixed flake8
* Fixed some issues
* Fixed flake8
* Fixed more typos
* Fixed python2 string
* Fixed aws-sdk patch order
* Added more test cases to test the patching
2017-10-16 17:06:22 -07:00
Terry Cain
2bb3e841d1
Fixed #1261 dynamodb FilterExpression bugs ( #1262 )
...
* Fixed #1261 dynamodb FilterExpression bugs
FilterExpression was incorrectly handling numbers, stupid typo there. Also >= <= and <> was not being parsed correctly.
* Switched up logic a bit for better end result. Fixes #1263
* Fixed another bug
2017-10-16 13:56:03 -07:00
Tom Elliff
a6c38913a7
Add more tests for task count of container instance
2017-10-13 09:37:39 +01:00
Terry Cain
f3623e3cd3
Fix for #1258 ( #1260 )
...
* Fix for #1258
* Updated doc link
2017-10-12 13:59:02 -07:00
Tom Elliff
51afd54229
Fix runningTasksCount ECS container instance attribute
...
ECS container instances have attributes of 'runningTasksCount' and 'pendingTasksCount'.
See Boto3 docs here: http://boto3.readthedocs.io/en/latest/reference/services/ecs.html#ECS.Client.describe_container_instances
REST API docs here: http://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeContainerInstances.html#API_DescribeContainerInstances_ResponseSyntax
2017-10-12 13:26:19 +01:00
Terry Cain
e3024ae1ba
Implemented Terminate, Cancel and List jobs
2017-10-11 23:46:27 +01:00
Terry Cain
ddd52a5a97
Merge branch 'master' into batch
2017-10-11 23:02:47 +01:00
Jack Danger
aa46795ade
Merge pull request #1252 from JackDanger/jack/implement-sqs-queuedoesnotexist-error
...
implement SQS QueueDoesNotExist error
2017-10-10 13:36:45 -07:00
Jack Danger
dc40fce146
implement SQS QueueDoesNotExist error
2017-10-10 13:05:48 -07:00
Terry Cain
77fcafca18
Cleaned up code
2017-10-08 04:18:25 +01:00
Terry Cain
c86bece382
Added FilterExpression to dynamodb scan
2017-10-07 21:57:14 +01:00
William Johansson
88fb732302
Support wildcard tag filters on SecurityGroups
2017-10-06 21:55:01 +02:00
David Morrison
fa3268b7b7
fix tests
2017-10-06 08:07:21 -07:00
David Morrison
3d3d0e916e
minor bugfixes and added tests
2017-10-05 18:46:58 -07:00
Terry Cain
e135344f0c
Added simple SubmitJob and DescribeJobs
2017-10-06 01:21:29 +01:00
David Morrison
8ca7ccfcb5
add support for the modify_spot_fleet_request operation
2017-10-05 12:50:42 -07:00
Terry Cain
0ca3fcc7a2
Added DescribeJobDefinitions
2017-10-05 00:00:40 +01:00
Terry Cain
558f246115
Added RegisterJobDefinition
2017-10-04 20:17:29 +01:00
Terry Cain
4a45acc216
Implemented Update and Delete job queue
2017-10-04 18:52:12 +01:00