@aws-sdk/client-iam 3.325.0 → 3.326.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.
Files changed (159) hide show
  1. package/dist-types/commands/AddClientIDToOpenIDConnectProviderCommand.d.ts +4 -0
  2. package/dist-types/commands/AddRoleToInstanceProfileCommand.d.ts +4 -0
  3. package/dist-types/commands/AddUserToGroupCommand.d.ts +4 -0
  4. package/dist-types/commands/AttachGroupPolicyCommand.d.ts +4 -0
  5. package/dist-types/commands/AttachRolePolicyCommand.d.ts +4 -0
  6. package/dist-types/commands/AttachUserPolicyCommand.d.ts +4 -0
  7. package/dist-types/commands/ChangePasswordCommand.d.ts +4 -0
  8. package/dist-types/commands/CreateAccessKeyCommand.d.ts +12 -0
  9. package/dist-types/commands/CreateAccountAliasCommand.d.ts +4 -0
  10. package/dist-types/commands/CreateGroupCommand.d.ts +12 -0
  11. package/dist-types/commands/CreateInstanceProfileCommand.d.ts +44 -0
  12. package/dist-types/commands/CreateLoginProfileCommand.d.ts +10 -0
  13. package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +12 -0
  14. package/dist-types/commands/CreatePolicyCommand.d.ts +24 -0
  15. package/dist-types/commands/CreatePolicyVersionCommand.d.ts +11 -0
  16. package/dist-types/commands/CreateRoleCommand.d.ts +29 -0
  17. package/dist-types/commands/CreateSAMLProviderCommand.d.ts +12 -0
  18. package/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +29 -0
  19. package/dist-types/commands/CreateServiceSpecificCredentialCommand.d.ts +14 -0
  20. package/dist-types/commands/CreateUserCommand.d.ts +23 -0
  21. package/dist-types/commands/CreateVirtualMFADeviceCommand.d.ts +35 -0
  22. package/dist-types/commands/DeactivateMFADeviceCommand.d.ts +4 -0
  23. package/dist-types/commands/DeleteAccessKeyCommand.d.ts +4 -0
  24. package/dist-types/commands/DeleteAccountAliasCommand.d.ts +4 -0
  25. package/dist-types/commands/DeleteAccountPasswordPolicyCommand.d.ts +4 -0
  26. package/dist-types/commands/DeleteGroupCommand.d.ts +4 -0
  27. package/dist-types/commands/DeleteGroupPolicyCommand.d.ts +4 -0
  28. package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +4 -0
  29. package/dist-types/commands/DeleteLoginProfileCommand.d.ts +4 -0
  30. package/dist-types/commands/DeleteOpenIDConnectProviderCommand.d.ts +4 -0
  31. package/dist-types/commands/DeletePolicyCommand.d.ts +4 -0
  32. package/dist-types/commands/DeletePolicyVersionCommand.d.ts +4 -0
  33. package/dist-types/commands/DeleteRoleCommand.d.ts +4 -0
  34. package/dist-types/commands/DeleteRolePermissionsBoundaryCommand.d.ts +4 -0
  35. package/dist-types/commands/DeleteRolePolicyCommand.d.ts +4 -0
  36. package/dist-types/commands/DeleteSAMLProviderCommand.d.ts +4 -0
  37. package/dist-types/commands/DeleteSSHPublicKeyCommand.d.ts +4 -0
  38. package/dist-types/commands/DeleteServerCertificateCommand.d.ts +4 -0
  39. package/dist-types/commands/DeleteServiceLinkedRoleCommand.d.ts +6 -0
  40. package/dist-types/commands/DeleteServiceSpecificCredentialCommand.d.ts +4 -0
  41. package/dist-types/commands/DeleteSigningCertificateCommand.d.ts +4 -0
  42. package/dist-types/commands/DeleteUserCommand.d.ts +4 -0
  43. package/dist-types/commands/DeleteUserPermissionsBoundaryCommand.d.ts +4 -0
  44. package/dist-types/commands/DeleteUserPolicyCommand.d.ts +4 -0
  45. package/dist-types/commands/DeleteVirtualMFADeviceCommand.d.ts +4 -0
  46. package/dist-types/commands/DetachGroupPolicyCommand.d.ts +4 -0
  47. package/dist-types/commands/DetachRolePolicyCommand.d.ts +4 -0
  48. package/dist-types/commands/DetachUserPolicyCommand.d.ts +4 -0
  49. package/dist-types/commands/EnableMFADeviceCommand.d.ts +4 -0
  50. package/dist-types/commands/GenerateCredentialReportCommand.d.ts +7 -0
  51. package/dist-types/commands/GenerateOrganizationsAccessReportCommand.d.ts +6 -0
  52. package/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +6 -0
  53. package/dist-types/commands/GetAccessKeyLastUsedCommand.d.ts +11 -0
  54. package/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +152 -0
  55. package/dist-types/commands/GetAccountPasswordPolicyCommand.d.ts +17 -0
  56. package/dist-types/commands/GetAccountSummaryCommand.d.ts +8 -0
  57. package/dist-types/commands/GetContextKeysForCustomPolicyCommand.d.ts +8 -0
  58. package/dist-types/commands/GetContextKeysForPrincipalPolicyCommand.d.ts +8 -0
  59. package/dist-types/commands/GetCredentialReportCommand.d.ts +8 -0
  60. package/dist-types/commands/GetGroupCommand.d.ts +34 -0
  61. package/dist-types/commands/GetGroupPolicyCommand.d.ts +8 -0
  62. package/dist-types/commands/GetInstanceProfileCommand.d.ts +44 -0
  63. package/dist-types/commands/GetLoginProfileCommand.d.ts +10 -0
  64. package/dist-types/commands/GetOpenIDConnectProviderCommand.d.ts +19 -0
  65. package/dist-types/commands/GetOrganizationsAccessReportCommand.d.ts +26 -0
  66. package/dist-types/commands/GetPolicyCommand.d.ts +24 -0
  67. package/dist-types/commands/GetPolicyVersionCommand.d.ts +11 -0
  68. package/dist-types/commands/GetRoleCommand.d.ts +29 -0
  69. package/dist-types/commands/GetRolePolicyCommand.d.ts +8 -0
  70. package/dist-types/commands/GetSAMLProviderCommand.d.ts +14 -0
  71. package/dist-types/commands/GetSSHPublicKeyCommand.d.ts +13 -0
  72. package/dist-types/commands/GetServerCertificateCommand.d.ts +23 -0
  73. package/dist-types/commands/GetServiceLastAccessedDetailsCommand.d.ts +33 -0
  74. package/dist-types/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +26 -0
  75. package/dist-types/commands/GetServiceLinkedRoleDeletionStatusCommand.d.ts +17 -0
  76. package/dist-types/commands/GetUserCommand.d.ts +23 -0
  77. package/dist-types/commands/GetUserPolicyCommand.d.ts +8 -0
  78. package/dist-types/commands/ListAccessKeysCommand.d.ts +15 -0
  79. package/dist-types/commands/ListAccountAliasesCommand.d.ts +10 -0
  80. package/dist-types/commands/ListAttachedGroupPoliciesCommand.d.ts +13 -0
  81. package/dist-types/commands/ListAttachedRolePoliciesCommand.d.ts +13 -0
  82. package/dist-types/commands/ListAttachedUserPoliciesCommand.d.ts +13 -0
  83. package/dist-types/commands/ListEntitiesForPolicyCommand.d.ts +25 -0
  84. package/dist-types/commands/ListGroupPoliciesCommand.d.ts +10 -0
  85. package/dist-types/commands/ListGroupsCommand.d.ts +16 -0
  86. package/dist-types/commands/ListGroupsForUserCommand.d.ts +16 -0
  87. package/dist-types/commands/ListInstanceProfileTagsCommand.d.ts +13 -0
  88. package/dist-types/commands/ListInstanceProfilesCommand.d.ts +48 -0
  89. package/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +48 -0
  90. package/dist-types/commands/ListMFADeviceTagsCommand.d.ts +13 -0
  91. package/dist-types/commands/ListMFADevicesCommand.d.ts +14 -0
  92. package/dist-types/commands/ListOpenIDConnectProviderTagsCommand.d.ts +13 -0
  93. package/dist-types/commands/ListOpenIDConnectProvidersCommand.d.ts +10 -0
  94. package/dist-types/commands/ListPoliciesCommand.d.ts +28 -0
  95. package/dist-types/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +21 -0
  96. package/dist-types/commands/ListPolicyTagsCommand.d.ts +13 -0
  97. package/dist-types/commands/ListPolicyVersionsCommand.d.ts +15 -0
  98. package/dist-types/commands/ListRolePoliciesCommand.d.ts +10 -0
  99. package/dist-types/commands/ListRoleTagsCommand.d.ts +13 -0
  100. package/dist-types/commands/ListRolesCommand.d.ts +33 -0
  101. package/dist-types/commands/ListSAMLProviderTagsCommand.d.ts +13 -0
  102. package/dist-types/commands/ListSAMLProvidersCommand.d.ts +12 -0
  103. package/dist-types/commands/ListSSHPublicKeysCommand.d.ts +15 -0
  104. package/dist-types/commands/ListServerCertificateTagsCommand.d.ts +13 -0
  105. package/dist-types/commands/ListServerCertificatesCommand.d.ts +17 -0
  106. package/dist-types/commands/ListServiceSpecificCredentialsCommand.d.ts +15 -0
  107. package/dist-types/commands/ListSigningCertificatesCommand.d.ts +16 -0
  108. package/dist-types/commands/ListUserPoliciesCommand.d.ts +10 -0
  109. package/dist-types/commands/ListUserTagsCommand.d.ts +13 -0
  110. package/dist-types/commands/ListUsersCommand.d.ts +27 -0
  111. package/dist-types/commands/ListVirtualMFADevicesCommand.d.ts +39 -0
  112. package/dist-types/commands/PutGroupPolicyCommand.d.ts +4 -0
  113. package/dist-types/commands/PutRolePermissionsBoundaryCommand.d.ts +4 -0
  114. package/dist-types/commands/PutRolePolicyCommand.d.ts +4 -0
  115. package/dist-types/commands/PutUserPermissionsBoundaryCommand.d.ts +4 -0
  116. package/dist-types/commands/PutUserPolicyCommand.d.ts +4 -0
  117. package/dist-types/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +4 -0
  118. package/dist-types/commands/RemoveRoleFromInstanceProfileCommand.d.ts +4 -0
  119. package/dist-types/commands/RemoveUserFromGroupCommand.d.ts +4 -0
  120. package/dist-types/commands/ResetServiceSpecificCredentialCommand.d.ts +14 -0
  121. package/dist-types/commands/ResyncMFADeviceCommand.d.ts +4 -0
  122. package/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +4 -0
  123. package/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +4 -0
  124. package/dist-types/commands/SimulateCustomPolicyCommand.d.ts +69 -0
  125. package/dist-types/commands/SimulatePrincipalPolicyCommand.d.ts +69 -0
  126. package/dist-types/commands/TagInstanceProfileCommand.d.ts +4 -0
  127. package/dist-types/commands/TagMFADeviceCommand.d.ts +4 -0
  128. package/dist-types/commands/TagOpenIDConnectProviderCommand.d.ts +4 -0
  129. package/dist-types/commands/TagPolicyCommand.d.ts +4 -0
  130. package/dist-types/commands/TagRoleCommand.d.ts +4 -0
  131. package/dist-types/commands/TagSAMLProviderCommand.d.ts +4 -0
  132. package/dist-types/commands/TagServerCertificateCommand.d.ts +4 -0
  133. package/dist-types/commands/TagUserCommand.d.ts +4 -0
  134. package/dist-types/commands/UntagInstanceProfileCommand.d.ts +4 -0
  135. package/dist-types/commands/UntagMFADeviceCommand.d.ts +4 -0
  136. package/dist-types/commands/UntagOpenIDConnectProviderCommand.d.ts +4 -0
  137. package/dist-types/commands/UntagPolicyCommand.d.ts +4 -0
  138. package/dist-types/commands/UntagRoleCommand.d.ts +4 -0
  139. package/dist-types/commands/UntagSAMLProviderCommand.d.ts +4 -0
  140. package/dist-types/commands/UntagServerCertificateCommand.d.ts +4 -0
  141. package/dist-types/commands/UntagUserCommand.d.ts +4 -0
  142. package/dist-types/commands/UpdateAccessKeyCommand.d.ts +4 -0
  143. package/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +4 -0
  144. package/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +4 -0
  145. package/dist-types/commands/UpdateGroupCommand.d.ts +4 -0
  146. package/dist-types/commands/UpdateLoginProfileCommand.d.ts +4 -0
  147. package/dist-types/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +4 -0
  148. package/dist-types/commands/UpdateRoleCommand.d.ts +4 -0
  149. package/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +29 -0
  150. package/dist-types/commands/UpdateSAMLProviderCommand.d.ts +6 -0
  151. package/dist-types/commands/UpdateSSHPublicKeyCommand.d.ts +4 -0
  152. package/dist-types/commands/UpdateServerCertificateCommand.d.ts +4 -0
  153. package/dist-types/commands/UpdateServiceSpecificCredentialCommand.d.ts +4 -0
  154. package/dist-types/commands/UpdateSigningCertificateCommand.d.ts +4 -0
  155. package/dist-types/commands/UpdateUserCommand.d.ts +4 -0
  156. package/dist-types/commands/UploadSSHPublicKeyCommand.d.ts +13 -0
  157. package/dist-types/commands/UploadServerCertificateCommand.d.ts +19 -0
  158. package/dist-types/commands/UploadSigningCertificateCommand.d.ts +12 -0
  159. package/package.json +3 -3
