dominictootell
9e73d10e59
Not, not Non for the exception.
2016-09-14 11:52:56 +01:00
dominictootell
dd85f35f5a
don't set cacheClusterSize if cache not enabled
2016-09-14 10:04:51 +01:00
dominictootell
f1454ee280
fix mutable default variables
2016-09-14 07:37:02 +01:00
Steve Pulec
fca0d3885b
Merge pull request #698 from SpoonMeiser/fix-trailing-slash
...
Stop stripping the trailing slash off keys listed from s3 buckets
2016-09-13 21:57:03 -04:00
Steve Pulec
59be70d0e4
Merge pull request #693 from swipetospin/master
...
ALWAYS use utcnow(), never now()
2016-09-13 21:55:40 -04:00
Steve Pulec
4d9a0f7dc6
Merge pull request #692 from imran2140/fix-unicode-s3-key-listing
...
Fix unicode S3 key listing in Python 2
2016-09-13 21:54:28 -04:00
Steve Pulec
8a92cc2924
Merge pull request #689 from michael-dev2rights/master
...
Make testing a bit safer binding to 127.0.0.1
2016-09-13 21:53:13 -04:00
Steve Pulec
65047ce102
Merge pull request #687 from skygeo/ecs_tasks
...
Add support for ECS tasks
2016-09-13 21:51:42 -04:00
dominictootell
1aaafc5f07
added more api gateway coverage
...
added: get_stages, stage not found exception, update stage configuration, descriptions on deployments, setting stage variables on deployments and stage creating
2016-09-13 12:44:17 +01:00
Oliver Jeeves
b297b1410c
Stop stripping the trailing slash off keys listed from s3 buckets
...
fixes #684
2016-09-13 12:21:22 +01:00
Collin RM Stocks
1b65c45b56
ALWAYS use utcnow(), never now()
2016-09-07 14:40:52 -04:00
imran
478e791c39
Fix unicode S3 key listing in Python 2
2016-09-04 04:31:03 +06:00
Michael De La Rue
bf2fdbba76
Make server use 127.0.0.1 as default address.
2016-09-01 12:14:38 +01:00
Georges Chaudy
dc75e5d6ad
add ecs tasks methods
2016-08-30 00:26:13 +01:00
Steve Pulec
ea319698aa
Merge pull request #669 from netors/feature/implement-iam-list-users-for-boto3
...
implemented iam list users (Closes #668 )
2016-08-27 21:13:53 -04:00
Steve Pulec
0a11db6a8c
Merge pull request #686 from mervynrussell/feature/ami_creation_date
...
Feature/ami creation date
2016-08-27 21:06:13 -04:00
Steve Pulec
18b6197bf2
Merge pull request #674 from IlyaSukhanov/master
...
Preserve Namespace and MetricName when creating cloudwatch alarm.
2016-08-27 21:05:31 -04:00
Mervyn Russell
27495e01e5
Added support for creation date to Ami
2016-08-26 13:43:17 +01:00
Waldemar Hummer
db275a1573
initial support for apigateway stages, in particular the update_stage method
2016-08-22 13:36:19 +10:00
Steve Pulec
e92a8b7492
Merge pull request #680 from SplunkStorm/setup_s3_cfn_parsing
...
Setup s3 cfn parsing
2016-08-19 17:29:58 -04:00
Steve Pulec
18d1bb1079
Merge pull request #681 from ronin13/queue-arn
...
Use region from ctor to set queue_arn.
2016-08-19 17:29:01 -04:00
Steve Pulec
811c95381a
Merge pull request #679 from phobologic/master
...
Causes get_server_certificate to fail correctly
2016-08-19 17:28:31 -04:00
Steve Pulec
346c094007
Merge pull request #676 from whummer/feature/apigateway-req-templates
...
Add support for requestTemplates parameter in apigateway integrations mock
2016-08-19 17:26:45 -04:00
Raghavendra Prabhu
34a28b0fd5
Use region from ctor to set queue_arn.
...
Without this, any region passed to boto3.resource is ignored and unit
tests depending on it break.
2016-08-17 22:12:00 +01:00
Declan Shanaghy
1441087e5c
Add S3 parsing for CloudFormation
2016-08-15 10:57:40 -07:00
Michael Barrett
4bfbcf4d03
Causes get_server_certificate to fail correctly
...
When no certificate with the name exists, the API should return a 404
(NoSuchEntity).
2016-08-14 17:40:39 -07:00
rocky4570fft
0161422d21
additional filters to get_all_vpcs
2016-08-14 16:58:35 +10:00
Waldemar Hummer
5075f6684f
add support for requestTemplates parameter in apigateway mock
2016-08-10 13:55:59 +10:00
Ilya Sukhanov
a37838b638
Preserve Namespace and MetricName when creating cloudwatch alarm.
2016-08-01 17:31:08 -04:00
Steve Pulec
ececa8009b
Merge pull request #665 from macheins/fix-broken-sqs-queue-arn-attribute
...
Fix broken SQS QueueArn attribute
2016-07-24 09:28:47 -04:00
Steve Pulec
d20906fcd7
Merge pull request #622 from nfvs/boto3_get_queue
...
Fix retrieving inexistent queue errors when using boto3
2016-07-24 09:18:32 -04:00
Andrew Gross
b4176050e2
Add volume attachment status
2016-07-22 14:23:42 -04:00
Ernesto Ruy Sanchez
e84dad6509
implemented iam list users
2016-07-20 15:12:02 -07:00
macheins
ef8b6c1f28
Fix broken format of SQS QueueArn attribute
2016-07-19 14:15:16 +02:00
Nuno Santos
8ffd4e51ec
Fix retrieving inexistent queue errors when using boto3.
...
Handle 404 errors when trying to retrieve a SQS queue that does not
exist. Add get_queue and get_inexistent_queue tests for boto3.
2016-07-16 12:09:34 +01:00
Steve Pulec
1c8458080a
Merge branch 'lambda_invoke' of https://github.com/mikegrima/moto into mikegrima-lambda_invoke
2016-07-09 21:29:41 -04:00
Steve Pulec
9d281844cd
Merge pull request #661 from braintreeps/fix-s3-errors
...
Update format of S3 client errors
2016-07-09 21:12:57 -04:00
Steve Pulec
3e797d9c50
Merge pull request #658 from kierandoonan/master
...
Add encrypted attribute to Volumes/Snapshots
2016-07-09 21:11:52 -04:00
Steve Pulec
c34481a476
Merge pull request #659 from kierandoonan/fix-tag-filter
...
Fix tag filter
2016-07-09 21:11:12 -04:00
Steve Pulec
84d0c44bd3
Merge pull request #653 from 2rs2ts/describe-stack-events
...
Add CloudFormation:DescribeStackEvents
2016-07-09 21:09:37 -04:00
Steve Pulec
219ed703fb
Merge pull request #645 from paulci/describe_security_groups_boto3
...
Support Filters in describe_security_groups() for boto3
2016-07-09 20:56:43 -04:00
Jesse Szwedko
ef10df0636
Update format of S3 client errors
...
To match
http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#RESTErrorResponses
which documents that it should be at the top level rather than nested
under `Errors`.
2016-07-08 19:32:34 +00:00
Kieran Doonan
619255e25a
tag-key and tag-value filters now do a regex match
2016-07-05 11:44:39 +01:00
Kieran Doonan
d3dcb8d3b5
tag_filter_matches now uses regex for key/value matches
2016-07-05 11:28:35 +01:00
Kieran Doonan
af0007ad2b
volumes are now encrypted if snapshots are encrypted
2016-07-04 14:40:13 +01:00
Kieran Doonan
44195a9151
added encrypted attribute to snapshots
2016-07-04 14:29:33 +01:00
Kieran Doonan
a3c16bcc77
updated ebs response
2016-07-04 14:09:41 +01:00
Kieran Doonan
f9f0d4b7d9
encrypted attribute now respected in create_volume
2016-07-04 11:30:17 +01:00
Kieran Doonan
957678d33d
create volume response updated
2016-07-04 11:25:51 +01:00
Kieran Doonan
9ea06399ba
describe instances response now shows encrypted status
2016-07-04 11:24:13 +01:00
Kieran Doonan
e8a564b6b4
ebs model now supports encrpyted volumes
2016-07-04 11:23:46 +01:00
Andrew Garrett
542248158f
Implement the meat for DescribeStackEvents
...
Right now this just adds events for the stack itself via the lifecycle
methods of the FakeStack object, but it is possible to add other kinds
of events (I left a method for that should someone need inspiration
later.)
2016-06-29 21:56:39 +00:00
Andrew Garrett
2a6f607ae5
Add DescribeStackEvents endpoint
...
It returns nothing right now because there's no backend implementation
for events (yet.)
2016-06-29 18:41:16 +00:00
Paul Cieslar
706868c7f8
describe_security_groups() support for Boto3
...
Support for list of filters
2016-06-23 11:59:58 +01:00
Mike Grima
bfa079ec4e
Added Lambda invoke capability.
2016-06-22 12:24:46 -07:00
Victor Blaga
69888c3baa
update_item takes into account ExpressionAttributeNames and ExpressionAttributeValues
...
ExpressionAttributeNames and ExpressionAttributeValues
are no longer ignored during update_item.
2016-06-21 17:45:22 +02:00
Steve Pulec
a9e54482fc
Merge pull request #631 from hummus/route53-private-zone-support
...
Route53 private zone support
2016-06-20 15:10:49 -04:00
Steve Pulec
5ed874cd6e
0.4.25
2016-06-18 20:47:49 -04:00
Steve Pulec
da14b75d0a
Merge pull request #632 from jcastillocano/master
...
Updating RDS instance status after deleting it
2016-06-18 19:41:28 -04:00
Steve Pulec
0b8de6772d
Merge pull request #639 from jessechahal/autoscale_update_and_create_tags
...
Autoscale update and create tags
2016-06-17 22:00:22 -04:00
Jesse Chahal
1d2042876e
added update_and_create_tags() to autoscale groups
2016-06-17 18:51:28 -07:00
Steve Pulec
57167b1890
Merge pull request #635 from riccardomc/master
...
Introduce ContainerInstance handling in ECS
2016-06-17 18:06:04 -04:00
Steve Pulec
37ccdf02b4
Merge pull request #636 from CloverHealth/copy_result_headers_and_body
...
Return headers and response matching AWS specification for copy_from …
2016-06-17 18:04:01 -04:00
Steve Pulec
b6d7260f7f
Merge pull request #634 from SplunkStorm/fix_cfn_error_message_and_delete_stack
...
Fix cfn error message and delete stack
2016-06-17 18:03:23 -04:00
Steve Pulec
ea43f41470
Merge pull request #625 from nfvs/fix_whitespace
...
Strip extra whitespace and newlines from SQS response templates.
2016-06-17 17:51:07 -04:00
Steve Pulec
b7a2f55afe
Merge pull request #624 from mvantellingen/store-sns-message
...
Save the sns messages in the PlatformEndpoint
2016-06-17 17:50:37 -04:00
Jesse Chahal
0efea0af2b
Implemented autoscale method create_or_update_tags
2016-06-16 17:24:50 -07:00
Riccardo M. Cefala
57f4f4aa9b
itervalues() has been dropped in python 3
2016-06-15 09:24:52 +02:00
Riccardo M. Cefala
5f2255833f
use ids instead of full arn to index ContainerInstances
2016-06-15 08:41:26 +02:00
Riccardo M. Cefala
dd7ae027cc
rename class Failure to ContainerInstanceFailure
2016-06-15 08:40:31 +02:00
Riccardo M. Cefala
b652256c43
simplify cluster existence check in register_container_instance
2016-06-14 17:58:49 +02:00
Riccardo M. Cefala
137791e960
add ECS describe_container_instances
2016-06-14 17:58:11 +02:00
Juan Carlos Castillo Cano
2c744f2a59
Adding current date as InstanceCreateTime parameter (RDS)
2016-06-14 16:45:31 +01:00
George Leslie-Waksman
48c57384c5
Return headers and response matching AWS specification for copy_from requests.
2016-06-13 13:24:09 -07:00
Riccardo M. Cefala
115f9513f6
add ECS ContainerInstance register and list actions
2016-06-11 12:52:19 +02:00
Riccardo M. Cefala
19fab4ca25
add ContainerInstance class in ecs models
2016-06-11 12:49:08 +02:00
Riccardo M. Cefala
0ea9823397
add generate_instance_identity_document in ec2 utils
2016-06-11 12:48:01 +02:00
Hitesh Ghia
d8baa957e9
Fix cfn delete stack functionality
2016-06-09 16:23:55 -07:00
Juan Carlos Castillo Cano
cae86a8eeb
Updating RDS instance status after deleting it
2016-06-09 11:33:28 +01:00
Declan Shanaghy
773a49c40d
Fix typo in message variable
2016-06-03 16:30:34 -07:00
hummus
8fa53c1453
support route53 HostedZone PrivateZone=True #627
2016-06-03 11:10:04 -04:00
Nuno Santos
68eeb5948b
Strip extra whitespace and newlines from SQS response templates.
...
Fixes #623
2016-06-02 12:26:50 +02:00
Michael van Tellingen
45ce0615e1
Save the sns messages in the PlatformEndpoint
...
This makes it easier to test the correct sns messages are sent
2016-06-02 11:02:43 +02:00
Matt Long
9b7902018f
Respect VisibilityTimeout when calling receive_message
...
Previously, receive_message would always use the queue's default
visibility timeout instead of the value passed as a query parameter when
calling the receive_message method on an SQS connection.
2016-05-31 15:13:49 -07:00
Steve Pulec
4372c346d9
Merge pull request #618 from mrucci/asg-delete-after-elb
...
ELBs can now be deleted before their autoscaling groups.
2016-05-17 21:02:13 -04:00
Steve Pulec
00becdbed4
Merge pull request #617 from mrucci/elb-duplicate-name-exception
...
Disallow creation of ELBs with duplicate names.
2016-05-17 21:01:45 -04:00
Steve Pulec
d4895d588a
Merge pull request #616 from mnussbaum/cloudformation_kms
...
Adds KMS support to mock_cloudformation
2016-05-17 21:01:12 -04:00
Marco Rucci
a330b1d346
ELBs can now be deleted before their autoscaling groups.
...
Also, fix name clash in autoscaling tests.
2016-05-15 21:17:59 +02:00
Marco Rucci
e47fc4cafc
Disallow creation of ELBs with duplicate names.
2016-05-15 20:04:00 +02:00
mnussbaum
01e5c3a384
Adds KMS support to mock_cloudformation
2016-05-13 21:36:24 +00:00
Yann Lambret
52a5346c9e
Add support for VPC attributes management, and fix a bug about the default - not default status of a VPC
2016-05-12 22:36:09 +02:00
Steve Pulec
076a6a7055
Better defaults for AMIs.
2016-05-11 18:28:34 -04:00
Steve Pulec
bd7327fca2
Fix issues around S3 deletion. Closes #606 .
2016-05-08 17:14:35 -04:00
Steve Pulec
5415091d14
Merge pull request #608 from yannlambret/add-filtering-to-network-interfaces
...
Extend filtering support for elastic network interfaces
2016-05-08 16:41:22 -04:00
Yann Lambret
fdadd24ad3
Extend filtering support for elastic network interfaces
2016-05-08 00:19:01 +02:00
Steve Pulec
196e5a7d8d
Fix dynamodb2 comparisons. Closes #601 .
2016-05-05 23:39:14 -04:00
Steve Pulec
3dd44245f7
Merge pull request #604 from njl/restore_sent_messages
...
Add sent_messages back to SESBackend
2016-05-05 23:03:26 -04:00
Ned Jackson Lovely
93aed94bc7
Add sent_messages back to SESBackend
2016-05-05 23:01:24 -04:00
Steve Pulec
79addb8926
Add S3 functionality to copy range. Closes #526 .
2016-05-05 22:52:12 -04:00
Steve Pulec
6803444d61
Fix Dynamodb table key name. Closes #524 .
2016-05-05 22:14:23 -04:00
Steve Pulec
68de6feb01
Add iam remove_role_from_instance_profile. Closes #563 .
2016-05-04 22:25:46 -04:00
Steve Pulec
8ce2d3c8bf
Cleanup updating ASGs. Closes #603 .
2016-05-04 22:10:11 -04:00
Michael van Tellingen
d34dd5b08a
Implement support for sns delete_endpoint()
2016-05-02 14:34:51 +02:00
Steve Pulec
9c176671d0
0.4.24
2016-05-01 22:35:49 -04:00
Steve Pulec
c308ef4364
Fix update_auto_scaling_group. Closes #596 .
2016-05-01 22:34:16 -04:00
Steve Pulec
d82d64b8bd
Add EBS snapshot filter. Closes #525 .
2016-05-01 22:24:49 -04:00
Steve Pulec
0a10b2f738
Fix issues with unicode and slashes for S3. Closes #521 .
2016-05-01 22:03:52 -04:00
Steve Pulec
15dc619fb2
More liberal regrex for S3 region matching. Closes #580 .
2016-05-01 21:17:06 -04:00
Steve Pulec
b932343fec
Break out MissingKey as separate exception. Closes #571 .
2016-05-01 17:04:09 -04:00
Dan Felix
1988c957e0
Pass query to _key_response_head for versioning support.
2016-04-28 13:16:25 -07:00
Steve Pulec
7dcfa85fb8
Add physical_resource_id to Route53.RecordSet. Closes #595 .
2016-04-28 09:42:10 -04:00
Jesse Szwedko
6928501973
Throw exception if an update is attempted on a stack in ROLLBACK_COMPLETE
...
If a stack has a status of ROLLBACK_COMPLETE and you attempt to update
it, the AWS API throws a validation error. This updates moto to have the
same behvaior. We also uncommented a test which tests updating a stack
which passed without any additional modification -- it is unclear why
this test was commented.
Signed-off-by: Jack Lund <jack.lund@getbraintree.com>
2016-04-28 09:30:42 -04:00
Steve Pulec
a600deb96a
Fix merge conflicts and add EC2 Instance delete. Closes #576 .
2016-04-28 09:22:31 -04:00
George Leslie-Waksman
0ed7d1bb71
Add support for src_version_id to bucket copy_key op.
2016-04-27 17:08:44 -07:00
Adam Romanek
b32fbf090a
Fix security group ingress authorization for all protocols with no port spec
2016-04-26 11:00:04 +02:00
Steve Pulec
ecbb714757
Merge pull request #584 from minyoung/upsert-route53
...
Adding support for UPSERT'ing route53 records
2016-04-23 19:43:52 -04:00
Steve Pulec
6be53cf8c2
Merge pull request #594 from yannlambret/fix-security-groups
...
Fix security groups
2016-04-23 19:43:19 -04:00
Steve Pulec
224e92ba17
Merge pull request #592 from aiell0/hotifx/add-additional-instance-filters-issue-581
...
Added ec2 describe-instances filter: 'architecture'
2016-04-23 19:40:15 -04:00
Steve Pulec
1ff0aa4a65
Merge pull request #591 from vsudilov/feature/opsworks
...
Feature/opsworks
2016-04-23 19:39:34 -04:00
Steve Pulec
b6d5317b18
Merge pull request #590 from aiell0/hotfix/update-stack-response-issue-575
...
Fixes issue #575 : cloudformation update_stack response ResponseParser…
2016-04-23 19:38:11 -04:00
Steve Pulec
419859b9be
Merge pull request #585 from SplunkStorm/fix_s3_delete_path_rebase2
...
Fix multiple bugs encountered with boto3
2016-04-23 19:37:19 -04:00
Steve Pulec
2050d4ec84
Merge pull request #589 from leg100/add-trailing-slash-to-rrset-url
...
Add trailing slash to route53 rrset url path
2016-04-23 19:35:28 -04:00
Steve Pulec
1b4a9bd553
Merge pull request #588 from dhepper/elb_vpcs
...
Improved the ELBBackend
2016-04-23 19:34:40 -04:00
Yann Lambret
5a5f2f12c7
Remove useless statement
2016-04-22 19:12:26 +02:00
Yann Lambret
f9267cff6c
Fix egress rules management to autorize or revoke a security group
2016-04-20 23:01:09 +02:00
Yann Lambret
de68c94a0a
Add the default outboud rule for security groups
2016-04-19 23:50:46 +02:00
Yann Lambret
0882174126
Replace exception message by the one sent by boto, because it is used for bot ingress and egress rules
2016-04-19 23:50:12 +02:00
Lawrence Aiello
cf529ec3f9
Filter dicts have not been implemented in Moto for '%s' yet - mock_ec2
2016-04-18 16:41:57 -04:00
Vladimir Sudilovsky
768f1adb4f
opsworks: py2.6 compat str.format
2016-04-18 16:36:30 -04:00
Vladimir Sudilovsky
1ce22068ea
opsworks: impl start_instance, describe_instances
2016-04-18 15:44:21 -04:00
Lawrence Aiello
3017181862
Fixes issue #575 : cloudformation update_stack response ResponseParserError.
2016-04-18 14:37:12 -04:00
Louis Garman
09df782447
Add trailing slash to route53 rrset url path
2016-04-18 17:12:54 +01:00
Vladimir Sudilovsky
09ca1b6e0c
opsworks: impl create_instance
2016-04-15 15:44:38 -04:00
Vladimir Sudilovsky
2fe5b77861
opsworks: impl create_layers; describe_layers
2016-04-14 16:28:53 -04:00
Vladimir Sudilovsky
165bab0f97
opsworks: implement create_stack
2016-04-14 10:37:13 -04:00
Daniel Hepper
6eee995dcf
Honor Tags when creating a load balancer
2016-04-14 15:50:51 +02:00
Daniel Hepper
de4dfaac55
Return default vpc when None given.
...
Restores default behaviour
2016-04-14 15:35:59 +02:00
Daniel Hepper
35a60fbf49
Removed unwanted whitespace
2016-04-14 14:48:57 +02:00
Daniel Hepper
ce3fdaa012
Implemented subnet handling in ELB backend
...
The ELB backend now honors the Subnets parameter in CreateLoadBalancer calls. When a load balancer is created with subnets, the VPC is also set to the VPC of the subnets.
2016-04-14 14:43:03 +02:00
Yann Lambret
c793e0a23d
Filtering implementation for DHCP options sets
2016-04-13 23:19:46 +02:00
Declan Shanaghy
b152c00642
Fix multiple bugs encountered with boto3
...
* Fix path detection for deleting keys in S3 bucket
* Fix stack deletion ensure delete method exists on object
* Previous tests were using a stack with no resources
* Fix DESCRIBE_STACK_RESOURCES_RESPONSE,
* Previously untested code path
2016-04-12 13:58:17 -07:00
Min-Young Wu
826ba82f6e
Adding support for UPSERT'ing route53 records
2016-04-12 10:51:21 -07:00
Steve Pulec
100ec4e7c8
Merge pull request #579 from roger-lai/instance-az-filter
...
Added availability-zone filtering to instance collections
2016-04-09 22:28:04 -04:00
Steve Pulec
608df89bde
Merge pull request #578 from yannlambret/add-modify-subnet-attribute-support
...
Add support for 'ModifySubnetAttribute' action
2016-04-09 22:27:13 -04:00
Steve Pulec
3f61b9067b
Merge pull request #577 from beeva-antonioirizar/cloudwatch_datetime
...
Add datetime to cloudwatch's alarms
2016-04-09 22:26:22 -04:00
RogerLai
d759f3a1ad
Added availability-zone filtering to instance collections
2016-04-05 12:55:38 -04:00
Yann Lambret
6d4a48b019
Add support for 'ModifySubnetAttribute' action
2016-04-05 00:17:56 +02:00
beeva-antonioirizar
7540b5f6a6
add datetime to cloudwatch, it had in template's response but it didn't have in model and boto3 need it to work correctly
2016-04-04 15:27:34 +02:00
Jesse Vera
86b86fc066
Fixed DynamoDB 'IN' comparison function
2016-03-29 16:26:46 -05:00
Steve Pulec
1ece813131
Merge pull request #570 from digital-abyss/feature/add-private-ip-filter
...
Add ip-address and private-ip-address to the list of filters for instance filtering
2016-03-28 23:53:16 -04:00
Steve Pulec
fecbeb28a4
Merge pull request #567 from im-auld/query-filters-issue-164
...
Query filters issue 164
2016-03-28 23:52:49 -04:00
Steve Pulec
092e1b1e53
Merge pull request #566 from dmitryzv/feature-ddb-query-add-scannedcount
...
Added ScannedCount field to DynamoDB query response.
2016-03-28 23:51:27 -04:00
igartley
4bfb522020
Add ip-address and private-ip-address to the list of filters for
...
instance filtering.
These are described in
http://boto3.readthedocs.org/en/latest/reference/services/ec2.html#EC2.Client.describe_instances
and map to the instance methods of public_ip() and private_ip()
respectively
2016-03-22 18:11:20 -04:00
Ian Auld
8848995b93
Replaced dict comp with for loop for Python 2.6 compatibility
2016-03-16 22:15:58 -07:00
Ian Auld
e86b9f441c
Added filter_kwargs to response to match boto interface
2016-03-16 21:32:15 -07:00
Ian Auld
d595c60ead
Added support for query filtering"
2016-03-16 21:30:51 -07:00
Dmitry Zv
c52e9215b2
Fixed gen() doesn't have len() error.
2016-03-16 16:17:41 -06:00
Dmitry Zv
c2df7732e5
Added ScannedCount field to DynamoDB query response.
2016-03-16 15:53:29 -06:00
Lars Fronius
c94f49cc1e
Only count user-assigned tags for TagLimitExceeded
...
According to
http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/allocation-tag-restrictions.html
"Reserved prefix—aws:
AWS-assigned tag names and values are automatically assigned the aws:
prefix, which the user cannot assign. AWS-assigned tag names do not
count towards the tag limit of 10. User-assigned tag names have the
prefix user: in the Cost Allocation Report."
2016-03-15 16:50:57 +01:00
Lars Fronius
519b8e59aa
Propagate stack-level tags to resources
...
According to
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html
"All stack-level tags, including automatically created tags, are
propagated to resources that AWS CloudFormation supports. Currently,
tags are not propagated to Amazon EBS volumes that are created from
block device mappings."
2016-03-15 15:36:02 +01:00
Steve Pulec
66032ad37c
Merge pull request #560 from jstewmon/boto3-ses
...
update SES backend to support domain identities and multiple recipients
2016-03-10 08:57:29 -05:00
Steve Pulec
f797f17e5c
Merge pull request #561 from andyjones/task/iam-instance-profile-roles
...
Add roles to the list instance profiles response
2016-03-10 08:55:25 -05:00
andy
71358603ac
Add roles to the list instance profiles response
2016-03-10 09:27:52 +00:00
Jonathan Stewmon
fb06c6517e
update SES backend to support domain identities and multiple recipients
...
includes test cases for ses client with boto3
2016-03-09 10:18:50 -06:00
Andrew Garrett
2c72a86778
Support HostedZoneId in RecordSet templates
...
Signed-off-by: Jesse Szwedko <jesse.szwedko@getbraintree.com>
2016-03-07 19:25:25 +00:00
Steve Pulec
ad2dca607f
Merge pull request #557 from 2rs2ts/cf-delete-record-sets
...
Allow cloudformation to delete Route 53 RecordSets
2016-03-05 18:11:13 -05:00
Steve Pulec
aebc7c8ea3
Merge pull request #558 from spulec/apigateway
...
Apigateway
2016-03-05 18:07:20 -05:00
Steve Pulec
88f64deff9
fix py3
2016-03-05 18:01:57 -05:00
Steve Pulec
ba70d8fe8d
implement http integration.
2016-03-05 10:54:19 -05:00
Steve Pulec
95f9b3fb35
add integration responses.
2016-03-05 09:48:37 -05:00
Steve Pulec
e3ff8dc510
Add deployments
2016-03-04 18:35:03 -05:00
Steve Pulec
bd57233b10
add integrations.
2016-03-04 18:02:07 -05:00
Andrew Garrett
7779678e2c
Allow cloudformation to delete Route 53 RecordSets
...
While there isn't an API method exposed for directly deleting a Route 53
RecordSet (it's performed via POST that acts more like a PATCH than
anything
else)[http://docs.aws.amazon.com/Route53/latest/APIReference/API_ChangeResourceRecordSets.html ],
CloudFormation can have templates which contain RecordSets which refer
to zones that don't exist inside the template. Ergo, we need a way to
effect a delete upon these RecordSets when we don't have a direct
reference to the zone.
This exposes a delete method that isn't hooked up to any response (and
rightfully so), it just enables the ~polymorphic deletion behavior that
we've written into the CloudFormation implementation.
Signed-off-by: Scott Greene <scott.greene@getbraintree.com>
2016-03-03 17:53:05 +00:00
Steve Pulec
b5d5c02d75
0.4.23
2016-03-02 15:40:21 -05:00
Steve Pulec
630c668651
Merge pull request #556 from spulec/fixboto
...
Fixboto
2016-03-02 15:39:49 -05:00
Steve Pulec
75a40e4571
Wrap botocore patching in tyr/except since we do not require it to be installed.
2016-03-02 15:20:35 -05:00
Steve Pulec
d8a277ed55
Merge pull request #555 from yannlambret/fix-describe-route-tables-response
...
Fix a typo in DESCRIBE_ROUTE_TABLES_RESPONSE
2016-03-02 15:10:33 -05:00
Steve Pulec
8f80d0ecaa
Merge pull request #554 from bcavagnolo/master
...
add dynamodb pagination
2016-03-02 15:10:12 -05:00
Steve Pulec
a737fbed48
create methods
2016-03-01 18:50:06 -05:00
Yann Lambret
3afd4e0ea9
Correct a typo in DESCRIBE_ROUTE_TABLES_RESPONSE string (duplicate tagSet) that causes buggy responses
2016-03-02 00:34:45 +01:00
Brian Cavagnolo
6bab725b36
add dynamodb pagination
2016-03-01 15:00:23 -08:00
Hugo Lopes Tavares
6222f335f3
Refactor NatGateways methods to use _get_param()
2016-03-01 13:57:41 -05:00
Steve Pulec
45f92fb4c7
base rest api endpoints.
2016-03-01 12:03:59 -05:00
Hugo Lopes Tavares
c689816337
Add CloudFormation support to NatGateway model
2016-03-01 12:02:57 -05:00
Hugo Lopes Tavares
21fb961c6a
Implement NAT Gateway resource
2016-03-01 12:02:57 -05:00
Steve Pulec
9b0be24b28
Merge pull request #550 from 2rs2ts/boto3-cloudformation
...
Add XML support for cloudformation commands that lacked it
2016-03-01 11:36:23 -05:00
Steve Pulec
2e27e9edfb
remove apigateway
2016-02-29 17:11:32 -05:00
Steve Pulec
ca6ec4478d
try out unpinning boto.
2016-02-29 17:09:54 -05:00
Andrew Garrett
39d9fbcd02
Added resource deletion upon stack deletion
...
Only implemented for ASGs and LCs since they're all we cared about for
our particular problem. It should be easy to follow this pattern for
other resource types, though.
Signed-off-by: Scott Greene <scott.greene@getbraintree.com>
2016-02-29 19:50:29 +00:00
Andrew Garrett
993087f2bb
Fix AutoScalingGroup tags in DescribeAutoScalingGroups
...
I'm not certain that this is the approach that's desired. It'd be nice
to dynamically convert the keys one way or the other. Looking for
feedback.
Signed-off-by: Scott Greene <scott.greene@getbraintree.com>
2016-02-29 19:50:28 +00:00
Andrew Garrett
99af8bdb79
Convert VPCZoneIdentifier list in template resource to csv
...
Although the boto docs say to use a csv, CloudFormation templates use a
list instead:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#aws-properties-as-group-prop
Without this change, templates specifying VPCZoneIdentifier will break
as the identifier will be the repr of the list.
Signed-off-by: Scott Greene <scott.greene@getbraintree.com>
2016-02-29 19:50:27 +00:00
Andrew Garrett
da98052b18
Add support for DescribeStackResource
...
Signed-off-by: Scott Greene <scott.greene@getbraintree.com>
2016-02-29 19:50:25 +00:00
Andrew Garrett
ec10699c38
Add XML support for cloudformation commands that lacked it
...
This lets boto3's cloudformation API work with moto.
fixes #444
Signed-off-by: Scott Greene <scott.greene@getbraintree.com>
2016-02-29 19:50:23 +00:00
Steve Pulec
274a7f48a2
Merge pull request #549 from beeva-antonioirizar/remove_nexttoken_list_function
...
remove NextMarker in response list_functions (Lambda)
2016-02-27 20:28:24 -05:00
Steve Pulec
b719032279
Merge pull request #546 from scttl/sqs_attribs_fix
...
boto3 SQS set attributes fix.
2016-02-27 20:27:33 -05:00
Steve Pulec
7ec468b988
Merge pull request #545 from beeva-antonioirizar/cloudwatch_support_multiple_regions
...
Cloudwatch support multiple regions
2016-02-27 20:26:47 -05:00
Steve Pulec
941d057146
sort querystring so that tags will get matched up properly for later zip. Closes #541 .
2016-02-27 20:22:46 -05:00
beeva-antonioirizar
143a8f85ee
remove NextMarker in response list_functions
2016-02-23 17:34:49 +01:00
Scott Leishman
3fd33c03bf
boto3 SQS set attributes fix.
2016-02-19 23:32:01 -08:00
beeva-antonioirizar
4bbd2a11a7
Cloudwatch support multiple regions
2016-02-18 18:35:32 +01:00
Steve Pulec
a9d161e58e
0.4.22
2016-02-17 16:44:57 -05:00
Steve Pulec
e051fa779d
Merge pull request #544 from beeva-antonioirizar/fix_route53
...
Fix route53
2016-02-17 16:43:33 -05:00
Hugo Lopes Tavares
8f586d8637
[lambda] Use S3Key to figure out code size and SHA256
2016-02-17 16:24:17 -05:00
Hugo Lopes Tavares
39a57195a2
[lambda] Make JSON load python 3-compatible
2016-02-17 16:13:58 -05:00
Hugo Lopes Tavares
2d744c6626
[lambda] Do not duplicate defaults for LambdaFunction objects.
...
The duplication caused a bug before and this commit is a bugfix and will prevent similar bugs in the future.
2016-02-17 16:13:58 -05:00
Hugo Lopes Tavares
ac66a8eb87
[lambda] Change string format to use {0} instead of {}
2016-02-17 16:13:58 -05:00
Hugo Lopes Tavares
482751f731
[lambda] Add S3 validation for Code["S3Bucket"] and Code["S3Key"].
...
TODO: validate region.
2016-02-17 16:13:58 -05:00
Hugo Lopes Tavares
7c36fca1dd
[lambda] Add VpcConfig to the responses
2016-02-17 16:13:58 -05:00
Hugo Lopes Tavares
5f7ea2b77f
[lambda] Fix HTTP code of CreateFunction
2016-02-17 16:13:58 -05:00
Hugo Lopes Tavares
5a29ec4986
[lambda] Add support to upload functions with ZipFile
2016-02-17 16:13:58 -05:00
Hugo Lopes Tavares
75c6f6f660
[lambda] Make NextMarker a real UUID
2016-02-17 16:13:57 -05:00
Hugo Lopes Tavares
ca3babc606
[lambda] Add comment about Publish parameter
2016-02-17 16:13:57 -05:00
Hugo Lopes Tavares
576b9f683c
[lambda] Add CloudFormation support for AWS::Lambda::Function
2016-02-17 16:13:57 -05:00
Hugo Lopes Tavares
bfad9b9ed6
[lambda] Implement ListFunctions, GetFunction, and DeleteFunction
2016-02-17 16:13:57 -05:00
beeva-antonioirizar
84753aeac5
fix name method in the last commit
2016-02-17 17:44:20 +01:00
beeva-antonioirizar
b91596db32
add responses for methods don't have implemented in route53
2016-02-17 17:36:55 +01:00
beeva-antonioirizar
a621c83bf7
Comment's params is optional in create_hosted_zones. It is fix to support and templates adapted to it.
2016-02-17 15:32:38 +01:00
beeva-antonioirizar
1ac40cbaf6
add private zone in templates. Because it should have. It is always to False because it doesn't support for private zones.
2016-02-17 15:24:11 +01:00
beeva-antonioirizar
1448cf3541
add Istruncated to False in template list_hosted_zones_response in route53. Because it always has it.
2016-02-17 15:14:59 +01:00
beeva-antonioirizar
d8ed18aaac
add tag (<DescribeAlarmsResult>) to describe_alarms_template. Because it is miss and it can't work with boto3
2016-02-15 13:02:04 +01:00
Steve Pulec
63296049f1
More explicit SQS message checking. Closes #519 .
2016-02-14 17:10:17 -05:00
Steve Pulec
b9df567445
Merge pull request #536 from andyjones/task/ec2-placement
...
Support placement when starting new instances
2016-02-14 16:54:05 -05:00
Steve Pulec
117a79e103
Merge pull request #535 from beeva-antonioirizar/master
...
Add method describe_clusters and fix create_cluster, list_clusters, list_task_definitions, list_services for service ecs
2016-02-14 16:53:26 -05:00
Steve Pulec
ccc1cb42dd
Merge pull request #534 from ianfdk/master
...
Add SWF's list_open_workflow_executions and list_closed_workflow_executions
2016-02-14 16:50:53 -05:00
Steve Pulec
800f2403cf
Merge pull request #533 from kevgliss/boto3DescribeInstancesSecurityGroups
...
Ensuring boto3 can correctly identify instance security groups
2016-02-14 16:47:01 -05:00
Steve Pulec
76941dc48d
Merge pull request #531 from kevgliss/launchConfig
...
Adding additional params to response
2016-02-14 16:46:08 -05:00
andy
7120b5e4b1
Support placement when starting new instances
2016-02-10 17:59:48 +00:00
beeva-antonioirizar
d13199ba06
remove nextToken if the library doesn't support pagination, because it doesn't send nextToken if it doesn't exceed maxResults. See documentation http://docs.aws.amazon.com/cli/latest/reference/ecs/list-clusters.html
2016-02-09 18:08:55 +01:00
beeva-antonioirizar
e7d469f21d
when create_cluster without name it should create a cluster with name default. Reference documentation http://docs.aws.amazon.com/cli/latest/reference/ecs/create-cluster.html
2016-02-09 17:03:25 +01:00
beeva-antonioirizar
f89721328a
add method describe_clusters for service ecs
2016-02-09 16:59:16 +01:00
Ian Fillion-de Kiewit
4e0affc734
Fix date validation
2016-02-08 10:33:33 -05:00
Ian Fillion-de Kiewit
7fd3daa524
Fix python 3.3 tests
2016-02-08 10:14:07 -05:00
Ian Fillion-de Kiewit
0fa7f83270
Fix time checking and tests
2016-02-05 17:33:33 -05:00
Ian Fillion-de Kiewit
2389b95ee6
remove leftover ipdb
2016-02-05 15:38:36 -05:00
Ian Fillion-de Kiewit
d31105889e
Add list_closed_workflow_executions and make validation/filtering on list_open_workflow_executions better
2016-02-05 15:35:46 -05:00
kevgliss
c5016d9ddb
ensuring boto3 can correctly identify instance security groups
2016-02-04 16:03:20 -08:00
Ian Fillion-de Kiewit
93120927f7
Add list_open_workflow_executions endpoint
2016-02-04 17:14:33 -05:00
kevgliss
3ce6627826
adding additional params
2016-02-03 15:38:58 -08:00
gigimon
1ff24981ee
* add filter by instance-id for describeAdresses
2016-02-03 18:05:25 +03:00
gigimon
cd062fc5fa
* fix one place
2016-02-03 14:53:18 +03:00
Ian Fillion-de Kiewit
129b4faff8
Fix style issues
2016-02-02 14:02:37 -05:00
gigimon
52eb16d765
* change api version to 2013-10-15
2016-02-02 16:15:18 +03:00
Steve Pulec
ac4ce7d53f
0.4.21
2016-01-24 17:21:19 -05:00
Steve Pulec
31dbe61233
Fix s3 url regex. Closes #516 .
2016-01-24 17:15:21 -05:00
Steve Pulec
eba9033cc9
cleanup flask paths with trailing slashes.
2016-01-24 17:13:32 -05:00
Steve Pulec
a7938ed9ec
Fix s3 url regex to ensure path-based bucket and key does not catch.
2016-01-24 16:33:50 -05:00
Steve Pulec
f35986b3fc
Merge pull request #517 from DenverJ/volume_snapshot_filters
...
Add filter for volume-id on volumes.
2016-01-24 16:19:55 -05:00
Daniel Miller
35a89da273
Fix delete keys with werkzeug request
2016-01-22 12:44:57 -05:00
Daniel Miller
89d5c72d86
Fix delete keys detection with werkzeug request
2016-01-22 12:44:12 -05:00
Denver Janke
ee33ff582c
Add filter for volume-id on volumes.
2016-01-20 12:24:33 +10:00