* 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>
* 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
* 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
* 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
* 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
* .
* 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
* 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
* 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>
* 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
* 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>