@@ -35,6 +35,18 @@ export interface GetSAMLProviderCommandOutput extends GetSAMLProviderResponse, _
35
35
  * };
36
36
  * const command = new GetSAMLProviderCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // GetSAMLProviderResponse
39
+ * // SAMLMetadataDocument: "STRING_VALUE",
40
+ * // CreateDate: new Date("TIMESTAMP"),
41
+ * // ValidUntil: new Date("TIMESTAMP"),
42
+ * // Tags: [ // tagListType
43
+ * // { // Tag
44
+ * // Key: "STRING_VALUE", // required
45
+ * // Value: "STRING_VALUE", // required
46
+ * // },
47
+ * // ],
48
+ * // };
49
+ *
38
50
  * ```
39
51
  *
40
52
  * @param GetSAMLProviderCommandInput - {@link GetSAMLProviderCommandInput}
@@ -55,6 +67,8 @@ export interface GetSAMLProviderCommandOutput extends GetSAMLProviderResponse, _
55
67
  * <p>The request processing has failed because of an unknown error, exception or
56
68
  * failure.</p>
57
69
  *
70
+ * @throws {@link IAMServiceException}
71
+ * <p>Base exception class for all service exceptions from IAM service.</p>
58
72
  *
59
73
  */
60
74
  export declare class GetSAMLProviderCommand extends $Command<GetSAMLProviderCommandInput, GetSAMLProviderCommandOutput, IAMClientResolvedConfig> {
@@ -37,6 +37,17 @@ export interface GetSSHPublicKeyCommandOutput extends GetSSHPublicKeyResponse, _
37
37
  * };
38
38
  * const command = new GetSSHPublicKeyCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // { // GetSSHPublicKeyResponse
41
+ * // SSHPublicKey: { // SSHPublicKey
42
+ * // UserName: "STRING_VALUE", // required
43
+ * // SSHPublicKeyId: "STRING_VALUE", // required
44
+ * // Fingerprint: "STRING_VALUE", // required
45
+ * // SSHPublicKeyBody: "STRING_VALUE", // required
46
+ * // Status: "Active" || "Inactive", // required
47
+ * // UploadDate: new Date("TIMESTAMP"),
48
+ * // },
49
+ * // };
50
+ *
40
51
  * ```
