martynaspaulikas
9418a6916d
Fix tests and functionality of get_access_key_last_used()
2018-11-27 16:12:41 +00:00
martynaspaulikas
7189d019df
Implemented get_access_key_last_used
...
Written test that still does not work due to:
ParamValidationError: Parameter validation failed:
Unknown parameter in input: "UserName", must be one of: AccessKeyId
Refactored update_access_key and delete_access_key functions
2018-11-27 11:28:09 +00:00
Steve Pulec
75f2c56a36
Fix ecs error response to be json.
2018-10-30 22:03:16 -04:00
Steve Pulec
71a054af92
Merge pull request #1882 from georgealton/add_keyId_support_to_get_usage_plans
...
Adds keyId support to apigateway get_usage_plans
2018-10-17 23:50:42 -04:00
George Alton
2d2708cfd7
Missing users now raise a UserNotFoundException
...
A missing user in a cognito user pool has raises a UserNotFoundException,
not a ResourceNotFoundException. This commit corrects the behaviour so
that the correct exception is raised
2018-10-17 18:39:52 +01:00
George Alton
d919024510
Adds keyId support to apigateway get_usage_plans
...
apigateway is able to filter the result set, returning only usage plans
with the given keyId.
This commit supports filtering the usage plans returned to the user by
filtering the list of usage plans by checking for usage plan keys
2018-10-17 13:44:00 +01:00
Steve Pulec
2aad36f984
Merge pull request #1880 from garyd203/cognitoidp-user-enabled
...
Be able to change `enabled` status for cognito-idp users
2018-10-16 23:24:44 -04:00
Gary Donovan
1b42c7bf7a
Be able to change enabled
status for cognito-idp users
2018-10-17 11:28:24 +11:00
Mike Grima
8ae1a2b357
Fixes for IAM Groups
2018-10-16 17:14:23 -07:00
Steve Pulec
fb5654a5dc
Merge pull request #1862 from dcosson/cognito_identity_fixes
...
Fixes for cognito identity library
2018-10-15 01:21:44 -04:00
Steve Pulec
dfc793916d
Merge pull request #1848 from ashb/expand-glue-catalog-mocking
...
Mock more of the Glue Data Catalog APIs
2018-10-15 01:14:03 -04:00
Steve Pulec
7b9bb15d28
Merge pull request #1756 from ferruvich/add_extra_attributes_in_token_payload
...
Add extra attributes in token payload
2018-10-15 01:02:07 -04:00
Steve Pulec
87e7c7df48
Merge pull request #1852 from jrbeilke/feature-AbortIncompleteMultipartUpload
...
Add support for NoncurrentVersionTransition, NoncurrentVersionExpiration, and AbortIncompleteMultipartUpload actions to S3 lifecycle rules
2018-10-15 01:00:03 -04:00
Steve Pulec
6d1491171a
Merge pull request #1727 from ashleygould/organizations_support
...
Organizations support
2018-10-15 00:58:26 -04:00
Steve Pulec
cb5bf5051b
Merge pull request #1859 from georgealton/master
...
Fixes #1857 Ensures a UserPool Id starts like {region}_
2018-10-15 00:08:49 -04:00
Steve Pulec
c8a083a066
Merge pull request #1846 from william-richard/log-event-ids-are-strings
...
Filter event log ids should be strings
2018-10-15 00:05:37 -04:00
Steve Pulec
5568950394
Merge pull request #1856 from jrbeilke/feature-schedule_key_deletion
...
Add support for disable_key, enable_key, cancel_key_deletion, schedule_key_deletion to KMS
2018-10-15 00:03:26 -04:00
Kosei Kitahara
13c2e69932
Allow extra spaces to attribute_exists and attribute_not_exists too
2018-10-12 16:59:52 +09:00
Kosei Kitahara
2c15d71c2c
Allow spaces to if_not_exists
2018-10-11 18:21:53 +09:00
Danny Cosson
9081a160d3
fixes for cognito identity library
2018-10-09 10:28:15 -07:00
Ashley Gould
7a88e634eb
organizations: add exception test for describe_organization endpoint
2018-10-08 15:27:19 -07:00
George Alton
d9577f9d3d
Ensures a UserPool Id starts like {region}_
2018-10-08 19:04:47 +01:00
Jon Beilke
c1ebec1b35
remove start_time from attrib comparison in test_copy_snapshot()
2018-10-08 10:17:51 -05:00
Jon Beilke
181e9690b8
need os for checking server mode env variable
2018-10-08 08:38:49 -05:00
Jon Beilke
c2595b2eef
cant manipulate time in server mode tests
2018-10-08 08:29:21 -05:00
Jon Beilke
76baab74ad
missing tzlocal
2018-10-06 01:33:02 -05:00
Jon Beilke
9b25d56a35
need datetime for tests since thats what boto3 returns and add default for PendingWindowInDays
2018-10-06 01:18:26 -05:00
Jon Beilke
59c233f431
avoid needing to import datetime and dealing with timezone vs naive datetimes in tests
2018-10-06 00:33:23 -05:00
Jon Beilke
21c8914efe
include pending days input for schedule key deletion and update tests since boto client returns DeletionDate as datetime
2018-10-06 00:13:47 -05:00
Jon Beilke
6277983e3f
missed some KeyMetadata and need to transform datetime for testing
2018-10-05 23:48:19 -05:00
Jon Beilke
f596069dab
use initial KeyMetadata for identifying keys in KMS tests
2018-10-05 23:35:34 -05:00
Jon Beilke
786b9ca519
need region for kms client
2018-10-05 22:17:48 -05:00
Jon Beilke
a29daf411b
fix invalid variables used in kms testing
2018-10-05 21:56:32 -05:00
Jon Beilke
7e96203020
add freezegun and test DeletionDate for chedule_key_deletion
2018-10-05 16:21:16 -05:00
Jon Beilke
60ec840eef
add disable_key, enable_key, cancel_key_deletion, and schedule_key_deletion actions to KMS endpoint
2018-10-05 15:55:47 -05:00
Jon Beilke
12e0a38b56
add TODO for testing exceptions with aimu and nve
2018-10-05 11:04:55 -05:00
Ash Berlin-Taylor
5783d66206
Mock more of the Glue Data Catalog APIs
...
This adds some of the missing Get/Update/Create APIs relating to the
Glue data catalog -- but not yet all of them, and none of the Batch* API
calls.
2018-10-03 15:34:38 +01:00
Jon Beilke
9b5f983cb5
add action validation to set_lifecycle()
2018-10-03 01:11:11 -05:00
Jon Beilke
ea4fcaa82a
add support for NoncurrentVersionTransition, NoncurrentVersionExpiration, and AbortIncompleteMultipartUpload actions to s3 lifecycle rules
2018-10-03 00:40:28 -05:00
William Richard
3afb2862c0
Filter event log ids should be strings
...
Based on the boto docs, eventId should be returned as a string.
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/logs.html#CloudWatchLogs.Client.filter_log_events
2018-10-01 17:11:36 -04:00
Ashley Gould
95700d6631
Merge remote-tracking branch 'spulec/moto/master' into organizations_support
2018-09-28 08:52:22 -07:00
Ashley Gould
05928b1497
[issue #1720 ] Add support for AWS Organizations
...
added exception handling in class OrganizationsBackend
2018-09-28 08:34:19 -07:00
Ashley Gould
40e422b74d
[issue #1720 ] Add support for AWS Organizations
...
ready for pull request
did a little cleanup refactoring
local tests pass
2018-09-28 08:34:19 -07:00
Ashley Gould
01912bdca7
organizations: fix python 2.7 test errors
2018-09-28 08:34:19 -07:00
Ashley Gould
8f400b7110
organizations: add endpoint list_chilren
2018-09-28 08:34:19 -07:00
Ashley Gould
30a9aa33e5
organizations: endpoint list_parents now support account_id param
...
refactered classes: FakeRoot inherits from FakeOrganizationsUnit
add root_id attribute to class FakeOrganization
dropped 'roots' attribute from class OrganizationaBackend
2018-09-28 08:34:18 -07:00
Ashley Gould
009dcdb21a
organizations: and another 2 endpoints:
...
list_accounts_for_parent
move_account
2018-09-28 08:34:18 -07:00
Ashley Gould
fc2447c6a4
organiziaions: 2 new endpoints:
...
list_organizational_units_for_parents
list_parents
2018-09-28 08:34:18 -07:00
Ashley Gould
beebb9abc8
organizations: add 2 more endpoints
...
create_organizational_unit
describe_organizational_unit
2018-09-28 08:34:18 -07:00
Ashley Gould
6c0c6148f1
organizations: add endpoint list_roots
2018-09-28 08:34:18 -07:00