Commit Graph

4495 Commits

Author SHA1 Message Date
Jack Danger
5011cd28b6 Allow boto3 redshift cluster subnet group creation
Boto3 deviates from the AWS docs in the way subnets are described when
creating a Redshift cluster subnet group.

This entry in botocore nests the SubnetIds under SubnetIdentifier tags:
https://github.com/boto/botocore/blob/develop/botocore/data/redshift/2012-12-01/service-2.json#L5423-L5429
referenced here:
https://github.com/boto/botocore/blob/develop/botocore/data/redshift/2012-12-01/service-2.json#L2296

And the AWS docs do not nest them that way:
https://docs.aws.amazon.com/redshift/latest/APIReference/API_CreateClusterSubnetGroup.html

Fixes #1029
2017-08-02 11:48:12 -07:00
Jack Danger
2b76d07558 Merge pull request #1027 from iCHEF/fix_sns_should_send_json_http_message
Send JSON message to HTTP endpoint of SNS
2017-07-31 12:45:17 -07:00
Jack Danger
fc8c4c67b2 Merge pull request #1028 from ptrus/sns-delete-subscriptions
SNS delete_topic should also delete subscriptions.
2017-07-31 11:44:20 -07:00
Peter Us
d76559ee7c SNS delete_topic should also delete subscriptions. 2017-07-31 13:37:29 +02:00
sodastsai
92eedcf291 Send JSON message to HTTP endpoint of SNS
By the documentation from AWS -
http://docs.aws.amazon.com/sns/latest/dg/SendMessageToHttp.html ,
SNS would send messages to HTTP/HTTPS endpoint in JSON format. But
current implementation of `moto` sends messages in form-data format.
2017-07-30 20:44:06 +08:00
Jack Danger
2564953ce7 Merge pull request #1021 from JackDanger/implement-get-update-login-profiles
Implement IAM {update,get}_login_profile
2017-07-27 14:36:12 -07:00
Jack Danger
e445c81e83 Implement IAM {update,get}_login_profile 2017-07-27 14:22:25 -07:00
Jack Danger
1387013879 Merge pull request #1025 from JackDanger/update-README
Updating examples in README to latest API
2017-07-26 23:04:20 -07:00
Jack Danger
3eef3c23b1 Updating examples in README to latest API 2017-07-26 22:57:55 -07:00
Jack Danger
4028fe1abd Merge pull request #1023 from william-richard/add-ecr-get-authorization-token
Add ecr get_authorization_token response and tests
2017-07-26 11:52:16 -07:00
Jack Danger
c350562c35 Merge pull request #1024 from jpb/ssm-tags
Add add, remove, list endpoints for SSM tags
2017-07-26 11:50:59 -07:00
William Richard
aeefc8056d
Boto actually returns a base64 encoded string of <user>:<password>
Fix the mock to do the same thing
2017-07-26 12:03:20 -04:00
James Brennan
a5089c3d69 Add add, remove, list endpoints for SSM tags 2017-07-26 11:38:12 +00:00
William Richard
025e975e44
Add ecr get_authorization_token response and tests 2017-07-25 17:54:05 -04:00
Jack Danger
57c5c6df26 Merge pull request #1018 from okomestudio/ts/throw-client-error-on-head-bucket
Make HEAD bucket throw ClientError instead of NoSuchBucket on boto3
2017-07-20 15:55:07 -07:00
Taro Sato
e66b6173c9 Merge branch 'master' into ts/throw-client-error-on-head-bucket 2017-07-20 15:40:53 -07:00
Taro Sato
38fa6809c0 Make HEAD bucket throw ClientError instead of NoSuchBucket on boto3 2017-07-20 15:39:45 -07:00
Jack Danger
1e7fcb8bdd Merge pull request #1017 from whummer/feat/cf-models-kinesis
Add CloudFormation model for Kinesis streams
2017-07-20 12:08:51 -07:00
Waldemar Hummer
115b9cee3e add CloudFormation model for Kinesis streams 2017-07-20 14:37:53 +10:00
Jack Danger
074ff68bf1 Merge pull request #1016 from JackDanger/elb-security-groups
Implementing ELB apply_security_groups_to_load_balancer
2017-07-19 17:41:53 -07:00
Jack Danger
7d00f6e92c python 2 support for dict_values 2017-07-19 17:14:20 -07:00
Jack Danger
45d7230440 fixing typo 2017-07-19 16:01:00 -07:00
Jack Danger
6ed8d12317 Enforcing ELB security groups must be real 2017-07-19 15:58:49 -07:00
Jack Danger
b512316c82 removing further unused imports 2017-07-19 12:36:04 -07:00
Jack Danger
7d0a575ab1 Removing unused import 2017-07-19 12:20:58 -07:00
Jack Danger
73ede75c39 Adding test for ELBv1 security groups 2017-07-19 12:20:01 -07:00
Jack Danger
6f220fa856 Merge pull request #1013 from chellman-delphix/master
Added DescribeAccountAttributes
2017-07-17 18:06:44 -07:00
Christian Hellman
63b09eae13 Added DescribeAccountAttributes 2017-07-17 23:33:40 +00:00
Jack Danger
b2b423f833 Merge pull request #1011 from gilgamezh/bad_socket_shadow
Avoid to override SocketType when disabling the mock and bad_socket_s…
2017-07-17 15:07:28 -07:00
Jack Danger
a718ff2029 Merge pull request #1012 from eric-weaver/s3-object-tagging
Implement S3 object tagging
2017-07-17 11:57:55 -07:00
eric-weaver
abf3078c28 implement s3 object tagging 2017-07-15 22:36:12 -04:00
eric-weaver
38880c4c9e Merge remote-tracking branch 'spulec/master' 2017-07-15 18:00:42 -04:00
gilgamezh
5e5333c243 Avoid to override SocketType when disabling the mock and bad_socket_shadow is True 2017-07-14 19:29:20 -03:00
Jack Danger
f80e87aca3 Merge pull request #1005 from fdfk/verify_email
Adding list_verified_email_addresses and testing
2017-07-11 10:56:54 -07:00
fdfk
2a65f40a19 Adding list_verified_email_addresses and testing 2017-07-11 08:02:31 +00:00
Jack Danger
28b1d99100 Merge pull request #1002 from JackDanger/raise-error-on-duplicate-elb-listener
Raise error on duplicate elbv1 listener
2017-07-06 22:09:20 -07:00
Jack Danger
5e9c51d839 Merge pull request #790 from tideline/master
Fixes for dynamodb2 mocking
2017-07-06 22:06:08 -07:00
Jack Danger
98342bfcc3 Raise error on duplicate elbv1 listener
AWS returns an error condition when a listener is defined that interferes with an existing listener on the same load balancer port.
2017-07-06 21:52:01 -07:00
Jack Danger
7e4a1d0887 Merge pull request #1001 from JackDanger/test-delete-load-balancer-listeners-boto3
Test boto3 elb listener deletion
2017-07-06 21:35:45 -07:00
Jack Danger Canty
dbbbc01f88 Test boto3 elb listener deletion 2017-07-06 21:29:18 -07:00
Jack Danger
3c659f1258 Merge pull request #1000 from JackDanger/rds2-license-models
Persisting selected LicenseModel in RDS instances
2017-07-05 16:13:41 -07:00
Jack Danger Canty
c3d9f4e056 Persisting selected LicenseModel in RDS instances 2017-07-05 16:02:45 -07:00
Jack Danger
8f2a0a83a1 Merge pull request #983 from Polarishq/ssm_describe_parameters
Add describe_parameters support to SSM
2017-07-04 14:30:24 -07:00
Jack Danger
b8cdc06845 Merge pull request #994 from whummer/feat/moto-server-ssl
Add CLI flag to enable SSL for moto_server
2017-07-04 14:23:09 -07:00
Jack Danger
1d74182ab5 Merge pull request #986 from JackDanger/jack/describe_snapshots
Implementing RDS Snapshots
2017-07-04 13:45:03 -07:00
Jack Danger
5cbcc7bcf4 Merge pull request #997 from ferranscopely/sqs_timestamps_exponential_notation
Don't use exponential notation for SQS message timestamps
2017-07-04 13:44:42 -07:00
Ferran Puig
e4f42d5880 Don't use exponential notation for SQS message timestamps 2017-07-03 16:17:01 +02:00
Jack Danger
0e3c4908b0 Merge pull request #992 from ingluisjimenez/fix-sqs-message-attributes-md5
SQSResponse: include MD5OfMessageAttributes parameter only when there are message attributes
2017-06-29 12:28:21 -07:00
Luis Jimenez
898031b40c SQSResponse: include MD5OfMessageAttributes parameter only when there are message attributes 2017-06-29 09:27:31 -04:00
Jack Danger
1c4960f6e1 Merge pull request #990 from bobo333/recursive_emr_settings
Add support for recursive emr settings
2017-06-27 13:32:52 -07:00