41
52
  *
42
53
  * @param GetSSHPublicKeyCommandInput - {@link GetSSHPublicKeyCommandInput}
@@ -53,6 +64,8 @@ export interface GetSSHPublicKeyCommandOutput extends GetSSHPublicKeyResponse, _
53
64
  * <p>The request was rejected because the public key encoding format is unsupported or
54
65
  * unrecognized.</p>
55
66
  *
67
+ * @throws {@link IAMServiceException}
68
+ * <p>Base exception class for all service exceptions from IAM service.</p>
56
69
  *
57
70
  */
58
71
  export declare class GetSSHPublicKeyCommand extends $Command<GetSSHPublicKeyCommandInput, GetSSHPublicKeyCommandOutput, IAMClientResolvedConfig> {
@@ -35,6 +35,27 @@ export interface GetServerCertificateCommandOutput extends GetServerCertificateR
35
35
  * };
36
36
  * const command = new GetServerCertificateCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // GetServerCertificateResponse
39
+ * // ServerCertificate: { // ServerCertificate
40
+ * // ServerCertificateMetadata: { // ServerCertificateMetadata
41
+ * // Path: "STRING_VALUE", // required
42
+ * // ServerCertificateName: "STRING_VALUE", // required
43
+ * // ServerCertificateId: "STRING_VALUE", // required
44
+ * // Arn: "STRING_VALUE", // required
45
+ * // UploadDate: new Date("TIMESTAMP"),
46
+ * // Expiration: new Date("TIMESTAMP"),
47
+ * // },
48
+ * // CertificateBody: "STRING_VALUE", // required
49
+ * // CertificateChain: "STRING_VALUE",
50
+ * // Tags: [ // tagListType
51
+ * // { // Tag
52
+ * // Key: "STRING_VALUE", // required
53
+ * // Value: "STRING_VALUE", // required
54
+ * // },
55
+ * // ],
56
+ * // },
57
+ * // };
58
+ *
38
59
  * ```
39
60
  *
40
61
  * @param GetServerCertificateCommandInput - {@link GetServerCertificateCommandInput}
@@ -51,6 +72,8 @@ export interface GetServerCertificateCommandOutput extends GetServerCertificateR
51
72
  * <p>The request processing has failed because of an unknown error, exception or
52
73
  * failure.</p>
53
74
  *
75
+ * @throws {@link IAMServiceException}
76
+ * <p>Base exception class for all service exceptions from IAM service.</p>
54
77
  *
55
78
  */
56
79
  export declare class GetServerCertificateCommand extends $Command<GetServerCertificateCommandInput, GetServerCertificateCommandOutput, IAMClientResolvedConfig> {
@@ -84,6 +84,37 @@ export interface GetServiceLastAccessedDetailsCommandOutput extends GetServiceLa
84
84
  * };
85
85
  * const command = new GetServiceLastAccessedDetailsCommand(input);
86
86
  * const response = await client.send(command);
87
+ * // { // GetServiceLastAccessedDetailsResponse
88
+ * // JobStatus: "IN_PROGRESS" || "COMPLETED" || "FAILED", // required
89
+ * // JobType: "SERVICE_LEVEL" || "ACTION_LEVEL",
90
+ * // JobCreationDate: new Date("TIMESTAMP"), // required
91
+ * // ServicesLastAccessed: [ // ServicesLastAccessed // required
92
+ * // { // ServiceLastAccessed
93
+ * // ServiceName: "STRING_VALUE", // required
94
+ * // LastAuthenticated: new Date("TIMESTAMP"),
95
+ * // ServiceNamespace: "STRING_VALUE", // required
96
+ * // LastAuthenticatedEntity: "STRING_VALUE",
97
+ * // LastAuthenticatedRegion: "STRING_VALUE",
98
+ * // TotalAuthenticatedEntities: Number("int"),
99
+ * // TrackedActionsLastAccessed: [ // TrackedActionsLastAccessed
100
+ * // { // TrackedActionLastAccessed
101
+ * // ActionName: "STRING_VALUE",
102
+ * // LastAccessedEntity: "STRING_VALUE",
103
+ * // LastAccessedTime: new Date("TIMESTAMP"),
104
+ * // LastAccessedRegion: "STRING_VALUE",
105
+ * // },
106
+ * // ],
107
+ * // },
108
+ * // ],
109
+ * // JobCompletionDate: new Date("TIMESTAMP"), // required
110
+ * // IsTruncated: true || false,
111
+ * // Marker: "STRING_VALUE",
112
+ * // Error: { // ErrorDetails
113
+ * // Message: "STRING_VALUE", // required
114
+ * // Code: "STRING_VALUE", // required
115
+ * // },
116
+ * // };
117
+ *
87
118
  * ```
