From dc8110e927cf833f700c6df922a430beb43e654a Mon Sep 17 00:00:00 2001 From: Alex Shovlin Date: Mon, 10 Aug 2026 13:42:09 -0400 Subject: [PATCH] Remove IAM XML tests --- .../response_parsing/test_response_parsing.py | 2 - .../xml/errors/iam-get-user.json | 10 --- .../xml/errors/iam-get-user.xml | 8 -- .../iam-create-virtual-mfa-device.json | 10 --- .../iam-create-virtual-mfa-device.xml | 12 --- .../responses/iam-get-account-summary.json | 27 ------ .../xml/responses/iam-get-account-summary.xml | 89 ------------------- .../xml/responses/iam-get-group.json | 22 ----- .../xml/responses/iam-get-group.xml | 24 ----- .../xml/responses/iam-get-user-policy.json | 21 ----- .../xml/responses/iam-get-user-policy.xml | 10 --- .../xml/responses/iam-get-user.json | 10 --- .../xml/responses/iam-get-user.xml | 12 --- .../xml/responses/iam-list-access-keys.json | 8 -- .../xml/responses/iam-list-access-keys.xml | 21 ----- .../responses/iam-list-account-aliases.json | 5 -- .../responses/iam-list-account-aliases.xml | 11 --- .../xml/responses/iam-list-groups.json | 16 ---- .../xml/responses/iam-list-groups.xml | 28 ------ .../responses/iam-list-instance-profiles.json | 14 --- .../responses/iam-list-instance-profiles.xml | 26 ------ .../xml/responses/iam-list-mfa-devices.json | 6 -- .../xml/responses/iam-list-mfa-devices.xml | 14 --- .../xml/responses/iam-list-roles.json | 54 ----------- .../xml/responses/iam-list-roles.xml | 26 ------ .../iam-list-server-certificates.json | 20 ----- .../iam-list-server-certificates.xml | 31 ------- .../iam-list-signing-certificates.json | 8 -- .../iam-list-signing-certificates.xml | 32 ------- .../xml/responses/iam-list-users.json | 14 --- .../xml/responses/iam-list-users.xml | 24 ----- .../iam-list-virtual-mfa-devices.json | 19 ---- .../iam-list-virtual-mfa-devices.xml | 33 ------- 33 files changed, 667 deletions(-) delete mode 100644 tests/unit/botocore/response_parsing/xml/errors/iam-get-user.json delete mode 100644 tests/unit/botocore/response_parsing/xml/errors/iam-get-user.xml delete mode 100644 tests/unit/botocore/response_parsing/xml/responses/iam-create-virtual-mfa-device.json delete mode 100644 tests/unit/botocore/response_parsing/xml/responses/iam-create-virtual-mfa-device.xml delete mode 100644 tests/unit/botocore/response_parsing/xml/responses/iam-get-account-summary.json delete mode 100644 tests/unit/botocore/response_parsing/xml/responses/iam-get-account-summary.xml delete mode 100644 tests/unit/botocore/response_parsing/xml/responses/iam-get-group.json delete mode 100644 tests/unit/botocore/response_parsing/xml/responses/iam-get-group.xml delete mode 100644 tests/unit/botocore/response_parsing/xml/responses/iam-get-user-policy.json delete mode 100644 tests/unit/botocore/response_parsing/xml/responses/iam-get-user-policy.xml delete mode 100644 tests/unit/botocore/response_parsing/xml/responses/iam-get-user.json delete mode 100644 tests/unit/botocore/response_parsing/xml/responses/iam-get-user.xml delete mode 100644 tests/unit/botocore/response_parsing/xml/responses/iam-list-access-keys.json delete mode 100644 tests/unit/botocore/response_parsing/xml/responses/iam-list-access-keys.xml delete mode 100644 tests/unit/botocore/response_parsing/xml/responses/iam-list-account-aliases.json delete mode 100644 tests/unit/botocore/response_parsing/xml/responses/iam-list-account-aliases.xml delete mode 100644 tests/unit/botocore/response_parsing/xml/responses/iam-list-groups.json delete mode 100644 tests/unit/botocore/response_parsing/xml/responses/iam-list-groups.xml delete mode 100644 tests/unit/botocore/response_parsing/xml/responses/iam-list-instance-profiles.json delete mode 100644 tests/unit/botocore/response_parsing/xml/responses/iam-list-instance-profiles.xml delete mode 100644 tests/unit/botocore/response_parsing/xml/responses/iam-list-mfa-devices.json delete mode 100644 tests/unit/botocore/response_parsing/xml/responses/iam-list-mfa-devices.xml delete mode 100644 tests/unit/botocore/response_parsing/xml/responses/iam-list-roles.json delete mode 100644 tests/unit/botocore/response_parsing/xml/responses/iam-list-roles.xml delete mode 100644 tests/unit/botocore/response_parsing/xml/responses/iam-list-server-certificates.json delete mode 100644 tests/unit/botocore/response_parsing/xml/responses/iam-list-server-certificates.xml delete mode 100644 tests/unit/botocore/response_parsing/xml/responses/iam-list-signing-certificates.json delete mode 100644 tests/unit/botocore/response_parsing/xml/responses/iam-list-signing-certificates.xml delete mode 100644 tests/unit/botocore/response_parsing/xml/responses/iam-list-users.json delete mode 100644 tests/unit/botocore/response_parsing/xml/responses/iam-list-users.xml delete mode 100644 tests/unit/botocore/response_parsing/xml/responses/iam-list-virtual-mfa-devices.json delete mode 100644 tests/unit/botocore/response_parsing/xml/responses/iam-list-virtual-mfa-devices.xml diff --git a/tests/unit/botocore/response_parsing/test_response_parsing.py b/tests/unit/botocore/response_parsing/test_response_parsing.py index 63376e626cd2..e8a8b4f8707d 100644 --- a/tests/unit/botocore/response_parsing/test_response_parsing.py +++ b/tests/unit/botocore/response_parsing/test_response_parsing.py @@ -28,8 +28,6 @@ SPECIAL_CASES = [ - 'iam-get-user-policy.xml', # Needs the JSON decode from handlers.py - 'iam-list-roles.xml', # Needs the JSON decode from handlers.py for the policy 's3-get-bucket-location.xml', # Confirmed, this will need a special handler #'s3-list-multipart-uploads.xml', # Bug in model, missing delimeter 'cloudformation-get-template.xml', # Need to JSON decode the template body. diff --git a/tests/unit/botocore/response_parsing/xml/errors/iam-get-user.json b/tests/unit/botocore/response_parsing/xml/errors/iam-get-user.json deleted file mode 100644 index 6a1d222b4b67..000000000000 --- a/tests/unit/botocore/response_parsing/xml/errors/iam-get-user.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "Error": { - "Code": "NoSuchEntity", - "Message": "The user with name foobar cannot be found.", - "Type": "Sender" - }, - "ResponseMetadata": { - "RequestId": "358299bb-b7f8-11e2-8d39-e3a125f625ee" - } -} diff --git a/tests/unit/botocore/response_parsing/xml/errors/iam-get-user.xml b/tests/unit/botocore/response_parsing/xml/errors/iam-get-user.xml deleted file mode 100644 index 4f12a99c8bea..000000000000 --- a/tests/unit/botocore/response_parsing/xml/errors/iam-get-user.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - Sender - NoSuchEntity - The user with name foobar cannot be found. - - 358299bb-b7f8-11e2-8d39-e3a125f625ee - diff --git a/tests/unit/botocore/response_parsing/xml/responses/iam-create-virtual-mfa-device.json b/tests/unit/botocore/response_parsing/xml/responses/iam-create-virtual-mfa-device.json deleted file mode 100644 index a4ebae2c3f2b..000000000000 --- a/tests/unit/botocore/response_parsing/xml/responses/iam-create-virtual-mfa-device.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "ResponseMetadata": { - "RequestId": "c7bf48a5-d35c-11e2-b096-29dca78bf3ce" - }, - "VirtualMFADevice": { - "Base32StringSeed": "U3IWOL56EJ3Q5ILYBLU6NLTNZR3V5SAOWKQ5AOEPEQUUGQJFVDQKOA2N7OANTHBR", - "SerialNumber": "arn:aws:iam::419278470775:mfa/ExampleMFADevice", - "QRCodePNG": "foo" - } -} diff --git a/tests/unit/botocore/response_parsing/xml/responses/iam-create-virtual-mfa-device.xml b/tests/unit/botocore/response_parsing/xml/responses/iam-create-virtual-mfa-device.xml deleted file mode 100644 index 1466f5ce9cee..000000000000 --- a/tests/unit/botocore/response_parsing/xml/responses/iam-create-virtual-mfa-device.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - Zm9v - VTNJV09MNTZFSjNRNUlMWUJMVTZOTFROWlIzVjVTQU9XS1E1QU9FUEVRVVVHUUpGVkRRS09BMk43T0FOVEhCUg== - arn:aws:iam::419278470775:mfa/ExampleMFADevice - - - - c7bf48a5-d35c-11e2-b096-29dca78bf3ce - - diff --git a/tests/unit/botocore/response_parsing/xml/responses/iam-get-account-summary.json b/tests/unit/botocore/response_parsing/xml/responses/iam-get-account-summary.json deleted file mode 100644 index 8d808d26c62c..000000000000 --- a/tests/unit/botocore/response_parsing/xml/responses/iam-get-account-summary.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "SummaryMap": { - "AccessKeysPerUserQuota": 2, - "AssumeRolePolicySizeQuota": 2048, - "UsersQuota": 5000, - "GroupsPerUserQuota": 10, - "Users": 1, - "Roles": 0, - "MFADevices": 0, - "InstanceProfilesQuota": 100, - "AccountMFAEnabled": 0, - "ServerCertificates": 0, - "UserPolicySizeQuota": 2048, - "RolePolicySizeQuota": 10240, - "MFADevicesInUse": 0, - "GroupsQuota": 100, - "Groups": 0, - "InstanceProfiles": 0, - "GroupPolicySizeQuota": 5120, - "SigningCertificatesPerUserQuota": 2, - "ServerCertificatesQuota": 10, - "RolesQuota": 250 - }, - "ResponseMetadata": { - "RequestId": "a8e3b3ed-9167-11e2-8a19-1174a5b297de" - } -} \ No newline at end of file diff --git a/tests/unit/botocore/response_parsing/xml/responses/iam-get-account-summary.xml b/tests/unit/botocore/response_parsing/xml/responses/iam-get-account-summary.xml deleted file mode 100644 index e5b0a957b552..000000000000 --- a/tests/unit/botocore/response_parsing/xml/responses/iam-get-account-summary.xml +++ /dev/null @@ -1,89 +0,0 @@ - - - - - Users - 1 - - - GroupsQuota - 100 - - - RolesQuota - 250 - - - GroupPolicySizeQuota - 5120 - - - ServerCertificates - 0 - - - ServerCertificatesQuota - 10 - - - Groups - 0 - - - MFADevicesInUse - 0 - - - UsersQuota - 5000 - - - AccountMFAEnabled - 0 - - - InstanceProfilesQuota - 100 - - - MFADevices - 0 - - - AccessKeysPerUserQuota - 2 - - - RolePolicySizeQuota - 10240 - - - UserPolicySizeQuota - 2048 - - - GroupsPerUserQuota - 10 - - - SigningCertificatesPerUserQuota - 2 - - - AssumeRolePolicySizeQuota - 2048 - - - InstanceProfiles - 0 - - - Roles - 0 - - - - - a8e3b3ed-9167-11e2-8a19-1174a5b297de - - diff --git a/tests/unit/botocore/response_parsing/xml/responses/iam-get-group.json b/tests/unit/botocore/response_parsing/xml/responses/iam-get-group.json deleted file mode 100644 index 4ce25e3c8135..000000000000 --- a/tests/unit/botocore/response_parsing/xml/responses/iam-get-group.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "Group": { - "Path": "/", - "CreateDate": "2013-06-04T13:19:26Z", - "GroupId": "AGPAIX2UU43C4MKIJO6OE", - "Arn": "arn:aws:iam::419278470775:group/test_admin", - "GroupName": "test_admin" - }, - "Users": [ - { - "UserName": "harry", - "Path": "/", - "CreateDate": "2013-06-04T13:20:49Z", - "UserId": "AIDAIWOYUHHXRAGTJC6H2", - "Arn": "arn:aws:iam::419278470775:user/harry" - } - ], - "ResponseMetadata": { - "RequestId": "b23a1f90-d364-11e2-9e37-0baaf58cf1ee" - }, - "IsTruncated": false -} \ No newline at end of file diff --git a/tests/unit/botocore/response_parsing/xml/responses/iam-get-group.xml b/tests/unit/botocore/response_parsing/xml/responses/iam-get-group.xml deleted file mode 100644 index ae10da0a6301..000000000000 --- a/tests/unit/botocore/response_parsing/xml/responses/iam-get-group.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - AIDAIWOYUHHXRAGTJC6H2 - / - harry - arn:aws:iam::419278470775:user/harry - 2013-06-04T13:20:49Z - - - false - - AGPAIX2UU43C4MKIJO6OE - test_admin - / - arn:aws:iam::419278470775:group/test_admin - 2013-06-04T13:19:26Z - - - - b23a1f90-d364-11e2-9e37-0baaf58cf1ee - - diff --git a/tests/unit/botocore/response_parsing/xml/responses/iam-get-user-policy.json b/tests/unit/botocore/response_parsing/xml/responses/iam-get-user-policy.json deleted file mode 100644 index f898462315bd..000000000000 --- a/tests/unit/botocore/response_parsing/xml/responses/iam-get-user-policy.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "UserName": "test", - "PolicyName": "test", - "PolicyDocument": { - "Statement": [ - { - "Action": [ - "ec2:CreateSnapshot", - "ec2:DescribeInstances", - "ec2:DescribeVolumes" - ], - "Resource": "*", - "Effect": "Allow", - "Sid": "Stmt1331504410389" - } - ] - }, - "ResponseMetadata": { - "RequestId": "5a2702d5-bcfd-11e2-b2db-2f18d5db5f10" - } -} \ No newline at end of file diff --git a/tests/unit/botocore/response_parsing/xml/responses/iam-get-user-policy.xml b/tests/unit/botocore/response_parsing/xml/responses/iam-get-user-policy.xml deleted file mode 100644 index e7c688d846d7..000000000000 --- a/tests/unit/botocore/response_parsing/xml/responses/iam-get-user-policy.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - test - test - %7B%0A%20%20%22Statement%22%3A%20%5B%0A%20%20%20%20%7B%0A%20%20%20%20%20%20%22Sid%22%3A%20%22Stmt1331504410389%22%2C%0A%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%22ec2%3ACreateSnapshot%22%2C%0A%20%20%20%20%20%20%20%20%22ec2%3ADescribeInstances%22%2C%0A%20%20%20%20%20%20%20%20%22ec2%3ADescribeVolumes%22%0A%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%22Resource%22%3A%20%22%2A%22%0A%20%20%20%20%7D%0A%20%20%5D%0A%7D - - - 5a2702d5-bcfd-11e2-b2db-2f18d5db5f10 - - diff --git a/tests/unit/botocore/response_parsing/xml/responses/iam-get-user.json b/tests/unit/botocore/response_parsing/xml/responses/iam-get-user.json deleted file mode 100644 index 4ac184443fb5..000000000000 --- a/tests/unit/botocore/response_parsing/xml/responses/iam-get-user.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "User": { - "CreateDate": "2011-12-19T23:16:46Z", - "UserId": "123456789012", - "Arn": "arn:aws:iam::123456789012:root" - }, - "ResponseMetadata": { - "RequestId": "a8ca5eb9-9167-11e2-8395-2fafede00095" - } -} diff --git a/tests/unit/botocore/response_parsing/xml/responses/iam-get-user.xml b/tests/unit/botocore/response_parsing/xml/responses/iam-get-user.xml deleted file mode 100644 index a1875d68e123..000000000000 --- a/tests/unit/botocore/response_parsing/xml/responses/iam-get-user.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - 123456789012 - arn:aws:iam::123456789012:root - 2011-12-19T23:16:46Z - - - - a8ca5eb9-9167-11e2-8395-2fafede00095 - - diff --git a/tests/unit/botocore/response_parsing/xml/responses/iam-list-access-keys.json b/tests/unit/botocore/response_parsing/xml/responses/iam-list-access-keys.json deleted file mode 100644 index f30499eaeabe..000000000000 --- a/tests/unit/botocore/response_parsing/xml/responses/iam-list-access-keys.json +++ /dev/null @@ -1,8 +0,0 @@ -{"AccessKeyMetadata": [{"AccessKeyId": "AKIAIOSFODNN7EXAMPLE", - "Status": "Active", - "UserName": "Bob"}, - {"AccessKeyId": "AKIAI44QH8DHBEXAMPLE", - "Status": "Inactive", - "UserName": "Bob"}], - "IsTruncated": false, - "ResponseMetadata": {"RequestId": "7a62c49f-347e-4fc4-9331-6e8eEXAMPLE"}} diff --git a/tests/unit/botocore/response_parsing/xml/responses/iam-list-access-keys.xml b/tests/unit/botocore/response_parsing/xml/responses/iam-list-access-keys.xml deleted file mode 100644 index 4c8b4c6b6fa6..000000000000 --- a/tests/unit/botocore/response_parsing/xml/responses/iam-list-access-keys.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - Bob - - - Bob - AKIAIOSFODNN7EXAMPLE - Active - - - Bob - AKIAI44QH8DHBEXAMPLE - Inactive - - - false - - - 7a62c49f-347e-4fc4-9331-6e8eEXAMPLE - - diff --git a/tests/unit/botocore/response_parsing/xml/responses/iam-list-account-aliases.json b/tests/unit/botocore/response_parsing/xml/responses/iam-list-account-aliases.json deleted file mode 100644 index 422c30bad6c6..000000000000 --- a/tests/unit/botocore/response_parsing/xml/responses/iam-list-account-aliases.json +++ /dev/null @@ -1,5 +0,0 @@ -{"AccountAliases": ["foocorporation"], - "IsTruncated": false, - "ResponseMetadata": - {"RequestId": "c5a076e9-f1b0-11df-8fbe-45274EXAMPLE"} -} diff --git a/tests/unit/botocore/response_parsing/xml/responses/iam-list-account-aliases.xml b/tests/unit/botocore/response_parsing/xml/responses/iam-list-account-aliases.xml deleted file mode 100644 index 9df2d2cd7336..000000000000 --- a/tests/unit/botocore/response_parsing/xml/responses/iam-list-account-aliases.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - false - - foocorporation - - - - c5a076e9-f1b0-11df-8fbe-45274EXAMPLE - - diff --git a/tests/unit/botocore/response_parsing/xml/responses/iam-list-groups.json b/tests/unit/botocore/response_parsing/xml/responses/iam-list-groups.json deleted file mode 100644 index c0de9c56b802..000000000000 --- a/tests/unit/botocore/response_parsing/xml/responses/iam-list-groups.json +++ /dev/null @@ -1,16 +0,0 @@ -{"Groups": [ - {"Arn": "arn:aws:iam::123456789012:group/Admins", - "GroupId": "AGPACKCEVSQ6C2EXAMPLE", - "GroupName": "Admins", - "Path": "/division_abc/subdivision_xyz/"}, - {"Arn": "arn:aws:iam::123456789012:group/division_abc/subdivision_xyz/product_1234/engineering/Test", - "GroupId": "AGP2MAB8DPLSRHEXAMPLE", - "GroupName": "Test", - "Path": "/division_abc/subdivision_xyz/product_1234/engineering/"}, - {"Arn": "arn:aws:iam::123456789012:group/division_abc/subdivision_xyz/product_1234/Managers", - "GroupId": "AGPIODR4TAW7CSEXAMPLE", - "GroupName": "Managers", - "Path": "/division_abc/subdivision_xyz/product_1234/"}], - "IsTruncated": false, - "ResponseMetadata": {"RequestId": "7a62c49f-347e-4fc4-9331-6e8eEXAMPLE"} -} diff --git a/tests/unit/botocore/response_parsing/xml/responses/iam-list-groups.xml b/tests/unit/botocore/response_parsing/xml/responses/iam-list-groups.xml deleted file mode 100644 index ca8717aeb263..000000000000 --- a/tests/unit/botocore/response_parsing/xml/responses/iam-list-groups.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - /division_abc/subdivision_xyz/ - Admins - AGPACKCEVSQ6C2EXAMPLE - arn:aws:iam::123456789012:group/Admins - - - /division_abc/subdivision_xyz/product_1234/engineering/ - Test - AGP2MAB8DPLSRHEXAMPLE - arn:aws:iam::123456789012:group/division_abc/subdivision_xyz/product_1234/engineering/Test - - - /division_abc/subdivision_xyz/product_1234/ - Managers - AGPIODR4TAW7CSEXAMPLE - arn:aws:iam::123456789012:group/division_abc/subdivision_xyz/product_1234/Managers - - - false - - - 7a62c49f-347e-4fc4-9331-6e8eEXAMPLE - - diff --git a/tests/unit/botocore/response_parsing/xml/responses/iam-list-instance-profiles.json b/tests/unit/botocore/response_parsing/xml/responses/iam-list-instance-profiles.json deleted file mode 100644 index 42b6f880764d..000000000000 --- a/tests/unit/botocore/response_parsing/xml/responses/iam-list-instance-profiles.json +++ /dev/null @@ -1,14 +0,0 @@ -{"InstanceProfiles": [ - {"Arn": "arn:aws:iam::123456789012:instance-profile/application_abc/component_xyz/Database", - "CreateDate": "2012-05-09T16:27:03Z", - "InstanceProfileName": "Database", - "Path": "/application_abc/component_xyz/", - "Roles": []}, - {"Arn": "arn:aws:iam::123456789012:instance-profile/application_abc/component_xyz/Webserver", - "CreateDate": "2012-05-09T16:27:11Z", - "InstanceProfileName": "Webserver", - "Path": "/application_abc/component_xyz/", - "Roles": []}], - "IsTruncated": false, - "ResponseMetadata": {"RequestId": "fd74fa8d-99f3-11e1-a4c3-27EXAMPLE804"} -} diff --git a/tests/unit/botocore/response_parsing/xml/responses/iam-list-instance-profiles.xml b/tests/unit/botocore/response_parsing/xml/responses/iam-list-instance-profiles.xml deleted file mode 100644 index c624cd972d55..000000000000 --- a/tests/unit/botocore/response_parsing/xml/responses/iam-list-instance-profiles.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - false - - - AIPACIFN4OZXG7EXAMPLE - - Database - /application_abc/component_xyz/ - arn:aws:iam::123456789012:instance-profile/application_abc/component_xyz/Database - 2012-05-09T16:27:03Z - - - AIPACZLSXM2EYYEXAMPLE - - Webserver - /application_abc/component_xyz/ - arn:aws:iam::123456789012:instance-profile/application_abc/component_xyz/Webserver - 2012-05-09T16:27:11Z - - - - - fd74fa8d-99f3-11e1-a4c3-27EXAMPLE804 - - diff --git a/tests/unit/botocore/response_parsing/xml/responses/iam-list-mfa-devices.json b/tests/unit/botocore/response_parsing/xml/responses/iam-list-mfa-devices.json deleted file mode 100644 index f14cb5900ea7..000000000000 --- a/tests/unit/botocore/response_parsing/xml/responses/iam-list-mfa-devices.json +++ /dev/null @@ -1,6 +0,0 @@ -{"IsTruncated": false, - "MFADevices": [ - {"SerialNumber": "R1234", "UserName": "Bob"} - ], - "ResponseMetadata": {"RequestId": "7a62c49f-347e-4fc4-9331-6e8eEXAMPLE"} -} diff --git a/tests/unit/botocore/response_parsing/xml/responses/iam-list-mfa-devices.xml b/tests/unit/botocore/response_parsing/xml/responses/iam-list-mfa-devices.xml deleted file mode 100644 index 75ae00e2e3ce..000000000000 --- a/tests/unit/botocore/response_parsing/xml/responses/iam-list-mfa-devices.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - Bob - R1234 - - - false - - - 7a62c49f-347e-4fc4-9331-6e8eEXAMPLE - - diff --git a/tests/unit/botocore/response_parsing/xml/responses/iam-list-roles.json b/tests/unit/botocore/response_parsing/xml/responses/iam-list-roles.json deleted file mode 100644 index ec9fc1374120..000000000000 --- a/tests/unit/botocore/response_parsing/xml/responses/iam-list-roles.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "ResponseMetadata": { - "RequestId": "20f7279f-99ee-11e1-a4c3-27EXAMPLE804" - }, - "IsTruncated": false, - "Roles": [ - { - "AssumeRolePolicyDocument": { - "Version": "2008-10-17", - "Statement": [ - { - "Action": [ - "sts:AssumeRole" - ], - "Effect": "Allow", - "Principal": { - "Service": [ - "ec2.amazonaws.com" - ] - } - } - ] - }, - "RoleId": "AROACVSVTSZYEXAMPLEYK", - "CreateDate": "2012-05-09T15:45:35Z", - "RoleName": "S3Access", - "Path": "/application_abc/component_xyz/", - "Arn": "arn:aws:iam::123456789012:role/application_abc/component_xyz/S3Access" - }, - { - "AssumeRolePolicyDocument": { - "Version": "2008-10-17", - "Statement": [ - { - "Action": [ - "sts:AssumeRole" - ], - "Effect": "Allow", - "Principal": { - "Service": [ - "ec2.amazonaws.com" - ] - } - } - ] - }, - "RoleId": "AROAC2ICXG32EXAMPLEWK", - "CreateDate": "2012-05-09T15:45:45Z", - "RoleName": "SDBAccess", - "Path": "/application_abc/component_xyz/", - "Arn": "arn:aws:iam::123456789012:role/application_abc/component_xyz/SDBAccess" - } - ] -} \ No newline at end of file diff --git a/tests/unit/botocore/response_parsing/xml/responses/iam-list-roles.xml b/tests/unit/botocore/response_parsing/xml/responses/iam-list-roles.xml deleted file mode 100644 index 5ee1e78d042a..000000000000 --- a/tests/unit/botocore/response_parsing/xml/responses/iam-list-roles.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - false - - - /application_abc/component_xyz/ - arn:aws:iam::123456789012:role/application_abc/component_xyz/S3Access - S3Access - %7B%22Version%22%3A%222008-10-17%22%2C%22Statement%22%3A%5B%7B%22Effect%22%3A%22Allow%22%2C%22Principal%22%3A%7B%22Service%22%3A%5B%22ec2.amazonaws.com%22%5D%7D%2C%22Action%22%3A%5B%22sts%3AAssumeRole%22%5D%7D%5D%7D - 2012-05-09T15:45:35Z - AROACVSVTSZYEXAMPLEYK - - - /application_abc/component_xyz/ - arn:aws:iam::123456789012:role/application_abc/component_xyz/SDBAccess - SDBAccess - %7B%22Version%22%3A%222008-10-17%22%2C%22Statement%22%3A%5B%7B%22Effect%22%3A%22Allow%22%2C%22Principal%22%3A%7B%22Service%22%3A%5B%22ec2.amazonaws.com%22%5D%7D%2C%22Action%22%3A%5B%22sts%3AAssumeRole%22%5D%7D%5D%7D - 2012-05-09T15:45:45Z - AROAC2ICXG32EXAMPLEWK - - - - - 20f7279f-99ee-11e1-a4c3-27EXAMPLE804 - - diff --git a/tests/unit/botocore/response_parsing/xml/responses/iam-list-server-certificates.json b/tests/unit/botocore/response_parsing/xml/responses/iam-list-server-certificates.json deleted file mode 100644 index db4949b815da..000000000000 --- a/tests/unit/botocore/response_parsing/xml/responses/iam-list-server-certificates.json +++ /dev/null @@ -1,20 +0,0 @@ -{"IsTruncated": false, - "ResponseMetadata": {"RequestId": "7a62c49f-347e-4fc4-9331-6e8eEXAMPLE"}, - "ServerCertificateMetadataList": [ - {"Arn": "arn:aws:iam::123456789012:server-certificate/company/servercerts/ProdServerCert", - "Path": "/company/servercerts/", - "ServerCertificateId": "ASCACKCEVSQ6CEXAMPLE1", - "ServerCertificateName": "ProdServerCert", - "UploadDate": "2010-05-08T01:02:03.004Z"}, - {"Arn": "arn:aws:iam::123456789012:server-certificate/company/servercerts/BetaServerCert", - "Path": "/company/servercerts/", - "ServerCertificateId": "ASCACKCEVSQ6CEXAMPLE2", - "ServerCertificateName": "BetaServerCert", - "UploadDate": "2010-05-08T02:03:01.004Z"}, - {"Arn": "arn:aws:iam::123456789012:server-certificate/company/servercerts/TestServerCert", - "Path": "/company/servercerts/", - "ServerCertificateId": "ASCACKCEVSQ6CEXAMPLE3", - "ServerCertificateName": "TestServerCert", - "UploadDate": "2010-05-08T03:01:02.004Z"} - ] -} diff --git a/tests/unit/botocore/response_parsing/xml/responses/iam-list-server-certificates.xml b/tests/unit/botocore/response_parsing/xml/responses/iam-list-server-certificates.xml deleted file mode 100644 index 141791ed45ef..000000000000 --- a/tests/unit/botocore/response_parsing/xml/responses/iam-list-server-certificates.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - false - - - ProdServerCert - /company/servercerts/ - arn:aws:iam::123456789012:server-certificate/company/servercerts/ProdServerCert - 2010-05-08T01:02:03.004Z - ASCACKCEVSQ6CEXAMPLE1 - - - BetaServerCert - /company/servercerts/ - arn:aws:iam::123456789012:server-certificate/company/servercerts/BetaServerCert - 2010-05-08T02:03:01.004Z - ASCACKCEVSQ6CEXAMPLE2 - - - TestServerCert - /company/servercerts/ - arn:aws:iam::123456789012:server-certificate/company/servercerts/TestServerCert - 2010-05-08T03:01:02.004Z - ASCACKCEVSQ6CEXAMPLE3 - - - - - 7a62c49f-347e-4fc4-9331-6e8eEXAMPLE - - diff --git a/tests/unit/botocore/response_parsing/xml/responses/iam-list-signing-certificates.json b/tests/unit/botocore/response_parsing/xml/responses/iam-list-signing-certificates.json deleted file mode 100644 index 86cfe3657159..000000000000 --- a/tests/unit/botocore/response_parsing/xml/responses/iam-list-signing-certificates.json +++ /dev/null @@ -1,8 +0,0 @@ -{"Certificates": [ - {"CertificateBody": "-----BEGIN CERTIFICATE-----\nMIICdzCCAeCgAwIBAgIGANc+Ha2wMA0GCSqGSIb3DQEBBQUAMFMxCzAJBgNVBAYT\nAlVTMRMwEQYDVQQKEwpBbWF6b24uY29tMQwwCgYDVQQLEwNBV1MxITAfBgNVBAMT\nGEFXUyBMaW1pdGVkLUFzc3VyYW5jZSBDQTAeFw0wOTAyMDQxNzE5MjdaFw0xMDAy\nMDQxNzE5MjdaMFIxCzAJBgNVBAYTAlVTMRMwEQYDVQQKEwpBbWF6b24uY29tMRcw\nFQYDVQQLEw5BV1MtRGV2ZWxvcGVyczEVMBMGA1UEAxMMNTdxNDl0c3ZwYjRtMIGf\nMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCpB/vsOwmT/O0td1RqzKjttSBaPjbr\ndqwNe9BrOyB08fw2+Ch5oonZYXfGUrT6mkYXH5fQot9HvASrzAKHO596FdJA6DmL\nywdWe1Oggk7zFSXO1Xv+3vPrJtaYxYo3eRIp7w80PMkiOv6M0XK8ubcTouODeJbf\nsuDqcLnLDxwsvwIDAQABo1cwVTAOBgNVHQ8BAf8EBAMCBaAwFgYDVR0lAQH/BAww\nCgYIKwYBBQUHAwIwDAYDVR0TAQH/BAIwADAdBgNVHQ4EFgQULGNaBphBumaKbDRK\nCAi0mH8B3mowDQYJKoZIhvcNAQEFBQADgYEAuKxhkXaCLGcqDuweKtO/AEw9ZePH\nwr0XqsaIK2HZboqruebXEGsojK4Ks0WzwgrEynuHJwTn760xe39rSqXWIOGrOBaX\nwFpWHVjTFMKk+tSDG1lssLHyYWWdFFU4AnejRGORJYNaRHgVTKjHphc5jEhHm0BX\nAEaHzTpmEXAMPLE=\n-----END CERTIFICATE-----", - "CertificateId": "TA7SMP42TDN5Z26OBPJE7EXAMPLE", - "Status": "Active", - "UserName": "Bob"}], - "IsTruncated": false, - "ResponseMetadata": {"RequestId": "7a62c49f-347e-4fc4-9331-6e8eEXAMPLE"} -} diff --git a/tests/unit/botocore/response_parsing/xml/responses/iam-list-signing-certificates.xml b/tests/unit/botocore/response_parsing/xml/responses/iam-list-signing-certificates.xml deleted file mode 100644 index ece537fd97f1..000000000000 --- a/tests/unit/botocore/response_parsing/xml/responses/iam-list-signing-certificates.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - Bob - - - Bob - TA7SMP42TDN5Z26OBPJE7EXAMPLE - -----BEGIN CERTIFICATE----- -MIICdzCCAeCgAwIBAgIGANc+Ha2wMA0GCSqGSIb3DQEBBQUAMFMxCzAJBgNVBAYT -AlVTMRMwEQYDVQQKEwpBbWF6b24uY29tMQwwCgYDVQQLEwNBV1MxITAfBgNVBAMT -GEFXUyBMaW1pdGVkLUFzc3VyYW5jZSBDQTAeFw0wOTAyMDQxNzE5MjdaFw0xMDAy -MDQxNzE5MjdaMFIxCzAJBgNVBAYTAlVTMRMwEQYDVQQKEwpBbWF6b24uY29tMRcw -FQYDVQQLEw5BV1MtRGV2ZWxvcGVyczEVMBMGA1UEAxMMNTdxNDl0c3ZwYjRtMIGf -MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCpB/vsOwmT/O0td1RqzKjttSBaPjbr -dqwNe9BrOyB08fw2+Ch5oonZYXfGUrT6mkYXH5fQot9HvASrzAKHO596FdJA6DmL -ywdWe1Oggk7zFSXO1Xv+3vPrJtaYxYo3eRIp7w80PMkiOv6M0XK8ubcTouODeJbf -suDqcLnLDxwsvwIDAQABo1cwVTAOBgNVHQ8BAf8EBAMCBaAwFgYDVR0lAQH/BAww -CgYIKwYBBQUHAwIwDAYDVR0TAQH/BAIwADAdBgNVHQ4EFgQULGNaBphBumaKbDRK -CAi0mH8B3mowDQYJKoZIhvcNAQEFBQADgYEAuKxhkXaCLGcqDuweKtO/AEw9ZePH -wr0XqsaIK2HZboqruebXEGsojK4Ks0WzwgrEynuHJwTn760xe39rSqXWIOGrOBaX -wFpWHVjTFMKk+tSDG1lssLHyYWWdFFU4AnejRGORJYNaRHgVTKjHphc5jEhHm0BX -AEaHzTpmEXAMPLE= ------END CERTIFICATE----- - Active - - - false - - - 7a62c49f-347e-4fc4-9331-6e8eEXAMPLE - - diff --git a/tests/unit/botocore/response_parsing/xml/responses/iam-list-users.json b/tests/unit/botocore/response_parsing/xml/responses/iam-list-users.json deleted file mode 100644 index a8d9ff8d97ae..000000000000 --- a/tests/unit/botocore/response_parsing/xml/responses/iam-list-users.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "IsTruncated": false, - "ResponseMetadata": {"RequestId": "7a62c49f-347e-4fc4-9331-6e8eEXAMPLE"}, - "Users": [ - {"Arn": "arn:aws:iam::123456789012:user\n /division_abc/subdivision_xyz/engineering/Andrew", - "Path": "/division_abc/subdivision_xyz/engineering/", - "UserId": "AID2MAB8DPLSRHEXAMPLE", - "UserName": "Andrew"}, - {"Arn": "arn:aws:iam::123456789012:user\n /division_abc/subdivision_xyz/engineering/Jackie", - "Path": "/division_abc/subdivision_xyz/engineering/", - "UserId": "AIDIODR4TAW7CSEXAMPLE", - "UserName": "Jackie"} - ] -} diff --git a/tests/unit/botocore/response_parsing/xml/responses/iam-list-users.xml b/tests/unit/botocore/response_parsing/xml/responses/iam-list-users.xml deleted file mode 100644 index 12cabe78149b..000000000000 --- a/tests/unit/botocore/response_parsing/xml/responses/iam-list-users.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - /division_abc/subdivision_xyz/engineering/ - Andrew - AID2MAB8DPLSRHEXAMPLE - arn:aws:iam::123456789012:user - /division_abc/subdivision_xyz/engineering/Andrew - - - /division_abc/subdivision_xyz/engineering/ - Jackie - AIDIODR4TAW7CSEXAMPLE - arn:aws:iam::123456789012:user - /division_abc/subdivision_xyz/engineering/Jackie - - - false - - - 7a62c49f-347e-4fc4-9331-6e8eEXAMPLE - - diff --git a/tests/unit/botocore/response_parsing/xml/responses/iam-list-virtual-mfa-devices.json b/tests/unit/botocore/response_parsing/xml/responses/iam-list-virtual-mfa-devices.json deleted file mode 100644 index 21f92118a9cd..000000000000 --- a/tests/unit/botocore/response_parsing/xml/responses/iam-list-virtual-mfa-devices.json +++ /dev/null @@ -1,19 +0,0 @@ -{"IsTruncated": false, - "ResponseMetadata": {"RequestId": "b61ce1b1-0401-11e1-b2f8-2dEXAMPLEbfc"}, - "VirtualMFADevices": [ - {"SerialNumber": "arn:aws:iam::123456789012:mfa/MFAdeviceName"}, - {"EnableDate": "2011-10-20T20:49:03Z", - "SerialNumber": "arn:aws:iam::123456789012:mfa/RootMFAdeviceName", - "User": {"Arn": "arn:aws:iam::123456789012:root", - "CreateDate": "2009-10-13T22:00:36Z", - "UserId": "123456789012"}}, - {"EnableDate": "2011-10-31T20:45:02Z", - "SerialNumber": "arn:aws:iam:::mfa/ExampleUserMFAdeviceName", - "User": {"Arn": "arn:aws:iam::111122223333:user/ExampleUser", - "CreateDate": "2011-07-01T17:23:07Z", - "Path": "/", - "UserId": "AIDEXAMPLE4EXAMPLEXYZ", - "UserName": "ExampleUser"} - } - ] -} diff --git a/tests/unit/botocore/response_parsing/xml/responses/iam-list-virtual-mfa-devices.xml b/tests/unit/botocore/response_parsing/xml/responses/iam-list-virtual-mfa-devices.xml deleted file mode 100644 index c6ac63be7a10..000000000000 --- a/tests/unit/botocore/response_parsing/xml/responses/iam-list-virtual-mfa-devices.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - false - - - arn:aws:iam::123456789012:mfa/MFAdeviceName - - - arn:aws:iam::123456789012:mfa/RootMFAdeviceName - 2011-10-20T20:49:03Z - - 123456789012 - arn:aws:iam::123456789012:root - 2009-10-13T22:00:36Z - - - - arn:aws:iam:::mfa/ExampleUserMFAdeviceName - 2011-10-31T20:45:02Z - - AIDEXAMPLE4EXAMPLEXYZ - / - ExampleUser - arn:aws:iam::111122223333:user/ExampleUser - 2011-07-01T17:23:07Z - - - - - - b61ce1b1-0401-11e1-b2f8-2dEXAMPLEbfc - -