@aws-sdk/client-iam 3.288.0 → 3.290.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/AddClientIDToOpenIDConnectProviderCommand.d.ts +29 -0
- package/dist-types/commands/AddRoleToInstanceProfileCommand.d.ts +35 -0
- package/dist-types/commands/AddUserToGroupCommand.d.ts +25 -0
- package/dist-types/commands/AttachGroupPolicyCommand.d.ts +33 -0
- package/dist-types/commands/AttachRolePolicyCommand.d.ts +39 -0
- package/dist-types/commands/AttachUserPolicyCommand.d.ts +33 -0
- package/dist-types/commands/ChangePasswordCommand.d.ts +39 -0
- package/dist-types/commands/CreateAccessKeyCommand.d.ts +35 -0
- package/dist-types/commands/CreateAccountAliasCommand.d.ts +24 -0
- package/dist-types/commands/CreateGroupCommand.d.ts +39 -0
- package/dist-types/commands/CreateInstanceProfileCommand.d.ts +44 -0
- package/dist-types/commands/CreateLoginProfileCommand.d.ts +43 -0
- package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +43 -0
- package/dist-types/commands/CreatePolicyCommand.d.ts +25 -0
- package/dist-types/commands/CreatePolicyVersionCommand.d.ts +21 -0
- package/dist-types/commands/CreateRoleCommand.d.ts +50 -0
- package/dist-types/commands/CreateSAMLProviderCommand.d.ts +21 -0
- package/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +17 -0
- package/dist-types/commands/CreateServiceSpecificCredentialCommand.d.ts +12 -0
- package/dist-types/commands/CreateUserCommand.d.ts +47 -0
- package/dist-types/commands/CreateVirtualMFADeviceCommand.d.ts +21 -0
- package/dist-types/commands/DeactivateMFADeviceCommand.d.ts +19 -0
- package/dist-types/commands/DeleteAccessKeyCommand.d.ts +25 -0
- package/dist-types/commands/DeleteAccountAliasCommand.d.ts +24 -0
- package/dist-types/commands/DeleteAccountPasswordPolicyCommand.d.ts +22 -0
- package/dist-types/commands/DeleteGroupCommand.d.ts +17 -0
- package/dist-types/commands/DeleteGroupPolicyCommand.d.ts +25 -0
- package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +28 -0
- package/dist-types/commands/DeleteLoginProfileCommand.d.ts +30 -0
- package/dist-types/commands/DeleteOpenIDConnectProviderCommand.d.ts +13 -0
- package/dist-types/commands/DeletePolicyCommand.d.ts +21 -0
- package/dist-types/commands/DeletePolicyVersionCommand.d.ts +21 -0
- package/dist-types/commands/DeleteRoleCommand.d.ts +38 -0
- package/dist-types/commands/DeleteRolePermissionsBoundaryCommand.d.ts +15 -0
- package/dist-types/commands/DeleteRolePolicyCommand.d.ts +31 -0
- package/dist-types/commands/DeleteSAMLProviderCommand.d.ts +17 -0
- package/dist-types/commands/DeleteSSHPublicKeyCommand.d.ts +5 -0
- package/dist-types/commands/DeleteServerCertificateCommand.d.ts +17 -0
- package/dist-types/commands/DeleteServiceLinkedRoleCommand.d.ts +13 -0
- package/dist-types/commands/DeleteServiceSpecificCredentialCommand.d.ts +5 -0
- package/dist-types/commands/DeleteSigningCertificateCommand.d.ts +25 -0
- package/dist-types/commands/DeleteUserCommand.d.ts +32 -0
- package/dist-types/commands/DeleteUserPermissionsBoundaryCommand.d.ts +9 -0
- package/dist-types/commands/DeleteUserPolicyCommand.d.ts +25 -0
- package/dist-types/commands/DeleteVirtualMFADeviceCommand.d.ts +28 -0
- package/dist-types/commands/DetachGroupPolicyCommand.d.ts +17 -0
- package/dist-types/commands/DetachRolePolicyCommand.d.ts +23 -0
- package/dist-types/commands/DetachUserPolicyCommand.d.ts +17 -0
- package/dist-types/commands/EnableMFADeviceCommand.d.ts +27 -0
- package/dist-types/commands/GenerateCredentialReportCommand.d.ts +9 -0
- package/dist-types/commands/GenerateOrganizationsAccessReportCommand.d.ts +21 -0
- package/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +25 -0
- package/dist-types/commands/GetAccessKeyLastUsedCommand.d.ts +5 -0
- package/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +5 -0
- package/dist-types/commands/GetAccountPasswordPolicyCommand.d.ts +34 -0
- package/dist-types/commands/GetAccountSummaryCommand.d.ts +46 -0
- package/dist-types/commands/GetContextKeysForCustomPolicyCommand.d.ts +5 -0
- package/dist-types/commands/GetContextKeysForPrincipalPolicyCommand.d.ts +9 -0
- package/dist-types/commands/GetCredentialReportCommand.d.ts +18 -0
- package/dist-types/commands/GetGroupCommand.d.ts +9 -0
- package/dist-types/commands/GetGroupPolicyCommand.d.ts +9 -0
- package/dist-types/commands/GetInstanceProfileCommand.d.ts +41 -0
- package/dist-types/commands/GetLoginProfileCommand.d.ts +28 -0
- package/dist-types/commands/GetOpenIDConnectProviderCommand.d.ts +13 -0
- package/dist-types/commands/GetOrganizationsAccessReportCommand.d.ts +49 -0
- package/dist-types/commands/GetPolicyCommand.d.ts +13 -0
- package/dist-types/commands/GetPolicyVersionCommand.d.ts +13 -0
- package/dist-types/commands/GetRoleCommand.d.ts +37 -0
- package/dist-types/commands/GetRolePolicyCommand.d.ts +9 -0
- package/dist-types/commands/GetSAMLProviderCommand.d.ts +13 -0
- package/dist-types/commands/GetSSHPublicKeyCommand.d.ts +9 -0
- package/dist-types/commands/GetServerCertificateCommand.d.ts +9 -0
- package/dist-types/commands/GetServiceLastAccessedDetailsCommand.d.ts +42 -0
- package/dist-types/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +50 -0
- package/dist-types/commands/GetServiceLinkedRoleDeletionStatusCommand.d.ts +13 -0
- package/dist-types/commands/GetUserCommand.d.ts +31 -0
- package/dist-types/commands/GetUserPolicyCommand.d.ts +9 -0
- package/dist-types/commands/ListAccessKeysCommand.d.ts +38 -0
- package/dist-types/commands/ListAccountAliasesCommand.d.ts +21 -0
- package/dist-types/commands/ListAttachedGroupPoliciesCommand.d.ts +13 -0
- package/dist-types/commands/ListAttachedRolePoliciesCommand.d.ts +13 -0
- package/dist-types/commands/ListAttachedUserPoliciesCommand.d.ts +13 -0
- package/dist-types/commands/ListEntitiesForPolicyCommand.d.ts +13 -0
- package/dist-types/commands/ListGroupPoliciesCommand.d.ts +28 -0
- package/dist-types/commands/ListGroupsCommand.d.ts +41 -0
- package/dist-types/commands/ListGroupsForUserCommand.d.ts +40 -0
- package/dist-types/commands/ListInstanceProfileTagsCommand.d.ts +9 -0
- package/dist-types/commands/ListInstanceProfilesCommand.d.ts +5 -0
- package/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +9 -0
- package/dist-types/commands/ListMFADeviceTagsCommand.d.ts +13 -0
- package/dist-types/commands/ListMFADevicesCommand.d.ts +9 -0
- package/dist-types/commands/ListOpenIDConnectProviderTagsCommand.d.ts +13 -0
- package/dist-types/commands/ListOpenIDConnectProvidersCommand.d.ts +5 -0
- package/dist-types/commands/ListPoliciesCommand.d.ts +5 -0
- package/dist-types/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +57 -0
- package/dist-types/commands/ListPolicyTagsCommand.d.ts +13 -0
- package/dist-types/commands/ListPolicyVersionsCommand.d.ts +13 -0
- package/dist-types/commands/ListRolePoliciesCommand.d.ts +9 -0
- package/dist-types/commands/ListRoleTagsCommand.d.ts +35 -0
- package/dist-types/commands/ListRolesCommand.d.ts +5 -0
- package/dist-types/commands/ListSAMLProviderTagsCommand.d.ts +13 -0
- package/dist-types/commands/ListSAMLProvidersCommand.d.ts +5 -0
- package/dist-types/commands/ListSSHPublicKeysCommand.d.ts +5 -0
- package/dist-types/commands/ListServerCertificateTagsCommand.d.ts +9 -0
- package/dist-types/commands/ListServerCertificatesCommand.d.ts +5 -0
- package/dist-types/commands/ListServiceSpecificCredentialsCommand.d.ts +8 -0
- package/dist-types/commands/ListSigningCertificatesCommand.d.ts +33 -0
- package/dist-types/commands/ListUserPoliciesCommand.d.ts +9 -0
- package/dist-types/commands/ListUserTagsCommand.d.ts +35 -0
- package/dist-types/commands/ListUsersCommand.d.ts +36 -0
- package/dist-types/commands/ListVirtualMFADevicesCommand.d.ts +22 -0
- package/dist-types/commands/PutGroupPolicyCommand.d.ts +30 -0
- package/dist-types/commands/PutRolePermissionsBoundaryCommand.d.ts +23 -0
- package/dist-types/commands/PutRolePolicyCommand.d.ts +36 -0
- package/dist-types/commands/PutUserPermissionsBoundaryCommand.d.ts +17 -0
- package/dist-types/commands/PutUserPolicyCommand.d.ts +30 -0
- package/dist-types/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +13 -0
- package/dist-types/commands/RemoveRoleFromInstanceProfileCommand.d.ts +31 -0
- package/dist-types/commands/RemoveUserFromGroupCommand.d.ts +25 -0
- package/dist-types/commands/ResetServiceSpecificCredentialCommand.d.ts +5 -0
- package/dist-types/commands/ResyncMFADeviceCommand.d.ts +17 -0
- package/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +17 -0
- package/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +16 -0
- package/dist-types/commands/SimulateCustomPolicyCommand.d.ts +9 -0
- package/dist-types/commands/SimulatePrincipalPolicyCommand.d.ts +13 -0
- package/dist-types/commands/TagInstanceProfileCommand.d.ts +21 -0
- package/dist-types/commands/TagMFADeviceCommand.d.ts +21 -0
- package/dist-types/commands/TagOpenIDConnectProviderCommand.d.ts +21 -0
- package/dist-types/commands/TagPolicyCommand.d.ts +21 -0
- package/dist-types/commands/TagRoleCommand.d.ts +42 -0
- package/dist-types/commands/TagSAMLProviderCommand.d.ts +21 -0
- package/dist-types/commands/TagServerCertificateCommand.d.ts +21 -0
- package/dist-types/commands/TagUserCommand.d.ts +42 -0
- package/dist-types/commands/UntagInstanceProfileCommand.d.ts +17 -0
- package/dist-types/commands/UntagMFADeviceCommand.d.ts +17 -0
- package/dist-types/commands/UntagOpenIDConnectProviderCommand.d.ts +17 -0
- package/dist-types/commands/UntagPolicyCommand.d.ts +17 -0
- package/dist-types/commands/UntagRoleCommand.d.ts +27 -0
- package/dist-types/commands/UntagSAMLProviderCommand.d.ts +17 -0
- package/dist-types/commands/UntagServerCertificateCommand.d.ts +17 -0
- package/dist-types/commands/UntagUserCommand.d.ts +27 -0
- package/dist-types/commands/UpdateAccessKeyCommand.d.ts +26 -0
- package/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +29 -0
- package/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +35 -0
- package/dist-types/commands/UpdateGroupCommand.d.ts +29 -0
- package/dist-types/commands/UpdateLoginProfileCommand.d.ts +35 -0
- package/dist-types/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +13 -0
- package/dist-types/commands/UpdateRoleCommand.d.ts +15 -0
- package/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +15 -0
- package/dist-types/commands/UpdateSAMLProviderCommand.d.ts +17 -0
- package/dist-types/commands/UpdateSSHPublicKeyCommand.d.ts +5 -0
- package/dist-types/commands/UpdateServerCertificateCommand.d.ts +17 -0
- package/dist-types/commands/UpdateServiceSpecificCredentialCommand.d.ts +5 -0
- package/dist-types/commands/UpdateSigningCertificateCommand.d.ts +26 -0
- package/dist-types/commands/UpdateUserCommand.d.ts +39 -0
- package/dist-types/commands/UploadSSHPublicKeyCommand.d.ts +20 -0
- package/dist-types/commands/UploadServerCertificateCommand.d.ts +55 -0
- package/dist-types/commands/UploadSigningCertificateCommand.d.ts +51 -0
- package/package.json +30 -30
|
@@ -36,6 +36,19 @@ export interface ListEntitiesForPolicyCommandOutput extends ListEntitiesForPolic
|
|
|
36
36
|
* @see {@link ListEntitiesForPolicyCommandOutput} for command's `response` shape.
|
|
37
37
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
38
38
|
*
|
|
39
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
40
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
41
|
+
* input parameter.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
44
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
45
|
+
* error message describes the resource.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
48
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
49
|
+
* failure.</p>
|
|
50
|
+
*
|
|
51
|
+
*
|
|
39
52
|
*/
|
|
40
53
|
export declare class ListEntitiesForPolicyCommand extends $Command<ListEntitiesForPolicyCommandInput, ListEntitiesForPolicyCommandOutput, IAMClientResolvedConfig> {
|
|
41
54
|
readonly input: ListEntitiesForPolicyCommandInput;
|
|
@@ -37,6 +37,34 @@ export interface ListGroupPoliciesCommandOutput extends ListGroupPoliciesRespons
|
|
|
37
37
|
* @see {@link ListGroupPoliciesCommandOutput} for command's `response` shape.
|
|
38
38
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
39
39
|
*
|
|
40
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
41
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
42
|
+
* error message describes the resource.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
45
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
46
|
+
* failure.</p>
|
|
47
|
+
*
|
|
48
|
+
*
|
|
49
|
+
* @example To list the in-line policies for an IAM group
|
|
50
|
+
* ```javascript
|
|
51
|
+
* // The following command lists the names of in-line policies that are embedded in the IAM group named Admins.
|
|
52
|
+
* const input = {
|
|
53
|
+
* "GroupName": "Admins"
|
|
54
|
+
* };
|
|
55
|
+
* const command = new ListGroupPoliciesCommand(input);
|
|
56
|
+
* const response = await client.send(command);
|
|
57
|
+
* /* response ==
|
|
58
|
+
* {
|
|
59
|
+
* "PolicyNames": [
|
|
60
|
+
* "AdminRoot",
|
|
61
|
+
* "KeyPolicy"
|
|
62
|
+
* ]
|
|
63
|
+
* }
|
|
64
|
+
* *\/
|
|
65
|
+
* // example id: 02de5095-2410-4d3a-ac1b-cc40234af68f
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
40
68
|
*/
|
|
41
69
|
export declare class ListGroupPoliciesCommand extends $Command<ListGroupPoliciesCommandInput, ListGroupPoliciesCommandOutput, IAMClientResolvedConfig> {
|
|
42
70
|
readonly input: ListGroupPoliciesCommandInput;
|
|
@@ -31,6 +31,47 @@ export interface ListGroupsCommandOutput extends ListGroupsResponse, __MetadataB
|
|
|
31
31
|
* @see {@link ListGroupsCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
35
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
36
|
+
* failure.</p>
|
|
37
|
+
*
|
|
38
|
+
*
|
|
39
|
+
* @example To list the IAM groups for the current account
|
|
40
|
+
* ```javascript
|
|
41
|
+
* // The following command lists the IAM groups in the current account:
|
|
42
|
+
* const input = {};
|
|
43
|
+
* const command = new ListGroupsCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* /* response ==
|
|
46
|
+
* {
|
|
47
|
+
* "Groups": [
|
|
48
|
+
* {
|
|
49
|
+
* "Arn": "arn:aws:iam::123456789012:group/Admins",
|
|
50
|
+
* "CreateDate": "2016-12-15T21:40:08.121Z",
|
|
51
|
+
* "GroupId": "AGPA1111111111EXAMPLE",
|
|
52
|
+
* "GroupName": "Admins",
|
|
53
|
+
* "Path": "/division_abc/subdivision_xyz/"
|
|
54
|
+
* },
|
|
55
|
+
* {
|
|
56
|
+
* "Arn": "arn:aws:iam::123456789012:group/division_abc/subdivision_xyz/product_1234/engineering/Test",
|
|
57
|
+
* "CreateDate": "2016-11-30T14:10:01.156Z",
|
|
58
|
+
* "GroupId": "AGP22222222222EXAMPLE",
|
|
59
|
+
* "GroupName": "Test",
|
|
60
|
+
* "Path": "/division_abc/subdivision_xyz/product_1234/engineering/"
|
|
61
|
+
* },
|
|
62
|
+
* {
|
|
63
|
+
* "Arn": "arn:aws:iam::123456789012:group/division_abc/subdivision_xyz/product_1234/Managers",
|
|
64
|
+
* "CreateDate": "2016-06-12T20:14:52.032Z",
|
|
65
|
+
* "GroupId": "AGPI3333333333EXAMPLE",
|
|
66
|
+
* "GroupName": "Managers",
|
|
67
|
+
* "Path": "/division_abc/subdivision_xyz/product_1234/"
|
|
68
|
+
* }
|
|
69
|
+
* ]
|
|
70
|
+
* }
|
|
71
|
+
* *\/
|
|
72
|
+
* // example id: b3ab1380-2a21-42fb-8e85-503f65512c66
|
|
73
|
+
* ```
|
|
74
|
+
*
|
|
34
75
|
*/
|
|
35
76
|
export declare class ListGroupsCommand extends $Command<ListGroupsCommandInput, ListGroupsCommandOutput, IAMClientResolvedConfig> {
|
|
36
77
|
readonly input: ListGroupsCommandInput;
|
|
@@ -31,6 +31,46 @@ export interface ListGroupsForUserCommandOutput extends ListGroupsForUserRespons
|
|
|
31
31
|
* @see {@link ListGroupsForUserCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
35
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
36
|
+
* error message describes the resource.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
39
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
40
|
+
* failure.</p>
|
|
41
|
+
*
|
|
42
|
+
*
|
|
43
|
+
* @example To list the groups that an IAM user belongs to
|
|
44
|
+
* ```javascript
|
|
45
|
+
* // The following command displays the groups that the IAM user named Bob belongs to.
|
|
46
|
+
* const input = {
|
|
47
|
+
* "UserName": "Bob"
|
|
48
|
+
* };
|
|
49
|
+
* const command = new ListGroupsForUserCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* /* response ==
|
|
52
|
+
* {
|
|
53
|
+
* "Groups": [
|
|
54
|
+
* {
|
|
55
|
+
* "Arn": "arn:aws:iam::123456789012:group/division_abc/subdivision_xyz/product_1234/engineering/Test",
|
|
56
|
+
* "CreateDate": "2016-11-30T14:10:01.156Z",
|
|
57
|
+
* "GroupId": "AGP2111111111EXAMPLE",
|
|
58
|
+
* "GroupName": "Test",
|
|
59
|
+
* "Path": "/division_abc/subdivision_xyz/product_1234/engineering/"
|
|
60
|
+
* },
|
|
61
|
+
* {
|
|
62
|
+
* "Arn": "arn:aws:iam::123456789012:group/division_abc/subdivision_xyz/product_1234/Managers",
|
|
63
|
+
* "CreateDate": "2016-06-12T20:14:52.032Z",
|
|
64
|
+
* "GroupId": "AGPI222222222SEXAMPLE",
|
|
65
|
+
* "GroupName": "Managers",
|
|
66
|
+
* "Path": "/division_abc/subdivision_xyz/product_1234/"
|
|
67
|
+
* }
|
|
68
|
+
* ]
|
|
69
|
+
* }
|
|
70
|
+
* *\/
|
|
71
|
+
* // example id: 278ec2ee-fc28-4136-83fb-433af0ae46a2
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
34
74
|
*/
|
|
35
75
|
export declare class ListGroupsForUserCommand extends $Command<ListGroupsForUserCommandInput, ListGroupsForUserCommandOutput, IAMClientResolvedConfig> {
|
|
36
76
|
readonly input: ListGroupsForUserCommandInput;
|
|
@@ -31,6 +31,15 @@ export interface ListInstanceProfileTagsCommandOutput extends ListInstanceProfil
|
|
|
31
31
|
* @see {@link ListInstanceProfileTagsCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
35
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
36
|
+
* error message describes the resource.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
39
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
40
|
+
* failure.</p>
|
|
41
|
+
*
|
|
42
|
+
*
|
|
34
43
|
*/
|
|
35
44
|
export declare class ListInstanceProfileTagsCommand extends $Command<ListInstanceProfileTagsCommandInput, ListInstanceProfileTagsCommandOutput, IAMClientResolvedConfig> {
|
|
36
45
|
readonly input: ListInstanceProfileTagsCommandInput;
|
|
@@ -38,6 +38,11 @@ export interface ListInstanceProfilesCommandOutput extends ListInstanceProfilesR
|
|
|
38
38
|
* @see {@link ListInstanceProfilesCommandOutput} for command's `response` shape.
|
|
39
39
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
40
40
|
*
|
|
41
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
42
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
43
|
+
* failure.</p>
|
|
44
|
+
*
|
|
45
|
+
*
|
|
41
46
|
*/
|
|
42
47
|
export declare class ListInstanceProfilesCommand extends $Command<ListInstanceProfilesCommandInput, ListInstanceProfilesCommandOutput, IAMClientResolvedConfig> {
|
|
43
48
|
readonly input: ListInstanceProfilesCommandInput;
|
|
@@ -34,6 +34,15 @@ export interface ListInstanceProfilesForRoleCommandOutput extends ListInstancePr
|
|
|
34
34
|
* @see {@link ListInstanceProfilesForRoleCommandOutput} for command's `response` shape.
|
|
35
35
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
36
36
|
*
|
|
37
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
38
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
39
|
+
* error message describes the resource.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
42
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
43
|
+
* failure.</p>
|
|
44
|
+
*
|
|
45
|
+
*
|
|
37
46
|
*/
|
|
38
47
|
export declare class ListInstanceProfilesForRoleCommand extends $Command<ListInstanceProfilesForRoleCommandInput, ListInstanceProfilesForRoleCommandOutput, IAMClientResolvedConfig> {
|
|
39
48
|
readonly input: ListInstanceProfilesForRoleCommandInput;
|
|
@@ -31,6 +31,19 @@ export interface ListMFADeviceTagsCommandOutput extends ListMFADeviceTagsRespons
|
|
|
31
31
|
* @see {@link ListMFADeviceTagsCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
35
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
36
|
+
* input parameter.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
39
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
40
|
+
* error message describes the resource.</p>
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
43
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
44
|
+
* failure.</p>
|
|
45
|
+
*
|
|
46
|
+
*
|
|
34
47
|
*/
|
|
35
48
|
export declare class ListMFADeviceTagsCommand extends $Command<ListMFADeviceTagsCommandInput, ListMFADeviceTagsCommandOutput, IAMClientResolvedConfig> {
|
|
36
49
|
readonly input: ListMFADeviceTagsCommandInput;
|
|
@@ -34,6 +34,15 @@ export interface ListMFADevicesCommandOutput extends ListMFADevicesResponse, __M
|
|
|
34
34
|
* @see {@link ListMFADevicesCommandOutput} for command's `response` shape.
|
|
35
35
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
36
36
|
*
|
|
37
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
38
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
39
|
+
* error message describes the resource.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
42
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
43
|
+
* failure.</p>
|
|
44
|
+
*
|
|
45
|
+
*
|
|
37
46
|
*/
|
|
38
47
|
export declare class ListMFADevicesCommand extends $Command<ListMFADevicesCommandInput, ListMFADevicesCommandOutput, IAMClientResolvedConfig> {
|
|
39
48
|
readonly input: ListMFADevicesCommandInput;
|
|
@@ -33,6 +33,19 @@ export interface ListOpenIDConnectProviderTagsCommandOutput extends ListOpenIDCo
|
|
|
33
33
|
* @see {@link ListOpenIDConnectProviderTagsCommandOutput} for command's `response` shape.
|
|
34
34
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
35
35
|
*
|
|
36
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
37
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
38
|
+
* input parameter.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
41
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
42
|
+
* error message describes the resource.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
45
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
46
|
+
* failure.</p>
|
|
47
|
+
*
|
|
48
|
+
*
|
|
36
49
|
*/
|
|
37
50
|
export declare class ListOpenIDConnectProviderTagsCommand extends $Command<ListOpenIDConnectProviderTagsCommandInput, ListOpenIDConnectProviderTagsCommandOutput, IAMClientResolvedConfig> {
|
|
38
51
|
readonly input: ListOpenIDConnectProviderTagsCommandInput;
|
|
@@ -34,6 +34,11 @@ export interface ListOpenIDConnectProvidersCommandOutput extends ListOpenIDConne
|
|
|
34
34
|
* @see {@link ListOpenIDConnectProvidersCommandOutput} for command's `response` shape.
|
|
35
35
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
36
36
|
*
|
|
37
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
38
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
39
|
+
* failure.</p>
|
|
40
|
+
*
|
|
41
|
+
*
|
|
37
42
|
*/
|
|
38
43
|
export declare class ListOpenIDConnectProvidersCommand extends $Command<ListOpenIDConnectProvidersCommandInput, ListOpenIDConnectProvidersCommandOutput, IAMClientResolvedConfig> {
|
|
39
44
|
readonly input: ListOpenIDConnectProvidersCommandInput;
|
|
@@ -44,6 +44,11 @@ export interface ListPoliciesCommandOutput extends ListPoliciesResponse, __Metad
|
|
|
44
44
|
* @see {@link ListPoliciesCommandOutput} for command's `response` shape.
|
|
45
45
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
46
46
|
*
|
|
47
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
48
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
49
|
+
* failure.</p>
|
|
50
|
+
*
|
|
51
|
+
*
|
|
47
52
|
*/
|
|
48
53
|
export declare class ListPoliciesCommand extends $Command<ListPoliciesCommandInput, ListPoliciesCommandOutput, IAMClientResolvedConfig> {
|
|
49
54
|
readonly input: ListPoliciesCommandInput;
|
|
@@ -68,6 +68,63 @@ export interface ListPoliciesGrantingServiceAccessCommandOutput extends ListPoli
|
|
|
68
68
|
* @see {@link ListPoliciesGrantingServiceAccessCommandOutput} for command's `response` shape.
|
|
69
69
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
70
70
|
*
|
|
71
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
72
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
73
|
+
* input parameter.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
76
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
77
|
+
* error message describes the resource.</p>
|
|
78
|
+
*
|
|
79
|
+
*
|
|
80
|
+
* @example To list policies that allow access to a service
|
|
81
|
+
* ```javascript
|
|
82
|
+
* // The following operation lists policies that allow ExampleUser01 to access IAM or EC2.
|
|
83
|
+
* const input = {
|
|
84
|
+
* "Arn": "arn:aws:iam::123456789012:user/ExampleUser01",
|
|
85
|
+
* "ServiceNamespaces": [
|
|
86
|
+
* "iam",
|
|
87
|
+
* "ec2"
|
|
88
|
+
* ]
|
|
89
|
+
* };
|
|
90
|
+
* const command = new ListPoliciesGrantingServiceAccessCommand(input);
|
|
91
|
+
* const response = await client.send(command);
|
|
92
|
+
* /* response ==
|
|
93
|
+
* {
|
|
94
|
+
* "IsTruncated": false,
|
|
95
|
+
* "PoliciesGrantingServiceAccess": [
|
|
96
|
+
* {
|
|
97
|
+
* "Policies": [
|
|
98
|
+
* {
|
|
99
|
+
* "PolicyArn": "arn:aws:iam::123456789012:policy/ExampleIamPolicy",
|
|
100
|
+
* "PolicyName": "ExampleIamPolicy",
|
|
101
|
+
* "PolicyType": "MANAGED"
|
|
102
|
+
* },
|
|
103
|
+
* {
|
|
104
|
+
* "EntityName": "AWSExampleGroup1",
|
|
105
|
+
* "EntityType": "GROUP",
|
|
106
|
+
* "PolicyName": "ExampleGroup1Policy",
|
|
107
|
+
* "PolicyType": "INLINE"
|
|
108
|
+
* }
|
|
109
|
+
* ],
|
|
110
|
+
* "ServiceNamespace": "iam"
|
|
111
|
+
* },
|
|
112
|
+
* {
|
|
113
|
+
* "Policies": [
|
|
114
|
+
* {
|
|
115
|
+
* "PolicyArn": "arn:aws:iam::123456789012:policy/ExampleEc2Policy",
|
|
116
|
+
* "PolicyName": "ExampleEc2Policy",
|
|
117
|
+
* "PolicyType": "MANAGED"
|
|
118
|
+
* }
|
|
119
|
+
* ],
|
|
120
|
+
* "ServiceNamespace": "ec2"
|
|
121
|
+
* }
|
|
122
|
+
* ]
|
|
123
|
+
* }
|
|
124
|
+
* *\/
|
|
125
|
+
* // example id: listpoliciesaccess-user-1541698749508
|
|
126
|
+
* ```
|
|
127
|
+
*
|
|
71
128
|
*/
|
|
72
129
|
export declare class ListPoliciesGrantingServiceAccessCommand extends $Command<ListPoliciesGrantingServiceAccessCommandInput, ListPoliciesGrantingServiceAccessCommandOutput, IAMClientResolvedConfig> {
|
|
73
130
|
readonly input: ListPoliciesGrantingServiceAccessCommandInput;
|
|
@@ -31,6 +31,19 @@ export interface ListPolicyTagsCommandOutput extends ListPolicyTagsResponse, __M
|
|
|
31
31
|
* @see {@link ListPolicyTagsCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
35
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
36
|
+
* input parameter.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
39
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
40
|
+
* error message describes the resource.</p>
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
43
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
44
|
+
* failure.</p>
|
|
45
|
+
*
|
|
46
|
+
*
|
|
34
47
|
*/
|
|
35
48
|
export declare class ListPolicyTagsCommand extends $Command<ListPolicyTagsCommandInput, ListPolicyTagsCommandOutput, IAMClientResolvedConfig> {
|
|
36
49
|
readonly input: ListPolicyTagsCommandInput;
|
|
@@ -32,6 +32,19 @@ export interface ListPolicyVersionsCommandOutput extends ListPolicyVersionsRespo
|
|
|
32
32
|
* @see {@link ListPolicyVersionsCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
36
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
37
|
+
* input parameter.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
40
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
41
|
+
* error message describes the resource.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
44
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
45
|
+
* failure.</p>
|
|
46
|
+
*
|
|
47
|
+
*
|
|
35
48
|
*/
|
|
36
49
|
export declare class ListPolicyVersionsCommand extends $Command<ListPolicyVersionsCommandInput, ListPolicyVersionsCommandOutput, IAMClientResolvedConfig> {
|
|
37
50
|
readonly input: ListPolicyVersionsCommandInput;
|
|
@@ -37,6 +37,15 @@ export interface ListRolePoliciesCommandOutput extends ListRolePoliciesResponse,
|
|
|
37
37
|
* @see {@link ListRolePoliciesCommandOutput} for command's `response` shape.
|
|
38
38
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
39
39
|
*
|
|
40
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
41
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
42
|
+
* error message describes the resource.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
45
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
46
|
+
* failure.</p>
|
|
47
|
+
*
|
|
48
|
+
*
|
|
40
49
|
*/
|
|
41
50
|
export declare class ListRolePoliciesCommand extends $Command<ListRolePoliciesCommandInput, ListRolePoliciesCommandOutput, IAMClientResolvedConfig> {
|
|
42
51
|
readonly input: ListRolePoliciesCommandInput;
|
|
@@ -31,6 +31,41 @@ export interface ListRoleTagsCommandOutput extends ListRoleTagsResponse, __Metad
|
|
|
31
31
|
* @see {@link ListRoleTagsCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
35
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
36
|
+
* error message describes the resource.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
39
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
40
|
+
* failure.</p>
|
|
41
|
+
*
|
|
42
|
+
*
|
|
43
|
+
* @example To list the tags attached to an IAM role
|
|
44
|
+
* ```javascript
|
|
45
|
+
* // The following example shows how to list the tags attached to a role.
|
|
46
|
+
* const input = {
|
|
47
|
+
* "RoleName": "taggedrole1"
|
|
48
|
+
* };
|
|
49
|
+
* const command = new ListRoleTagsCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* /* response ==
|
|
52
|
+
* {
|
|
53
|
+
* "IsTruncated": false,
|
|
54
|
+
* "Tags": [
|
|
55
|
+
* {
|
|
56
|
+
* "Key": "Dept",
|
|
57
|
+
* "Value": "12345"
|
|
58
|
+
* },
|
|
59
|
+
* {
|
|
60
|
+
* "Key": "Team",
|
|
61
|
+
* "Value": "Accounting"
|
|
62
|
+
* }
|
|
63
|
+
* ]
|
|
64
|
+
* }
|
|
65
|
+
* *\/
|
|
66
|
+
* // example id: to-list-the-tags-attached-to-an-iam-role-1506719238376
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
34
69
|
*/
|
|
35
70
|
export declare class ListRoleTagsCommand extends $Command<ListRoleTagsCommandInput, ListRoleTagsCommandOutput, IAMClientResolvedConfig> {
|
|
36
71
|
readonly input: ListRoleTagsCommandInput;
|
|
@@ -37,6 +37,11 @@ export interface ListRolesCommandOutput extends ListRolesResponse, __MetadataBea
|
|
|
37
37
|
* @see {@link ListRolesCommandOutput} for command's `response` shape.
|
|
38
38
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
39
39
|
*
|
|
40
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
41
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
42
|
+
* failure.</p>
|
|
43
|
+
*
|
|
44
|
+
*
|
|
40
45
|
*/
|
|
41
46
|
export declare class ListRolesCommand extends $Command<ListRolesCommandInput, ListRolesCommandOutput, IAMClientResolvedConfig> {
|
|
42
47
|
readonly input: ListRolesCommandInput;
|
|
@@ -33,6 +33,19 @@ export interface ListSAMLProviderTagsCommandOutput extends ListSAMLProviderTagsR
|
|
|
33
33
|
* @see {@link ListSAMLProviderTagsCommandOutput} for command's `response` shape.
|
|
34
34
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
35
35
|
*
|
|
36
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
37
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
38
|
+
* input parameter.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
41
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
42
|
+
* error message describes the resource.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
45
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
46
|
+
* failure.</p>
|
|
47
|
+
*
|
|
48
|
+
*
|
|
36
49
|
*/
|
|
37
50
|
export declare class ListSAMLProviderTagsCommand extends $Command<ListSAMLProviderTagsCommandInput, ListSAMLProviderTagsCommandOutput, IAMClientResolvedConfig> {
|
|
38
51
|
readonly input: ListSAMLProviderTagsCommandInput;
|
|
@@ -34,6 +34,11 @@ export interface ListSAMLProvidersCommandOutput extends ListSAMLProvidersRespons
|
|
|
34
34
|
* @see {@link ListSAMLProvidersCommandOutput} for command's `response` shape.
|
|
35
35
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
36
36
|
*
|
|
37
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
38
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
39
|
+
* failure.</p>
|
|
40
|
+
*
|
|
41
|
+
*
|
|
37
42
|
*/
|
|
38
43
|
export declare class ListSAMLProvidersCommand extends $Command<ListSAMLProvidersCommandInput, ListSAMLProvidersCommandOutput, IAMClientResolvedConfig> {
|
|
39
44
|
readonly input: ListSAMLProvidersCommandInput;
|
|
@@ -36,6 +36,11 @@ export interface ListSSHPublicKeysCommandOutput extends ListSSHPublicKeysRespons
|
|
|
36
36
|
* @see {@link ListSSHPublicKeysCommandOutput} for command's `response` shape.
|
|
37
37
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
38
38
|
*
|
|
39
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
40
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
41
|
+
* error message describes the resource.</p>
|
|
42
|
+
*
|
|
43
|
+
*
|
|
39
44
|
*/
|
|
40
45
|
export declare class ListSSHPublicKeysCommand extends $Command<ListSSHPublicKeysCommandInput, ListSSHPublicKeysCommandOutput, IAMClientResolvedConfig> {
|
|
41
46
|
readonly input: ListSSHPublicKeysCommandInput;
|
|
@@ -38,6 +38,15 @@ export interface ListServerCertificateTagsCommandOutput extends ListServerCertif
|
|
|
38
38
|
* @see {@link ListServerCertificateTagsCommandOutput} for command's `response` shape.
|
|
39
39
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
40
40
|
*
|
|
41
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
42
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
43
|
+
* error message describes the resource.</p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
46
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
47
|
+
* failure.</p>
|
|
48
|
+
*
|
|
49
|
+
*
|
|
41
50
|
*/
|
|
42
51
|
export declare class ListServerCertificateTagsCommand extends $Command<ListServerCertificateTagsCommandInput, ListServerCertificateTagsCommandOutput, IAMClientResolvedConfig> {
|
|
43
52
|
readonly input: ListServerCertificateTagsCommandInput;
|
|
@@ -40,6 +40,11 @@ export interface ListServerCertificatesCommandOutput extends ListServerCertifica
|
|
|
40
40
|
* @see {@link ListServerCertificatesCommandOutput} for command's `response` shape.
|
|
41
41
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
42
42
|
*
|
|
43
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
44
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
45
|
+
* failure.</p>
|
|
46
|
+
*
|
|
47
|
+
*
|
|
43
48
|
*/
|
|
44
49
|
export declare class ListServerCertificatesCommand extends $Command<ListServerCertificatesCommandInput, ListServerCertificatesCommandOutput, IAMClientResolvedConfig> {
|
|
45
50
|
readonly input: ListServerCertificatesCommandInput;
|
|
@@ -34,6 +34,14 @@ export interface ListServiceSpecificCredentialsCommandOutput extends ListService
|
|
|
34
34
|
* @see {@link ListServiceSpecificCredentialsCommandOutput} for command's `response` shape.
|
|
35
35
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
36
36
|
*
|
|
37
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
38
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
39
|
+
* error message describes the resource.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link ServiceNotSupportedException} (client fault)
|
|
42
|
+
* <p>The specified service does not support service-specific credentials.</p>
|
|
43
|
+
*
|
|
44
|
+
*
|
|
37
45
|
*/
|
|
38
46
|
export declare class ListServiceSpecificCredentialsCommand extends $Command<ListServiceSpecificCredentialsCommandInput, ListServiceSpecificCredentialsCommandOutput, IAMClientResolvedConfig> {
|
|
39
47
|
readonly input: ListServiceSpecificCredentialsCommandInput;
|
|
@@ -38,6 +38,39 @@ export interface ListSigningCertificatesCommandOutput extends ListSigningCertifi
|
|
|
38
38
|
* @see {@link ListSigningCertificatesCommandOutput} for command's `response` shape.
|
|
39
39
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
40
40
|
*
|
|
41
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
42
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
43
|
+
* error message describes the resource.</p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
46
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
47
|
+
* failure.</p>
|
|
48
|
+
*
|
|
49
|
+
*
|
|
50
|
+
* @example To list the signing certificates for an IAM user
|
|
51
|
+
* ```javascript
|
|
52
|
+
* // The following command lists the signing certificates for the IAM user named Bob.
|
|
53
|
+
* const input = {
|
|
54
|
+
* "UserName": "Bob"
|
|
55
|
+
* };
|
|
56
|
+
* const command = new ListSigningCertificatesCommand(input);
|
|
57
|
+
* const response = await client.send(command);
|
|
58
|
+
* /* response ==
|
|
59
|
+
* {
|
|
60
|
+
* "Certificates": [
|
|
61
|
+
* {
|
|
62
|
+
* "CertificateBody": "-----BEGIN CERTIFICATE-----<certificate-body>-----END CERTIFICATE-----",
|
|
63
|
+
* "CertificateId": "TA7SMP42TDN5Z26OBPJE7EXAMPLE",
|
|
64
|
+
* "Status": "Active",
|
|
65
|
+
* "UploadDate": "2013-06-06T21:40:08Z",
|
|
66
|
+
* "UserName": "Bob"
|
|
67
|
+
* }
|
|
68
|
+
* ]
|
|
69
|
+
* }
|
|
70
|
+
* *\/
|
|
71
|
+
* // example id: b4c10256-4fc9-457e-b3fd-4a110d4d73dc
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
41
74
|
*/
|
|
42
75
|
export declare class ListSigningCertificatesCommand extends $Command<ListSigningCertificatesCommandInput, ListSigningCertificatesCommandOutput, IAMClientResolvedConfig> {
|
|
43
76
|
readonly input: ListSigningCertificatesCommandInput;
|
|
@@ -36,6 +36,15 @@ export interface ListUserPoliciesCommandOutput extends ListUserPoliciesResponse,
|
|
|
36
36
|
* @see {@link ListUserPoliciesCommandOutput} for command's `response` shape.
|
|
37
37
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
38
38
|
*
|
|
39
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
40
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
41
|
+
* error message describes the resource.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
44
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
45
|
+
* failure.</p>
|
|
46
|
+
*
|
|
47
|
+
*
|
|
39
48
|
*/
|
|
40
49
|
export declare class ListUserPoliciesCommand extends $Command<ListUserPoliciesCommandInput, ListUserPoliciesCommandOutput, IAMClientResolvedConfig> {
|
|
41
50
|
readonly input: ListUserPoliciesCommandInput;
|