88
119
  *
89
120
  * @param GetServiceLastAccessedDetailsCommandInput - {@link GetServiceLastAccessedDetailsCommandInput}
@@ -100,6 +131,8 @@ export interface GetServiceLastAccessedDetailsCommandOutput extends GetServiceLa
100
131
  * <p>The request was rejected because it referenced a resource entity that does not exist. The
101
132
  * error message describes the resource.</p>
102
133
  *
134
+ * @throws {@link IAMServiceException}
135
+ * <p>Base exception class for all service exceptions from IAM service.</p>
103
136
  *
104
137
  * @example To get details from a previously-generated report
105
138
  * ```javascript
@@ -59,6 +59,30 @@ export interface GetServiceLastAccessedDetailsWithEntitiesCommandOutput extends
59
59
  * };
60
60
  * const command = new GetServiceLastAccessedDetailsWithEntitiesCommand(input);
61
61
  * const response = await client.send(command);
62
+ * // { // GetServiceLastAccessedDetailsWithEntitiesResponse
63
+ * // JobStatus: "IN_PROGRESS" || "COMPLETED" || "FAILED", // required
64
+ * // JobCreationDate: new Date("TIMESTAMP"), // required
65
+ * // JobCompletionDate: new Date("TIMESTAMP"), // required
66
+ * // EntityDetailsList: [ // entityDetailsListType // required
67
+ * // { // EntityDetails
68
+ * // EntityInfo: { // EntityInfo
69
+ * // Arn: "STRING_VALUE", // required
70
+ * // Name: "STRING_VALUE", // required
71
+ * // Type: "USER" || "ROLE" || "GROUP", // required
72
+ * // Id: "STRING_VALUE", // required
73
+ * // Path: "STRING_VALUE",
74
+ * // },
75
+ * // LastAuthenticated: new Date("TIMESTAMP"),
76
+ * // },
77
+ * // ],
78
+ * // IsTruncated: true || false,
79
+ * // Marker: "STRING_VALUE",
80
+ * // Error: { // ErrorDetails
81
+ * // Message: "STRING_VALUE", // required
82
+ * // Code: "STRING_VALUE", // required
83
+ * // },
84
+ * // };
85
+ *
62
86
  * ```
