gruebel
158db1f5d6
Move exception to dedicated class
2019-11-21 22:03:25 +01:00
Chagui-
e6a12f5bd7
-Applied Black
2019-11-21 17:57:45 -03:00
Chagui-
f5ba01c867
-Fixed forever
...
-Added test_describe_thing_group_metadata_hierarchy to test new functionality
2019-11-21 17:16:34 -03:00
Mike Grima
2af4e7a63a
Merge pull request #2578 from mikegrima/fixunmock
...
Fix for moto not unmocking
2019-11-20 10:06:51 -08:00
Bert Blommers
1d85288244
Ensure Flask sends through custom error messages
2019-11-20 08:57:38 +00:00
Bert Blommers
0ea98f22ee
Merge branch 'master' into feature/2546
2019-11-19 08:00:59 +00:00
Mike Grima
bd777cad44
Fix for moto not unmocking.
...
- Fixes #2575
- Also upgraded Travis CI to make use of Bionic instead of Xenial
- This may also address concerns raised in #1793
2019-11-18 15:28:31 -08:00
Matt Conway
d9c8bdb2a0
Add the ssh_public_key methods that were missing from the IAM implementation
2019-11-18 09:02:32 -05:00
Mike Grima
27f36a7514
Fixed the Lambda invocation due to lambci changes.
...
It looks like lambci is pre-pending the "lambda" responses with an
escape character `\033`. This was breaking the unit tests.
2019-11-17 18:40:15 -08:00
Mike Grima
dab7f9fdad
Merge pull request #2574 from gruebel/add-iam-get-account-summary
...
Add iam.get_account_summary
2019-11-17 15:53:34 -08:00
gruebel
d0ef72725c
Add organizations.untag_resource
2019-11-17 15:28:38 +01:00
gruebel
c10afa3ab5
Add organizations.list_tags_for_resource
2019-11-17 15:10:38 +01:00
gruebel
febec75364
Add organizations.tag_resource
2019-11-17 14:52:57 +01:00
gruebel
e9c3cba4d6
Fix tests
2019-11-17 14:34:00 +01:00
gruebel
d05ebadce8
Add iam.get_account_summary
2019-11-17 13:47:19 +01:00
Bert Blommers
c6dd3c96ea
AWSLambda - refactor exception handling
2019-11-17 10:59:20 +00:00
Mike Grima
e70ad8fd12
Merge pull request #2569 from gruebel/fix-sns-publish-number-type
...
Fix sns.publish with number type and 0 value
2019-11-16 10:24:09 -08:00
Mike Grima
9a30b8e8d5
Merge pull request #2552 from bblommers/IAM-role-name-validation
...
IAM - Validate duplicate role names
2019-11-16 10:22:51 -08:00
Mike Grima
028aafd05b
Merge pull request #2555 from catherinetcai/feature/ec2-vpc-classic-link
...
Adds basic implementations for vpc-classic-link and vpc-classic-link-dns-support - Redo
2019-11-16 10:21:29 -08:00
Bert Blommers
e025ccfd06
Ensure IAM Policy names are unique in tests
2019-11-16 17:36:50 +00:00
Bert Blommers
85570f0abe
IAM - Add Validation on duplicate policy names
2019-11-16 17:36:50 +00:00
Bert Blommers
422bca8e90
IAM - Add Validation on duplicate role names
2019-11-16 17:33:59 +00:00
gruebel
3d5d477f7f
Fix sns.publish with number type and 0 value
2019-11-16 14:46:05 +01:00
Steve Pulec
dddb9dd4d2
Merge pull request #2536 from edekadigital/add-events-event-bus
...
Add events event bus
2019-11-15 16:38:51 -06:00
Mike Grima
8cc55003f7
Merge pull request #2550 from bblommers/fix_available_ip_addresses_subnets
...
Fix available ip addresses subnets
2019-11-15 12:52:26 -08:00
Mike Grima
60a5a06d23
Merge pull request #2564 from bblommers/bugfix/2562
...
#2562 - DynamoDB - allow updates to be of a different type
2019-11-15 11:08:35 -08:00
Mike Grima
3afb93d9db
Merge pull request #2548 from bblommers/feature/implement-iam-delete-group-endpoint
...
Feature/implement iam delete group endpoint
2019-11-15 10:52:21 -08:00
Mike Grima
4a282578c0
Merge pull request #2543 from stephenmuss/orgs-describe-create-account-status
...
Added describe_create_account_status to organizations
2019-11-15 10:41:37 -08:00
Mike Grima
7ca35514ca
Merge pull request #2542 from ianyon/create_policy_already_exist
...
Added Exception for create_policy when policy exists
2019-11-15 10:38:35 -08:00
Mike Grima
b0b962f120
Merge pull request #2541 from baolsen/datasync-improvements
...
Datasync improvements #2526
2019-11-15 10:37:52 -08:00
Mike Grima
dea4599581
Merge pull request #2554 from aacampbell/match_removal_of_smart_quote
...
Match AWS's change from smart-quote to ASCII quote
2019-11-15 10:33:05 -08:00
Bert Blommers
993819bd41
#2562 - DynamoDB - allow updates to be of a different type
2019-11-15 15:54:21 +00:00
Steven Reiling
cd0769af7e
Fix IAM instance profile tracking to reflect AWS's requirement for account-unique names
2019-11-14 17:23:44 -08:00
Cat Cai
528cf0e21d
Run black to fix linting
2019-11-12 14:51:31 -08:00
Cat Cai
9169b87748
Tests pass
2019-11-12 11:16:34 -08:00
Cat Cai
9cb105f5c2
Ensure test is sorted
2019-11-12 10:32:27 -08:00
Alexander Campbell
7e468287a0
Match AWS's change from smart-quote to ASCII quote
2019-11-12 10:05:11 +11:00
Cat Cai
3398244f14
Fix styling problems
2019-11-11 12:09:52 -08:00
Wessel van der Veen
6d52cd06cb
Adds support for enable/disable/describe vpc-classic-link-dns-support.
2019-11-11 10:55:09 -08:00
Wessel van der Veen
17cc46b91e
adds basic support for vpc-classic-link
2019-11-11 10:54:36 -08:00
Bert Blommers
179bdd6caa
#2002 - Take ElasticNetworkInterfaces into account when requesting available IP addresses
2019-11-08 16:40:17 +00:00
Bert Blommers
cd5b64b0c5
#2163 - Delete IAM group; Add test case and align error message with AWS
2019-11-08 01:19:45 -08:00
Robin Taylor
876ff476f1
Implementing delete-group endpoint and appropriate test case
2019-11-08 01:12:20 -08:00
Bert Blommers
ad23b65784
Implement CloudFormations IAMRole::GetArn
2019-11-07 11:35:07 -08:00
Bert Blommers
40aa73a12b
#2546 - AWS Lambda: Add Role validation when creating functions
2019-11-07 17:11:13 +00:00
gruebel
8075456230
Fix test for python 2.7
2019-11-06 19:15:47 +01:00
Bjorn Olsen
5cfbe2bb3d
DataSync: Task metadata and update_task
...
Travis: Moved lint check before build
Datasync: Added delete_task and delete_location
2019-11-06 19:26:59 +02:00
Stephen Muss
a6255f9801
Added describe_create_account_status to organizations
2019-11-06 20:43:21 +11:00
Ian Yon
f235fa145e
Added Exception for create_policy when policy exists
2019-11-05 15:57:38 -03:00
Steve Pulec
b19abbc63e
Merge pull request #2538 from edekadigital/fix-sns-subscribe-sms-validation
...
Fix sns.subscribe validation for sms numbers
2019-11-04 23:02:37 -06:00
Steve Pulec
1f9208e19c
Merge pull request #2534 from william-richard/add-ssm-get-parameter-history-support
...
Add ssm `get_parameter_history` support
2019-11-04 22:54:57 -06:00
Steve Pulec
4a4ca2cc4a
Merge pull request #2533 from ianyon/lambda-get-by-arn
...
Feature - Lambda get by arn and update/get function environment
2019-11-04 22:53:20 -06:00
Steve Pulec
3dbce228ec
Merge pull request #2532 from baolsen/datasync
...
Added mocks for AWS DataSync #2526
2019-11-04 22:51:23 -06:00
Steve Pulec
740dedc664
Merge pull request #2531 from bblommers/feature/2521
...
API Gateway - Implement Stage deletion
2019-11-04 22:47:50 -06:00
Steve Pulec
f679963ffa
Merge pull request #2528 from bblommers/feature/2527
...
DynamoDB - Allow nested attributes in ProjectionExpressions
2019-11-04 22:45:12 -06:00
gruebel
58daa428f3
Fix sns.subscribe validation for sms numbers
2019-11-04 22:57:53 +01:00
William Richard
715ff0f7af
Return a sensible error when the parameter is not found
2019-11-04 15:31:15 -05:00
gruebel
1d615e25b6
Add events.delete_event_bus
2019-11-04 21:31:04 +01:00
William Richard
3816eba58f
Fix linting
2019-11-04 13:04:10 -05:00
William Richard
aeb7974549
Add get_parameter_history implementation and tests
2019-11-04 12:49:09 -05:00
Bjorn Olsen
97c20dd11d
Added AWS DataSync mocks and tests
2019-11-04 17:41:46 +02:00
Ian Yon
9e2b47e82b
Applied black formatter
2019-11-04 12:22:03 -03:00
Ian Yon
577419798d
Merge from master to current branch
2019-11-04 12:14:43 -03:00
Ian Yon
90a9235f4c
Allow lambda get function by arn and addded environment configuration
2019-11-04 10:44:01 -03:00
Bert Blommers
e4b586022d
API Gateway - Linting
2019-11-04 02:02:07 -08:00
Bert Blommers
f0e2d44c5d
Make API Gateway tests Python2/3 compatible
2019-11-04 09:41:47 +00:00
Bert Blommers
2d32ee18a6
#2521 - Implement API Gateway Stage deletion
2019-11-04 09:12:24 +00:00
gruebel
831577350d
Add events.list_event_buses
2019-11-03 20:42:31 +01:00
gruebel
f1dbdc9184
Refactor events.describe_event_bus, put_permission & remove_permission
2019-11-03 19:55:58 +01:00
Bert Blommers
eaa23800bd
Linting
2019-11-03 07:33:27 -08:00
Bert Blommers
5876dc0186
Fix test - List order does not matter for projectionexpression
2019-11-03 07:14:19 -08:00
Bert Blommers
6a601d7d5c
#2527 - DynamoDB - Allow nested attributes in ProjectionExpressions
2019-11-03 14:09:27 +00:00
Bjorn Olsen
c02c0e4033
added several basic tests
2019-11-01 21:16:59 +02:00
Bjorn Olsen
9c00f572d6
First working tests!
2019-11-01 19:24:21 +02:00
gruebel
93e4d4aa9a
Add events.create_event_bus
2019-11-01 09:52:06 +01:00
gruebel
78e2714496
black format
2019-11-01 07:14:03 +01:00
gruebel
89c43820c9
Add iam.delete_account_password_policy
2019-11-01 07:07:33 +01:00
gruebel
65fa8f1a1b
Add iam.get_account_password_policy
2019-11-01 07:07:32 +01:00
gruebel
06581391bd
Add iam.update_account_password_policy
2019-11-01 07:03:27 +01:00
Asher Foa
96e5b1993d
Run black on moto & test directories.
2019-10-31 10:36:05 -07:00
Steve Pulec
54c8a7dea1
Merge pull request #2519 from yan12125/python38
...
Python 3.8 support
2019-10-30 22:52:40 -05:00
Mike Grima
8f3116220c
Merge pull request #2520 from edekadigital/refactor-sqs
...
Refactor sqs
2019-10-30 09:54:41 -07:00
Mike Grima
c613a43cb3
Merge pull request #2522 from mikegrima/configs3tagging
...
Small fix for S3-AWS Config compatibility
2019-10-29 15:40:51 -07:00
Mike Grima
503bc333ca
Small fix for S3-AWS Config compatibility
...
- Small bug in tags with AWS Config
- Aggregated results lack "tags" in the result set
- Buckets also add a supplementary configuration of
"BucketTaggingConfiguration"
2019-10-29 14:35:13 -07:00
gruebel
c5059ad3d1
Fix test server error
2019-10-28 17:21:01 +01:00
Chih-Hsuan Yen
18173a5951
Replace # flake8: noqa
with # noqa
...
The former syntax is actually a mis-use and rejected since Flake8 3.6
[1].
[1] https://gitlab.com/pycqa/flake8/merge_requests/219
2019-10-27 20:41:22 +08:00
gruebel
51117c948a
Add error handling to sqs.delete_message
2019-10-27 12:46:59 +01:00
gruebel
c3cb411c07
Refactor sqs.get_queue_attributes & add AttributeNames handling
2019-10-27 12:13:33 +01:00
gruebel
6573f69087
Refactor sqs.get_queue_url
2019-10-26 22:26:48 +02:00
gruebel
23978e644f
Refactor sqs.send_message_batch
2019-10-26 22:08:45 +02:00
gruebel
6b7294a018
Fix sns.add_permission & remove_permission
2019-10-25 17:57:50 +02:00
Mike Grima
6b67002a42
Merge pull request #2515 from Sytten/fix/delete_iot_principal_thing
...
Detach principal from thing when it is deleted
2019-10-24 12:23:09 -07:00
Emile Fugulin
2d5e2e9c2b
Detach principal from thing when it is deleted
2019-10-24 13:59:30 -04:00
Mike Grima
e9dc0c9a3a
Fixed bugs in AWS Config Querying
...
- Fixed some log bugs in the Config querying APIs
- Fixed an issue with S3 ACLs when described from Config (it's actually
a double-wrapped JSON)
2019-10-23 22:32:45 -07:00
Jack Danger
d99204369d
Flaky test fix: random bytes can look like base64
2019-10-23 16:33:09 -07:00
Jack Danger
902a35d5b9
Merge pull request #2493 from edekadigital/filter_logs_raises_if_filter_pattern
...
add NotImplementedError when filter_pattern is given to filter_log_events
2019-10-23 15:23:45 -07:00
Bert Blommers
997177e43e
#847 - Fix tests to be compatible with python3
2019-10-23 02:26:26 -07:00
Bert Blommers
730c4be1a3
#847 - DynamoDB - Implement list_append feature when updating
2019-10-23 09:12:03 +01:00
Jack Danger
b6fe526add
Merge pull request #2502 from bblommers/feature/lambda-delete-by-arn
...
Feature - Lambda Delete by arn
2019-10-22 16:02:33 -07:00
Jack Danger
a5d4a68922
Merge pull request #2501 from edekadigital/add-iam-virtual-mfa-device
...
Add iam virtual mfa device
2019-10-22 16:01:31 -07:00
Mike Grima
57dc6522f2
Merge pull request #2505 from mikegrima/configFix
...
Fixed a bug with S3 bucket policies for AWS Config
2019-10-22 15:53:18 -07:00
Mike Grima
9273db7e61
Fixed a bug with S3 bucket policies for AWS Config
2019-10-22 15:01:39 -07:00
Jack Danger
00045ae480
Merge branch 'master' into add-iam-virtual-mfa-device
2019-10-22 14:54:10 -07:00
Jack Danger
4d0099499f
Athena - implementing first two endpoints ( #2506 )
...
This implements create_work_group() and list_work_groups()
2019-10-22 14:37:29 -07:00
Jack Danger
a05c7da3bb
Implement support for lambda policies ( #2471 )
...
* Implement support for lambda policies
* Fixing two tests that weren't running
* Getting tests running under Python 2.7
2019-10-22 14:09:44 -07:00
Bert Blommers
64cf1fc2c9
Refactor DynamoDB update expressions ( #2497 )
...
* Refactor DynamoDB.update to use recursive method for nested updates
* Simplify DynamoDB.update_item logic
2019-10-22 12:40:41 -07:00
Mike Grima
a7fa132535
Merge pull request #2500 from bmwiedemann/ssl2049
...
Extend test cert validity to 2049
2019-10-22 11:39:35 -07:00
Mike Grima
fbc3301562
Merge pull request #2504 from csmurton/add-iam-delete-entity-constraints
...
Conflict detection for IAM delete_role and delete_user
2019-10-22 09:59:07 -07:00
Mike Grima
1cde5d37eb
Merge pull request #2483 from thincal/fix/list-objects-with-truncation
...
s3 list_object: return the NextMarker info if it's truncated
2019-10-22 09:57:15 -07:00
Chris Murton
f0b22fcd2f
Fix absent role deletion, Add more delete_user tests, add no conflict deletion testing
2019-10-22 15:28:59 +01:00
Chris Murton
ccdcb7ca60
Add conflict detection on IAM delete_role and delete_user
2019-10-22 14:27:49 +01:00
Bert Blommers
ce4bd5d64c
AWS Lambda - Allow function deletions by ARN
2019-10-22 09:31:37 +01:00
gruebel
802fb3baad
Connect user with virtual mfa device
2019-10-21 22:51:00 +02:00
gruebel
1d9382b5e5
Add iam.list_virtual_mfa_devices
2019-10-21 21:48:50 +02:00
Bernhard M. Wiedemann
951a5a6b00
Extend test cert validity to 2049
...
to make tests pass in 2027
Background:
As part of my work on reproducible builds for openSUSE, I check
that software still gives identical build results in the future.
The usual offset is +15 years, because that is how long I expect
some software will be used in some places.
This showed up failing tests in our package build.
See https://reproducible-builds.org/ for why this matters.
Note: I tested that i586 builds still pass tests on 2036-12-01
so are not affected by the year 2038 bug yet.
i586 builds in 2037 suffer from a y2038 bug (unrelated to this change):
botocore/utils.py parse_timestamp threw a
ValueError: Invalid timestamp "2174774434": Parser must be a string or character stream, not long
2019-10-21 17:12:16 +02:00
Selena
6590226db5
fix test for server_mode (skip test)
2019-10-21 09:32:07 +02:00
LS
b3ea4c2707
add unit test for s3 list_object with truncation
2019-10-21 15:10:26 +08:00
gruebel
c80135a6db
Add iam.delete_virtual_mfa_device
2019-10-20 23:03:20 +02:00
gruebel
9671730f16
Add iam.create_virtual_mfa_device
2019-10-20 22:39:57 +02:00
gruebel
3f3feb5bdb
Fix tests
2019-10-19 14:23:35 +02:00
gruebel
cd8027ce9d
Add iam.list_open_id_connect_providers
2019-10-18 21:15:48 +02:00
gruebel
f4af9a1d54
Add iam.delete_open_id_connect_provider
2019-10-18 21:15:48 +02:00
gruebel
c492c5c228
Add iam.get_open_id_connect_provider
2019-10-18 21:15:05 +02:00
gruebel
bd627b65f7
Add iam.create_open_id_connect_provider
2019-10-18 21:15:05 +02:00
Mike Grima
4dd347e1fe
Merge pull request #2487 from bblommers/feature/iam_delete_policy
...
Feature - [IAM] Delete Policy
2019-10-18 09:53:51 -07:00
Mike Grima
484da34022
Merge pull request #2491 from bblommers/bugfix/250
...
DynamoDB - Add validation for Query Key Expression
2019-10-18 09:52:23 -07:00
Mike Grima
c4665366a9
Merge pull request #2490 from cclauss/patch-1
...
Use ==/!= to compare str, bytes, and int literals
2019-10-18 09:51:28 -07:00
Mike Grima
382fe5bd68
Merge pull request #2481 from aacampbell/fix_getsecretmananger_error
...
Fix getsecretmananger error
2019-10-18 09:50:43 -07:00
Selena
37877c6fb2
add NotImplementedError when filter_pattern is given to filter_log_events
...
fix #2419
2019-10-18 13:46:27 +02:00
Bert Blommers
db206e994b
#250 - DynamoDB - Add check for valid query keyconditionexpression
2019-10-18 09:58:09 +01:00
Bert Blommers
deffefbfb8
PR changes
2019-10-18 09:18:12 +01:00
Christian Clauss
c3c75c12d9
Use ==/!= to compare str, bytes, and int literals
...
Python 3.8 will probably [raise SyntaxWarnings](https://docs.python.org/3/whatsnew/3.8.html#changes-in-python-behavior ) on the flake8 F632 issue raised below.
[flake8](http://flake8.pycqa.org ) testing of https://github.com/spulec/moto on Python 3.7.1
$ __flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics__
```
./tests/test_awslambda/test_lambda.py:1137:24: F632 use ==/!= to compare str, bytes, and int literals
assert len(messages) is 3
^
1 F632 use ==/!= to compare str, bytes, and int literals
1
```
2019-10-18 09:03:31 +02:00
Alexander Campbell
6120a60263
Use escape sequence to express non-ASCII character
2019-10-18 10:17:49 +11:00
gruebel
19a34ea57a
Add error handling for sqs.list_queue_tags
2019-10-17 22:38:16 +02:00
gruebel
dbfb319def
Add error handling for sqs.tag_queue
2019-10-17 22:36:37 +02:00
gruebel
65c5502a62
Add error handling for sqs.send_message_batch
2019-10-17 22:09:14 +02:00
Bert Blommers
856a06a778
IAM - Delete Policy implementation
2019-10-17 09:28:19 +01:00
Harrison Termotto
f788fd5c8c
Remove erroneous comment
2019-10-17 00:17:45 -04:00
Harrison Termotto
df2de373b2
Add tagging to versioned s3 objects.
2019-10-17 00:16:16 -04:00
Mike Grima
16a0e93259
Merge pull request #2484 from koshigoe/bugfix/check-none-in-s3-model-get_key
...
Avoid exception occur in `moto.s3.models.S3Backend.get_key`
2019-10-16 10:29:19 -07:00
koshigoe
98f33740e1
fix(s3): check whether key is None or not to avoid exception.
...
```
AttributeError: 'NoneType' object has no attribute 'multipart'
```
2019-10-16 18:13:59 +09:00
Alexander Campbell
8eba88d1af
Fix python2 unicode-in-exceptions issue for tests
2019-10-16 15:16:38 +11:00
Alexander Campbell
9a54cea4f1
Work around python2 unicode exception str() issues
2019-10-16 14:44:41 +11:00
Alexander Campbell
d74f9e47c8
Add coding hint for python2 compatibility
2019-10-16 12:44:30 +11:00
Alexander Campbell
9d6a1ca81d
Fix slightly incorrect message for some errors
2019-10-16 10:58:59 +11:00
Alexander Campbell
381e7b165f
Raise appropriate error when secret exists but has no value
2019-10-16 10:55:03 +11:00
Stephen Huff
7b1cf9eecd
fix(rds2): handle create_db_instance when AllocatedStorage is not specified
...
In all of the tests of `create_db_instance()`, the `AllocatedStorage`
parameter is provided. The [RDS API
reference](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html )
says this parameter is optional; however, when none is provided, moto
returns an obscure error message:
```
self = <botocore.parsers.QueryParser object at 0x113745890>, shape = <Shape(Integer)>, text = 'None'
@_text_content
def _handle_integer(self, shape, text):
> return int(text)
E ValueError: invalid literal for int() with base 10: 'None'
/usr/local/Cellar/pyenv/1.2.13_1/versions/3.7.4/envs/rds_encrypt/lib/python3.7/site-packages/botocore/parsers.py:466: ValueError
```
This PR adds default values that correspond to the current default API
behaviors.
2019-10-15 16:18:37 -04:00
Mike Grima
4da9ec1346
Merge pull request #2442 from titibike/sns_subscription_attributes
...
Issue #2441 Add informations in SNS subscriptions `attributes`
2019-10-15 10:05:20 -07:00
Ivan Dromigny
123209515c
Change test
2019-10-15 16:12:22 +02:00
Mike Grima
cc96a5e659
Merge pull request #2357 from brodie-g/master
...
Existing user now raises a UsernameExistsException
2019-10-14 09:33:56 -07:00
Ivan Dromigny
02fc1fbcef
Add a test
2019-10-14 18:03:01 +02:00
Bert Blommers
009a97db85
Merge branch 'master' into bugfix/1823
2019-10-14 10:02:22 +01:00
Bert Blommers
106692ed88
#1823 - Add support to delete items from a nested list
2019-10-14 09:59:52 +01:00
Mike Grima
35d2f938af
Merge pull request #2478 from mikegrima/configbatch
...
Added AWS Config query batching capabilities
2019-10-13 19:31:13 -07:00
Steve Pulec
2118fc415a
Merge pull request #2477 from edekadigital/add-sqs-tags
...
Add tags parameter to sqs.create_queue
2019-10-13 16:51:21 -05:00
Mike Grima
96f0666df9
Added AWS Config batching capabilities
...
- Support for aggregated and non-aggregated batching
- Currently only implemented for S3
2019-10-13 12:28:09 -07:00
gruebel
ce3f1eed66
fix test server error
2019-10-13 20:32:53 +02:00
Mike Grima
893f0d4f83
Merge pull request #2463 from gruebel/fix-dynamodb-get-item-ProjectionExpression
...
Add ProjectionExpression & ExpressionAttributeNames to DynamoDB get_it…
2019-10-13 10:47:25 -07:00
Mike Grima
e2a27d8206
Merge pull request #2476 from mikegrima/configquery
...
Added initial support for querying AWS Config for S3
2019-10-13 10:40:18 -07:00
Mike Grima
2a2c3e80f0
Adding support for querying the AWS Config resource for S3.
...
- Need to add support still for batch requests and batch aggregation requests in a future PR
2019-10-13 10:14:15 -07:00
gruebel
49045fe680
Add tags parameter to sqs.create_queue
2019-10-13 14:51:31 +02:00
Mike Grima
e7f1ab3290
Merge pull request #2475 from edekadigital/add-sns-tags
...
Add sns tags
2019-10-12 15:42:25 -07:00
Mike Grima
c46ee4cf8d
Merge pull request #2474 from jrstarke/2473
...
Added Exception to describe_container_instances to match aws api
2019-10-12 15:41:02 -07:00
Mike Grima
f14d5ca6cb
Merge pull request #2470 from JackDanger/jackdanger/kinesis-extended-s3-config
...
Supporting more modern Firehose features
2019-10-12 15:38:57 -07:00
Mike Grima
d0a6c4380b
Merge pull request #2469 from bblommers/bugfix/2384
...
DynamoDB - Fixes query sorting on numerical values
2019-10-12 15:37:56 -07:00
gruebel
26ef792690
Add sns.untag_resource
2019-10-12 21:10:51 +02:00
gruebel
726775678c
Add sns.tag_resource
2019-10-12 20:37:59 +02:00
Jamie Starke
017cbb52ca
Added Exception to for describe_container_instances to match aws api
2019-10-11 22:13:55 -07:00
gruebel
8d527743d5
Add sns.list_tags_for_resource
2019-10-11 17:58:48 +02:00
gruebel
97c4174f30
Extract projection_expression adjustment
2019-10-11 14:30:25 +02:00
Jack Danger
0723fcf6e7
Supporting more modern Firehose features
...
This implements ExtendedS3DestinationConfiguration, allowing
serialization to Parquet and ORC formats as part of a Firehose
destination.
2019-10-10 17:44:09 -07:00
Steve Pulec
31198c75b8
Merge pull request #2457 from bblommers/feature/dynamodb_streams_invoke_lambda
...
Feature: Add option for DynamoDB stream to kick off lambda
2019-10-10 17:05:43 -05:00
Steve Pulec
34d4379b9f
Merge branch 'master' into bugfix/2384
2019-10-10 17:02:59 -05:00
Steve Pulec
359d6c9099
Merge pull request #2464 from sethblack/lambda-update-function-code-and-configuration
...
added UpdateFunctionCode and UpdateFunctionConfiguration and associat…
2019-10-10 17:01:31 -05:00
Bert Blommers
cf899eecff
#2384 - Add test case
2019-10-10 09:33:11 +01:00
Seth Black
dff24cb032
bringing up test percentage
2019-10-09 16:20:53 -05:00
Seth Black
20dc8ae5c4
getting tests working in server mode
2019-10-09 15:15:10 -05:00
Bert Blommers
afb8f71e9f
#1822 - DynamoDB: Add List index operations
2019-10-09 17:30:42 +01:00
Bert Blommers
e759b565da
#1874 - Change tests to use resource/client when appropriate
2019-10-09 10:02:40 +01:00
Bert Blommers
1fb844972f
Merge branch 'master' into bugfix/1874
2019-10-09 08:33:53 +01:00
Seth Black
41af98c98b
added UpdateFunctionCode and UpdateFunctionConfiguration and associated test cases
2019-10-08 15:59:03 -05:00
gruebel
cb43796daf
Add ProjectionExpression & ExpressionAttributeNames o DynamoDB get_item & batch_get_item
2019-10-08 22:30:14 +02:00
Bert Blommers
c9348bc45c
#1874 - Add tests for more complex items
2019-10-08 15:51:46 +01:00
John Newman
27237693c3
add tags to usage plan testing
2019-10-08 12:45:47 +01:00
Bert Blommers
91b13f998f
Feature: Add option for DynamoDB stream to kick off lambda
2019-10-07 11:11:22 +01:00
gruebel
c9d69681ec
Add evaluation of ConditionExpression to DynamoDB2 delete_item
2019-10-06 16:49:02 +02:00
Bert Blommers
dc89b47b40
#1874 - Count item size based on contents of actual dictionary
2019-10-06 14:08:58 +01:00
Mike Grima
e71c06738c
Merge pull request #2454 from mikegrima/s3lifecycle
...
Made fixes to the S3 Lifecycle mocks to be more consistent with the API
2019-10-05 12:56:33 -07:00
Mike Grima
7761542754
Merge pull request #2453 from gruebel/fix-ssm-ParameterStringFilter
...
Add ParameterFilters to SSM describe_parameters
2019-10-05 12:29:53 -07:00
Mike Grima
ab0853cddc
Made fixes to the S3 Lifecycle mocks to be more consistent with the API.
2019-10-05 12:29:09 -07:00
Bert Blommers
4dec187d80
#1834 - Check item size in DynamoDB
2019-10-05 15:20:43 +01:00
gruebel
2cfd3398f6
Add ParameterFilters to SSM describe_parameters
2019-10-05 14:05:47 +02:00
Bert Blommers
d86dcb2ee9
Merge pull request #4 from ZoidBB/master
...
Initial work by ZoidBB
2019-10-05 10:18:17 +01:00
Steve Pulec
7de11b672b
Merge pull request #2449 from nadlerjessie/events-and-ecs-multi-region
...
Events and ecs multi region
2019-10-03 16:20:30 -05:00
Steve Pulec
59543c404a
Merge pull request #2450 from jimjshields/add-ecs-service-tag-resource
...
Add support for tagging and untagging ECS services
2019-10-03 16:04:14 -05:00
Mike Grima
d925335f05
Merge pull request #2443 from mikegrima/configquery
...
Adding support for querying AWS Config
2019-10-03 13:38:43 -07:00
Jim Shields
6cb1173719
Add tag_resource and untag_resource for ECS services
...
* Refactor resource ARN parsing
2019-10-03 15:16:07 -04:00
Jessie Nadler
277cec0928
Add multi region support for Events
2019-10-03 15:15:11 -04:00
Jessie Nadler
4fe66f521d
Use region to create and describe ECS resources
2019-10-03 15:12:05 -04:00
Mike Grima
60183b29c1
Merge pull request #2447 from bblommers/bugfix/2445
...
#2445 - DynamoDB - Add validation for AttributeDefinitions
2019-10-03 11:52:29 -07:00
Mike Grima
af48133ba5
Merge pull request #2448 from jthorniley/features/stepfunctions-fix-arn
...
Stepfunctions minor improvements
2019-10-03 11:50:37 -07:00
Mike Grima
567a6da31d
Merge pull request #2439 from Kerl1310/feature/send_templated_email
...
#2437 Implementing send_templated_email
2019-10-03 11:49:45 -07:00
Mike Grima
b9c1d5a91f
Merge pull request #2436 from yan12125/s3-copy-key-with-question-mark
...
Fix copying S3 objects with question marks in keys
2019-10-03 11:48:08 -07:00
Mike Grima
1cae78ad2f
Merge pull request #2435 from waynemetcalfe/issue-2432
...
Issue 2432
2019-10-03 11:47:13 -07:00
Mike Grima
c4b310d7a5
Adding support for querying AWS Config for supported configurations.
...
At this time, only adding support for S3.
2019-10-03 11:43:56 -07:00
Jim Shields
d8333fdd7e
Add support for tagging of ECS services
...
* Add tags to create_service
* Add service to list_tags_for_resource
2019-10-03 14:30:08 -04:00
James Thorniley
31310760ea
stepfunctions: start_execution accepts name arg
2019-10-03 14:47:24 +01:00
James Thorniley
33398d628f
fix: iam role arn should have two colons
2019-10-03 14:00:33 +01:00
Bert Blommers
c783b8721f
#2445 - DynamoDB - Fix tests after adding AttributeDefinitions-validation
2019-10-03 11:57:14 +01:00
Bert Blommers
6005b19ac2
#2445 - DynamoDB - Add validation for AttributeDefinitions
2019-10-03 10:54:10 +01:00
Kyle Jones
1d5140e11d
Implementing send_templated_email
2019-10-02 08:39:35 +01:00
Chih-Hsuan Yen
6c0a2dc374
Fix copying S3 objects with question marks in keys
...
PR #2062 fixes copy for unicode keys. However, the change breaks keys
with question marks. Here is an alternative fix that works for both
emojis and question marks.
I notice this when running the test suite of aiobotocore. One of the
tests [1] is broken with moto >= 1.3.8.
[1] https://github.com/aio-libs/aiobotocore/blob/0.10.3/tests/test_basic_s3.py#L314-L329
2019-09-29 23:55:52 +08:00
Wayne Metcalfe
9c66839f85
feat: implement logs untag_log_group
2019-09-26 20:20:53 +01:00
Wayne Metcalfe
0561a0050f
feat: implement logs tag_log_group
2019-09-26 19:57:34 +01:00
Wayne Metcalfe
3cb7c3e568
feat: implement logs list_tags_log_group
2019-09-26 17:04:09 +01:00
Steve Pulec
23c1696b72
Merge pull request #2430 from jessevogt/handle-url-encoded-keys
...
Fix for #2431 delete objects fails with url encoded key
2019-09-25 20:55:42 -05:00
Steve Pulec
9cc6a1533f
Merge pull request #2409 from bblommers/feature/stepfunctions
...
Step Functions - basic method implementation
2019-09-24 18:16:07 -05:00
Jesse Vogt
3b4cd1c27b
switch from calling clean in loop to undoing clean in delete_keys
2019-09-24 17:07:58 -05:00
Jesse Vogt
2df0309db5
unquote key name multiple times until stable value
2019-09-24 16:10:08 -05:00
Steve Pulec
86fc340ffd
Merge pull request #2428 from mangin/get_log_events_problem
...
fix tail message problem in get_log_events
2019-09-23 21:44:36 -05:00
Steve Pulec
6795a219cd
Merge pull request #2417 from Gapex/fix-MaxKeys
...
MaxKeys limits the sum of folders and keys
2019-09-23 21:38:26 -05:00
Steve Pulec
cbe1ff1974
Merge pull request #2422 from kiyonori-matsumoto/dynamodb-and-order
...
fix: raises ValueError on conditional and operator
2019-09-23 21:35:08 -05:00
Aleksandr Mangin
b163f23a22
fix tail message problem in get_log_events
2019-09-23 18:35:44 +02:00
Gapex
d8e69a9a36
list with prifix
2019-09-17 12:44:48 +08:00
Gapex
a466ef2d1b
check key & common prefix in unit test'
2019-09-17 12:42:33 +08:00
Gapex
1c36e1e2c5
update unit test and fix StartAfter
2019-09-17 10:42:10 +08:00
Kiyonori Matsumoto
7ee35a8510
fix: raises ValueError on conditional and operator
...
if lhs evaluates to false, rhs must be ignored, but rhs was evaluated then ValueError is occurred.
2019-09-16 23:33:52 +09:00
Gapex
c04c72d435
update MaxKeys unite test
2019-09-16 18:09:42 +08:00
Gapex
84715e9a2a
add truncate unite test
2019-09-16 16:46:19 +08:00
mattsb42-aws
4c7cdec965
fix encoding for Python 2 in KMS tests
2019-09-13 14:08:26 -07:00
mattsb42-aws
24832982d4
convert tests from boto to boto3 and add unicode plaintext vector to test auto-conversion
2019-09-13 13:32:19 -07:00
mattsb42-aws
c44178f2f7
add tests for invalid values passed to generate_random
2019-09-13 13:19:11 -07:00
mattsb42-aws
9a095d731a
add tests for invalid aliases in describe_key
2019-09-13 13:01:55 -07:00
mattsb42-aws
aa6b505415
fix tests to expect the correct error
2019-09-12 17:42:43 -07:00
mattsb42-aws
f4c5dfbdfb
reorganize and centralize key ID validation
2019-09-12 17:42:40 -07:00
Jessie Nadler
2b8bdc9bca
Validate elbv2 FixedResponseConfig attributes
2019-09-12 12:29:03 -04:00
Jessie Nadler
2983a63c0d
Allow fixed-response action type for elbv2
2019-09-12 12:25:43 -04:00
Steve Pulec
b8a79611d6
Merge pull request #2397 from mattsb42-aws/kms
...
Making kms:Encrypt/Decrypt/GenerateDataKey more real
2019-09-11 22:13:33 -05:00
Steve Pulec
aa896a0c2e
Merge pull request #2294 from spulec/fix-responses-mocking
...
Cleanup responses mocking. Closes #1567
2019-09-11 22:06:36 -05:00
Steve Pulec
e5311eb6f6
Merge pull request #2415 from brunog3/fix-iam-policy-statements-with-empty-sid
...
Fix multiple IAM Policy Statement creation with empty sid
2019-09-11 22:04:35 -05:00
Steve Pulec
f8cde9da9d
Merge pull request #2414 from harveywi/wjh-fix-reregister-taskdefinition-unit-test
...
Fix/tighten AWS Batch test_reregister_task_definition unit test
2019-09-11 22:03:36 -05:00
Steve Pulec
7a01b7ce9e
Merge pull request #2412 from joolean/issues/2189
...
Prevent overlapping expr name prefixes from corrupting projection expr
2019-09-11 22:02:34 -05:00
Steve Pulec
ff3e3de387
Merge pull request #2403 from wesselvdv/feature/cognito-describe-identity-pool
...
Adds Cognito Identity describe-identity-pool
2019-09-11 21:53:08 -05:00
Steve Pulec
d88e1fbdda
Merge pull request #2402 from gruebel/fix-sqs-maxReceiveCount
...
Store SQS RedrivePolicy maxReceiveCount value as int
2019-09-11 21:52:16 -05:00
Steve Pulec
0f3957ffad
Merge pull request #2399 from dkuntz2/route53-fix-empty-tags
...
Don't error out on route53.list_tags_for_resource when resource has no tags
2019-09-11 21:50:25 -05:00
Steve Pulec
12ad7d0ded
Merge pull request #2398 from RDProjekt/leading-double-slashes
...
Allows leading // for mocked s3 paths (fix for #1637 )
2019-09-11 21:49:53 -05:00
Steve Pulec
13c4f2e794
Merge pull request #2343 from danguer/support-iterator-type-at-after-sequence
...
Adding support for AT_SEQUENCE_NUMBER and AFTER_SEQUENCE_NUMBER
2019-09-11 21:48:55 -05:00
Steve Pulec
c81de6e381
Merge pull request #2393 from cm-iwata/fix_device_shadow_ver_conflict
...
fix #2392 Add validation for device shadow version
2019-09-11 21:46:46 -05:00
Steve Pulec
8867e91f9e
Merge pull request #2391 from gruebel/master
...
Add exact Number, exact String.Array and attribute key matching to SN…
2019-09-11 21:46:06 -05:00
Steve Pulec
ac8d3c6792
Merge pull request #2390 from gdippolito/master
...
Add tag support to API Gateway keys
2019-09-11 21:45:08 -05:00