Steve Pulec
6fa51ac3b4
Setup pypi automatic publishing.
2019-06-30 22:31:21 -05:00
acsbendi
81098e3453
Implemented every validation point except for legacy parsing.
2019-06-30 20:34:01 +02:00
acsbendi
d2b0812edc
Added more tests.
2019-06-30 20:33:17 +02:00
acsbendi
e133344846
Implemented validating action prefixes.
2019-06-30 18:48:27 +02:00
acsbendi
50745fc5c0
Fixed resource exist validation and implemented actions exist validation.
2019-06-30 18:00:16 +02:00
acsbendi
55f9040296
Fixed old unit tests in test_iam that didn't use valid IAM policies.
2019-06-30 17:57:50 +02:00
acsbendi
4748c6b073
Enabled validating policies for all operations similar to CreatePolicy.
2019-06-30 17:35:26 +02:00
acsbendi
ef20b47f97
Implemented checking policy documents for syntax errors.
2019-06-30 17:09:55 +02:00
acsbendi
99336cbe6a
Reorganized tests using a generator method and fixed error messages.
2019-06-30 17:04:02 +02:00
acsbendi
896f7b6eb2
Added more tests.
2019-06-30 16:36:49 +02:00
acsbendi
a4b850aab9
Added test cases for mutually exclusive elements.
2019-06-30 14:03:18 +02:00
acsbendi
f0e9ea4e72
Created tests for policy documents.
2019-06-30 13:47:17 +02:00
acsbendi
c799b1a122
Fixed being able to create more than 5 policy versions.
2019-06-29 19:01:43 +02:00
acsbendi
6f5948af33
Fixed is_default is not reset on old default version.
2019-06-29 18:55:19 +02:00
acsbendi
ed01ceddc8
Fixed IsDefaultVersion value returned with an uppercase first letter.
2019-06-29 18:29:18 +02:00
acsbendi
3cd373f1f9
Created failing tests.
2019-06-29 18:15:01 +02:00
IVIURRAY
cd666758f6
one liner
2019-06-27 20:13:36 +01:00
IVIURRAY
4ce0e6bbcb
add extra test for ProjectionExpression using scan with ExpressionAttributes
2019-06-27 19:37:46 +01:00
IVIURRAY
949637a14c
remove debug
2019-06-27 19:12:53 +01:00
IVIURRAY
b60097fab2
improve test case
2019-06-27 19:08:32 +01:00
Garrett Heel
467f669c1e
add test for attr doesn't exist
2019-06-27 11:49:08 -04:00
Matthew Stevens
83082df4d9
Adding update_item and attribute_not_exists test
2019-06-26 23:22:07 +01:00
Matthew Stevens
6303d07bac
Fixing tests
2019-06-26 23:20:55 +01:00
Matthew Stevens
9450328527
Deleting unnecessary dynamodb2 file
2019-06-26 23:20:55 +01:00
Matthew Stevens
8a90971ba1
Adding test cases for #1587
2019-06-26 23:20:55 +01:00
Matthew Stevens
6fd47f843f
Test case for #1819
2019-06-26 23:20:55 +01:00
Matthew Stevens
57b668c832
Using Ops for dynamodb condition expressions
2019-06-26 23:20:55 +01:00
Matthew Stevens
2712654518
Using Ops for dynamodb expected dicts
2019-06-26 23:20:55 +01:00
Matthew Stevens
1a2fc66f84
Adding dynamodb2 expression parser and fixing test cases
2019-06-26 23:20:16 +01:00
IVIURRAY
e50ce7287d
ProjectionExpression works with table.scan()
2019-06-26 21:54:48 +01:00
Adam Bruehl
7cc1afa25f
ELBv2 LBs names must be 32 char or shorter
2019-06-26 11:56:17 -04:00
Juan Martinez
2275c53b3e
Update lists of implemented services and endpoints ( #2258 )
2019-06-25 00:43:35 +01:00
Bendegúz Ács
e0078a781a
Fixed random_suffix()
2019-06-18 15:27:07 +02:00
Niels Laukens
5f46aa8c50
Reduced readability to please flake8
2019-06-18 11:04:19 +02:00
Niels Laukens
a5d1b22534
Fix CloudFormation usage
2019-06-18 11:04:03 +02:00
Juan Martinez
9a26c92e72
Delete ECR image when it has no tags
...
This is a bug fix to my initial work when implementing
batch_delete_image. Deleting the last tag for a given image should
delete the image from the backend.
I also cleaned up the tests previously-added in the initial
implementation.
2019-06-17 13:41:35 -04:00
Niels Laukens
6e97881896
Route53 Delete: respect the given Type
2019-06-17 15:53:32 +02:00
Hunter Jarrell
bb44af2ccf
Add CreateDate to iam list_groups_for_user.
...
Add the CreateDate field to the list_groups_for_user to match the
correct AWS response. Fixes #2242
2019-06-14 15:50:37 -04:00
Niels Laukens
9ef69a617a
Route53 get_record_sets: sort names lexicographically
2019-06-14 17:07:59 +02:00
Niels Laukens
a9319fad04
Route53 get_record_sets: filter type after name
...
According to the documentation [1], name should be filtered first,
followed by type.
> If you specify both Name and Type
> The results begin with the first resource record set in the list
> whose name is greater than or equal to Name, and whose type is
> greater than or equal to Type.
[1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_ListResourceRecordSets.html
2019-06-14 16:15:14 +02:00
Don Kuntz
17b8ce7df0
Update implementation coverage with current glue coverage
2019-06-11 14:32:55 -05:00
Don Kuntz
df2d2ac6b4
Add endpoints to glue for deleting partitions
...
Specifically add glue.delete_partition and glue.batch_delete_partition.
2019-06-11 14:32:50 -05:00
Don Kuntz
df493ea18d
Add glue.batch_delete_table, and fix glue.batch_create_partition to respond correctly ( #2233 )
...
* Fix glue.batch_create_partition to only respond with Errors if Errors occurred
* Add glue.batch_delete_table endpoint
* Remove unused variable
2019-06-10 20:14:30 +01:00
Bendegúz Ács
ab8a189bbf
Fixed policy version's Document type for AWS managed policies ( #2234 )
...
* Added checking Document's type in AWS managed policy version response.
* Fixed policy version's Document type for AWS managed policies.
2019-06-10 20:00:37 +01:00
Don Kuntz
3833449b36
Add batch_create_partition endpoint to Glue client ( #2232 )
...
* Add batch_create_partition endpoint to Glue client
* Remove exception as e from glue batch_create_partition, because it's unused
2019-06-07 09:28:10 +01:00
Bendegúz Ács
97ab7fd307
Fixes for get_policy and get_policy_version with AWS managed policies ( #2231 )
...
* Created test for get_policy with AWS managed policy.
* Created failing test for get_policy_version with AWS managed policy.
* Updated AWS managed policies.
* Fixed failing tests.
* Fixed trying to compare datetime with string in test case.
* Fixed CreateDate of AWS managed policies overwritten by their version's CreateDate.
* Fixed and improved tests for managed AWS policies.
* Added test for AWS managed policy with v4 default version.
* Fixed not correctly returning dates for AWS managed policies.
2019-06-06 13:36:39 +01:00
Juan Martinez
ed93821621
Set ECR imagePushedAt to current date and time ( #2229 )
2019-06-06 13:34:10 +01:00
Pall Valmundsson
d25a7ff936
Uniform IAM datetime ISO 8601 handling ( #2169 )
...
`str(datetime.utcnow())` returns a timestamp that's not of the same
format as the AWS SDK uses, in short it's missing the `T` between the
date and the time.
This causes issues for e.g. Terraform and probably other AWS Go SDK
users. There seems to be some differences between endpoints whether they
return milliseconds or not, the AWS API docs were reviewed and the
decision whether to return timestamps with milliseconds or not based on
the example response documented.
As the timstamps are generated for uniqueness rather than being
hardcoded and then directly cast to a UTC (Z) formed timestamp pytz was
removed as timezone correctness is probably not important.
2019-06-02 19:18:50 +01:00
Elliott Butler
9bd15b5a09
Fix route53 alias response.
...
This commit
* includes the work by @elliotmb in #1694 ,
* removes the AliasTarget.DNSName copy into a RecordSet.Value,
* fixes and adds tests.
2019-05-31 10:54:18 +01:00
Juan Martinez
664b27d8e7
Implement ECR batch_delete_image ( #2225 )
...
This implements the endpoint in spulec #2224
2019-05-30 18:16:19 +01:00