63
87
  *
64
88
  * @param GetServiceLastAccessedDetailsWithEntitiesCommandInput - {@link GetServiceLastAccessedDetailsWithEntitiesCommandInput}
@@ -75,6 +99,8 @@ export interface GetServiceLastAccessedDetailsWithEntitiesCommandOutput extends
75
99
  * <p>The request was rejected because it referenced a resource entity that does not exist. The
76
100
  * error message describes the resource.</p>
77
101
  *
102
+ * @throws {@link IAMServiceException}
103
+ * <p>Base exception class for all service exceptions from IAM service.</p>
78
104
  *
79
105
  * @example To get sntity details from a previously-generated report
80
106
  * ```javascript
@@ -35,6 +35,21 @@ export interface GetServiceLinkedRoleDeletionStatusCommandOutput extends GetServ
35
35
  * };
36
36
  * const command = new GetServiceLinkedRoleDeletionStatusCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // GetServiceLinkedRoleDeletionStatusResponse
39
+ * // Status: "SUCCEEDED" || "IN_PROGRESS" || "FAILED" || "NOT_STARTED", // required
40
+ * // Reason: { // DeletionTaskFailureReasonType
41
+ * // Reason: "STRING_VALUE",
42
+ * // RoleUsageList: [ // RoleUsageListType
43
+ * // { // RoleUsageType
44
+ * // Region: "STRING_VALUE",
45
+ * // Resources: [ // ArnListType
46
+ * // "STRING_VALUE",
47
+ * // ],
48
+ * // },
49
+ * // ],
50
+ * // },
51
+ * // };
52
+ *
38
53
  * ```
39
54
  *
40
55
  * @param GetServiceLinkedRoleDeletionStatusCommandInput - {@link GetServiceLinkedRoleDeletionStatusCommandInput}
@@ -55,6 +70,8 @@ export interface GetServiceLinkedRoleDeletionStatusCommandOutput extends GetServ
55
70
  * <p>The request processing has failed because of an unknown error, exception or
56
71
  * failure.</p>
57
72
  *
73
+ * @throws {@link IAMServiceException}
74
+ * <p>Base exception class for all service exceptions from IAM service.</p>
58
75
  *
59
76
  */
60
77
  export declare class GetServiceLinkedRoleDeletionStatusCommand extends $Command<GetServiceLinkedRoleDeletionStatusCommandInput, GetServiceLinkedRoleDeletionStatusCommandOutput, IAMClientResolvedConfig> {
@@ -34,6 +34,27 @@ export interface GetUserCommandOutput extends GetUserResponse, __MetadataBearer
34
34
  * };
35
35
  * const command = new GetUserCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // GetUserResponse
38
+ * // User: { // User
39
+ * // Path: "STRING_VALUE", // required
40
+ * // UserName: "STRING_VALUE", // required
41
+ * // UserId: "STRING_VALUE", // required
42
+ * // Arn: "STRING_VALUE", // required
43
+ * // CreateDate: new Date("TIMESTAMP"), // required
44
+ * // PasswordLastUsed: new Date("TIMESTAMP"),
45
+ * // PermissionsBoundary: { // AttachedPermissionsBoundary
46
+ * // PermissionsBoundaryType: "PermissionsBoundaryPolicy",
47
+ * // PermissionsBoundaryArn: "STRING_VALUE",
48
+ * // },
49
+ * // Tags: [ // tagListType
50
+ * // { // Tag
51
+ * // Key: "STRING_VALUE", // required
52
+ * // Value: "STRING_VALUE", // required
53
+ * // },
54
+ * // ],
55
+ * // },
56
+ * // };
57
+ *
37
58
  * ```
38
59
  *
39
60
  * @param GetUserCommandInput - {@link GetUserCommandInput}
@@ -50,6 +71,8 @@ export interface GetUserCommandOutput extends GetUserResponse, __MetadataBearer
50
71
  * <p>The request processing has failed because of an unknown error, exception or
51
72
  * failure.</p>
52
73
  *
74
+ * @throws {@link IAMServiceException}
75
+ * <p>Base exception class for all service exceptions from IAM service.</p>
53
76
  *
54
77
  * @example To get information about an IAM user
55
78
  * ```javascript
@@ -46,6 +46,12 @@ export interface GetUserPolicyCommandOutput extends GetUserPolicyResponse, __Met
46
46
  * };
47
47
  * const command = new GetUserPolicyCommand(input);
48
48
  * const response = await client.send(command);
49
+ * // { // GetUserPolicyResponse
50
+ * // UserName: "STRING_VALUE", // required
51
+ * // PolicyName: "STRING_VALUE", // required
52
+ * // PolicyDocument: "STRING_VALUE", // required
53
+ * // };
54
+ *
49
55
  * ```
50
56
  *
51
57
  * @param GetUserPolicyCommandInput - {@link GetUserPolicyCommandInput}
@@ -62,6 +68,8 @@ export interface GetUserPolicyCommandOutput extends GetUserPolicyResponse, __Met
62
68
  * <p>The request processing has failed because of an unknown error, exception or
63
69
  * failure.</p>
64
70
  *
71
+ * @throws {@link IAMServiceException}
72
+ * <p>Base exception class for all service exceptions from IAM service.</p>
65
73
  *
66
74
  */
67
75
  export declare class GetUserPolicyCommand extends $Command<GetUserPolicyCommandInput, GetUserPolicyCommandOutput, IAMClientResolvedConfig> {
@@ -46,6 +46,19 @@ export interface ListAccessKeysCommandOutput extends ListAccessKeysResponse, __M
46
46
  * };
47
47
  * const command = new ListAccessKeysCommand(input);
48
48
  * const response = await client.send(command);
49
+ * // { // ListAccessKeysResponse
50
+ * // AccessKeyMetadata: [ // accessKeyMetadataListType // required
51
+ * // { // AccessKeyMetadata
52
+ * // UserName: "STRING_VALUE",
53
+ * // AccessKeyId: "STRING_VALUE",
54
+ * // Status: "Active" || "Inactive",
55
+ * // CreateDate: new Date("TIMESTAMP"),
56
+ * // },
57
+ * // ],
58
+ * // IsTruncated: true || false,
59
+ * // Marker: "STRING_VALUE",
60
+ * // };
61
+ *
49
62
  * ```
50
63
  *
51
64
  * @param ListAccessKeysCommandInput - {@link ListAccessKeysCommandInput}
@@ -62,6 +75,8 @@ export interface ListAccessKeysCommandOutput extends ListAccessKeysResponse, __M
62
75
  * <p>The request processing has failed because of an unknown error, exception or
63
76
  * failure.</p>
64
77
  *
78
+ * @throws {@link IAMServiceException}
79
+ * <p>Base exception class for all service exceptions from IAM service.</p>
65
80
  *
66
81
  * @example To list the access key IDs for an IAM user
67
82
  * ```javascript
@@ -34,6 +34,14 @@ export interface ListAccountAliasesCommandOutput extends ListAccountAliasesRespo
34
34
  * };
35
35
  * const command = new ListAccountAliasesCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // ListAccountAliasesResponse
38
+ * // AccountAliases: [ // accountAliasListType // required
39
+ * // "STRING_VALUE",
40
+ * // ],
41
+ * // IsTruncated: true || false,
42
+ * // Marker: "STRING_VALUE",
43
+ * // };
44
+ *
37
45
  * ```
38
46
  *
39
47
  * @param ListAccountAliasesCommandInput - {@link ListAccountAliasesCommandInput}
@@ -46,6 +54,8 @@ export interface ListAccountAliasesCommandOutput extends ListAccountAliasesRespo
46
54
  * <p>The request processing has failed because of an unknown error, exception or
47
55
  * failure.</p>
48
56
  *
57
+ * @throws {@link IAMServiceException}
58
+ * <p>Base exception class for all service exceptions from IAM service.</p>
49
59
  *
50
60
  * @example To list account aliases
51
61
  * ```javascript
@@ -43,6 +43,17 @@ export interface ListAttachedGroupPoliciesCommandOutput extends ListAttachedGrou
43
43
  * };
44
44
  * const command = new ListAttachedGroupPoliciesCommand(input);
45
45
  * const response = await client.send(command);
46
+ * // { // ListAttachedGroupPoliciesResponse
47
+ * // AttachedPolicies: [ // attachedPoliciesListType
48
+ * // { // AttachedPolicy
49
+ * // PolicyName: "STRING_VALUE",
50
+ * // PolicyArn: "STRING_VALUE",
51
+ * // },
52
+ * // ],
53
+ * // IsTruncated: true || false,
54
+ * // Marker: "STRING_VALUE",
55
+ * // };
56
+ *
46
57
  * ```
47
58
  *
48
59
  * @param ListAttachedGroupPoliciesCommandInput - {@link ListAttachedGroupPoliciesCommandInput}
@@ -63,6 +74,8 @@ export interface ListAttachedGroupPoliciesCommandOutput extends ListAttachedGrou
63
74
  * <p>The request processing has failed because of an unknown error, exception or
64
75
  * failure.</p>
65
76
  *
77
+ * @throws {@link IAMServiceException}
78
+ * <p>Base exception class for all service exceptions from IAM service.</p>
66
79
  *
67
80
  */
68
81
  export declare class ListAttachedGroupPoliciesCommand extends $Command<ListAttachedGroupPoliciesCommandInput, ListAttachedGroupPoliciesCommandOutput, IAMClientResolvedConfig> {
@@ -43,6 +43,17 @@ export interface ListAttachedRolePoliciesCommandOutput extends ListAttachedRoleP
43
43
  * };
44
44
  * const command = new ListAttachedRolePoliciesCommand(input);
45
45
  * const response = await client.send(command);
46
+ * // { // ListAttachedRolePoliciesResponse
47
+ * // AttachedPolicies: [ // attachedPoliciesListType
48
+ * // { // AttachedPolicy
49
+ * // PolicyName: "STRING_VALUE",
50
+ * // PolicyArn: "STRING_VALUE",
51
+ * // },
52
+ * // ],
53
+ * // IsTruncated: true || false,
54
+ * // Marker: "STRING_VALUE",
55
+ * // };
56
+ *
46
57
  * ```
47
58
  *
48
59
  * @param ListAttachedRolePoliciesCommandInput - {@link ListAttachedRolePoliciesCommandInput}
@@ -63,6 +74,8 @@ export interface ListAttachedRolePoliciesCommandOutput extends ListAttachedRoleP
63
74
  * <p>The request processing has failed because of an unknown error, exception or
64
75
  * failure.</p>
65
76
  *
77
+ * @throws {@link IAMServiceException}
78
+ * <p>Base exception class for all service exceptions from IAM service.</p>
66
79
  *
67
80
  */
68
81
  export declare class ListAttachedRolePoliciesCommand extends $Command<ListAttachedRolePoliciesCommandInput, ListAttachedRolePoliciesCommandOutput, IAMClientResolvedConfig> {
@@ -43,6 +43,17 @@ export interface ListAttachedUserPoliciesCommandOutput extends ListAttachedUserP
43
43
  * };
44
44
  * const command = new ListAttachedUserPoliciesCommand(input);
45
45
  * const response = await client.send(command);
46
+ * // { // ListAttachedUserPoliciesResponse
47
+ * // AttachedPolicies: [ // attachedPoliciesListType
48
+ * // { // AttachedPolicy
49
+ * // PolicyName: "STRING_VALUE",
50
+ * // PolicyArn: "STRING_VALUE",
51
+ * // },
52
+ * // ],
53
+ * // IsTruncated: true || false,
54
+ * // Marker: "STRING_VALUE",
55
+ * // };
56
+ *
46
57
  * ```
47
58
  *
48
59
  * @param ListAttachedUserPoliciesCommandInput - {@link ListAttachedUserPoliciesCommandInput}
@@ -63,6 +74,8 @@ export interface ListAttachedUserPoliciesCommandOutput extends ListAttachedUserP
63
74
  * <p>The request processing has failed because of an unknown error, exception or
64
75
  * failure.</p>
65
76
  *
77
+ * @throws {@link IAMServiceException}
78
+ * <p>Base exception class for all service exceptions from IAM service.</p>
66
79
  *
67
80
  */
68
81
  export declare class ListAttachedUserPoliciesCommand extends $Command<ListAttachedUserPoliciesCommandInput, ListAttachedUserPoliciesCommandOutput, IAMClientResolvedConfig> {
@@ -43,6 +43,29 @@ export interface ListEntitiesForPolicyCommandOutput extends ListEntitiesForPolic
43
43
  * };
44
44
  * const command = new ListEntitiesForPolicyCommand(input);
45
45
  * const response = await client.send(command);
46
+ * // { // ListEntitiesForPolicyResponse
47
+ * // PolicyGroups: [ // PolicyGroupListType
48
+ * // { // PolicyGroup
49
+ * // GroupName: "STRING_VALUE",
50
+ * // GroupId: "STRING_VALUE",
51
+ * // },
52
+ * // ],
53
+ * // PolicyUsers: [ // PolicyUserListType
54
+ * // { // PolicyUser
55
+ * // UserName: "STRING_VALUE",
56
+ * // UserId: "STRING_VALUE",
57
+ * // },
58
+ * // ],
59
+ * // PolicyRoles: [ // PolicyRoleListType
60
+ * // { // PolicyRole
61
+ * // RoleName: "STRING_VALUE",
62
+ * // RoleId: "STRING_VALUE",
63
+ * // },
64
+ * // ],
65
+ * // IsTruncated: true || false,
66
+ * // Marker: "STRING_VALUE",
67
+ * // };
68
+ *
46
69
  * ```
47
70
  *
48
71
  * @param ListEntitiesForPolicyCommandInput - {@link ListEntitiesForPolicyCommandInput}
@@ -63,6 +86,8 @@ export interface ListEntitiesForPolicyCommandOutput extends ListEntitiesForPolic
63
86
  * <p>The request processing has failed because of an unknown error, exception or
64
87
  * failure.</p>
65
88
  *
89
+ * @throws {@link IAMServiceException}
90
+ * <p>Base exception class for all service exceptions from IAM service.</p>
66
91
  *
67
92
  */
68
93
  export declare class ListEntitiesForPolicyCommand extends $Command<ListEntitiesForPolicyCommandInput, ListEntitiesForPolicyCommandOutput, IAMClientResolvedConfig> {
@@ -41,6 +41,14 @@ export interface ListGroupPoliciesCommandOutput extends ListGroupPoliciesRespons
41
41
  * };
42
42
  * const command = new ListGroupPoliciesCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // { // ListGroupPoliciesResponse
45
+ * // PolicyNames: [ // policyNameListType // required
46
+ * // "STRING_VALUE",
47
+ * // ],
48
+ * // IsTruncated: true || false,
49
+ * // Marker: "STRING_VALUE",
50
+ * // };
51
+ *
44
52
  * ```
45
53
  *
46
54
  * @param ListGroupPoliciesCommandInput - {@link ListGroupPoliciesCommandInput}
@@ -57,6 +65,8 @@ export interface ListGroupPoliciesCommandOutput extends ListGroupPoliciesRespons
57
65
  * <p>The request processing has failed because of an unknown error, exception or
58
66
  * failure.</p>
59
67
  *
68
+ * @throws {@link IAMServiceException}
69
+ * <p>Base exception class for all service exceptions from IAM service.</p>
60
70
  *
61
71
  * @example To list the in-line policies for an IAM group
62
72
  * ```javascript
@@ -35,6 +35,20 @@ export interface ListGroupsCommandOutput extends ListGroupsResponse, __MetadataB
35
35
  * };
36
36
  * const command = new ListGroupsCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // ListGroupsResponse
39
+ * // Groups: [ // groupListType // required
40
+ * // { // Group
41
+ * // Path: "STRING_VALUE", // required
42
+ * // GroupName: "STRING_VALUE", // required
43
+ * // GroupId: "STRING_VALUE", // required
44
+ * // Arn: "STRING_VALUE", // required
45
+ * // CreateDate: new Date("TIMESTAMP"), // required
46
+ * // },
47
+ * // ],
48
+ * // IsTruncated: true || false,
49
+ * // Marker: "STRING_VALUE",
50
+ * // };
51
+ *
38
52
  * ```
39
53
  *
40
54
  * @param ListGroupsCommandInput - {@link ListGroupsCommandInput}
@@ -47,6 +61,8 @@ export interface ListGroupsCommandOutput extends ListGroupsResponse, __MetadataB
47
61
  * <p>The request processing has failed because of an unknown error, exception or
48
62
  * failure.</p>
49
63
  *
64
+ * @throws {@link IAMServiceException}
65
+ * <p>Base exception class for all service exceptions from IAM service.</p>
50
66
  *
51
67
  * @example To list the IAM groups for the current account
52
68
  * ```javascript
@@ -35,6 +35,20 @@ export interface ListGroupsForUserCommandOutput extends ListGroupsForUserRespons
35
35
  * };
36
36
  * const command = new ListGroupsForUserCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // ListGroupsForUserResponse
39
+ * // Groups: [ // groupListType // required
40
+ * // { // Group
41
+ * // Path: "STRING_VALUE", // required
42
+ * // GroupName: "STRING_VALUE", // required
43
+ * // GroupId: "STRING_VALUE", // required
44
+ * // Arn: "STRING_VALUE", // required
45
+ * // CreateDate: new Date("TIMESTAMP"), // required
46
+ * // },
47
+ * // ],
48
+ * // IsTruncated: true || false,
49
+ * // Marker: "STRING_VALUE",
50
+ * // };
51
+ *
38
52
  * ```
39
53
  *
40
54
  * @param ListGroupsForUserCommandInput - {@link ListGroupsForUserCommandInput}
@@ -51,6 +65,8 @@ export interface ListGroupsForUserCommandOutput extends ListGroupsForUserRespons
51
65
  * <p>The request processing has failed because of an unknown error, exception or
52
66
  * failure.</p>
53
67
  *
68
+ * @throws {@link IAMServiceException}
69
+ * <p>Base exception class for all service exceptions from IAM service.</p>
54
70
  *
55
71
  * @example To list the groups that an IAM user belongs to
56
72
  * ```javascript
@@ -35,6 +35,17 @@ export interface ListInstanceProfileTagsCommandOutput extends ListInstanceProfil
35
35
  * };
36
36
  * const command = new ListInstanceProfileTagsCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // ListInstanceProfileTagsResponse
39
+ * // Tags: [ // tagListType // required
40
+ * // { // Tag
41
+ * // Key: "STRING_VALUE", // required
42
+ * // Value: "STRING_VALUE", // required
43
+ * // },
44
+ * // ],
45
+ * // IsTruncated: true || false,
46
+ * // Marker: "STRING_VALUE",
47
+ * // };
48
+ *
38
49
  * ```
39
50
  *
40
51
  * @param ListInstanceProfileTagsCommandInput - {@link ListInstanceProfileTagsCommandInput}
@@ -51,6 +62,8 @@ export interface ListInstanceProfileTagsCommandOutput extends ListInstanceProfil
51
62
  * <p>The request processing has failed because of an unknown error, exception or
52
63
  * failure.</p>
53
64
  *
65
+ * @throws {@link IAMServiceException}
66
+ * <p>Base exception class for all service exceptions from IAM service.</p>
54
67
  *
55
68
  */
56
69
  export declare class ListInstanceProfileTagsCommand extends $Command<ListInstanceProfileTagsCommandInput, ListInstanceProfileTagsCommandOutput, IAMClientResolvedConfig> {
@@ -42,6 +42,52 @@ export interface ListInstanceProfilesCommandOutput extends ListInstanceProfilesR
42
42
  * };
43
43
  * const command = new ListInstanceProfilesCommand(input);
44
44
  * const response = await client.send(command);
45
+ * // { // ListInstanceProfilesResponse
46
+ * // InstanceProfiles: [ // instanceProfileListType // required
47
+ * // { // InstanceProfile
48
+ * // Path: "STRING_VALUE", // required
49
+ * // InstanceProfileName: "STRING_VALUE", // required
50
+ * // InstanceProfileId: "STRING_VALUE", // required
51
+ * // Arn: "STRING_VALUE", // required
52
+ * // CreateDate: new Date("TIMESTAMP"), // required
53
+ * // Roles: [ // roleListType // required
54
+ * // { // Role
55
+ * // Path: "STRING_VALUE", // required
56
+ * // RoleName: "STRING_VALUE", // required
57
+ * // RoleId: "STRING_VALUE", // required
58
+ * // Arn: "STRING_VALUE", // required
59
+ * // CreateDate: new Date("TIMESTAMP"), // required
60
+ * // AssumeRolePolicyDocument: "STRING_VALUE",
61
+ * // Description: "STRING_VALUE",
62
+ * // MaxSessionDuration: Number("int"),
63
+ * // PermissionsBoundary: { // AttachedPermissionsBoundary
64
+ * // PermissionsBoundaryType: "PermissionsBoundaryPolicy",
65
+ * // PermissionsBoundaryArn: "STRING_VALUE",
66
+ * // },
67
+ * // Tags: [ // tagListType
68
+ * // { // Tag
69
+ * // Key: "STRING_VALUE", // required
70
+ * // Value: "STRING_VALUE", // required
71
+ * // },
72
+ * // ],
73
+ * // RoleLastUsed: { // RoleLastUsed
74
+ * // LastUsedDate: new Date("TIMESTAMP"),
75
+ * // Region: "STRING_VALUE",
76
+ * // },
77
+ * // },
78
+ * // ],
79
+ * // Tags: [
80
+ * // {
81
+ * // Key: "STRING_VALUE", // required
82
+ * // Value: "STRING_VALUE", // required
83
+ * // },
84
+ * // ],
85
+ * // },
86
+ * // ],
87
+ * // IsTruncated: true || false,
88
+ * // Marker: "STRING_VALUE",
89
+ * // };
90
+ *
45
91
  * ```
46
92
  *
47
93
  * @param ListInstanceProfilesCommandInput - {@link ListInstanceProfilesCommandInput}
@@ -54,6 +100,8 @@ export interface ListInstanceProfilesCommandOutput extends ListInstanceProfilesR
54
100
  * <p>The request processing has failed because of an unknown error, exception or
55
101
  * failure.</p>
56
102
  *
103
+ * @throws {@link IAMServiceException}
104
+ * <p>Base exception class for all service exceptions from IAM service.</p>
57
105
  *
58
106
  */
59
107
  export declare class ListInstanceProfilesCommand extends $Command<ListInstanceProfilesCommandInput, ListInstanceProfilesCommandOutput, IAMClientResolvedConfig> {