@aws-sdk/client-iam 3.321.1 → 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 +16 -16
@@ -35,6 +35,8 @@ export interface AddClientIDToOpenIDConnectProviderCommandOutput extends __Metad
35
35
  * };
36
36
  * const command = new AddClientIDToOpenIDConnectProviderCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // {};
39
+ *
38
40
  * ```
39
41
  *
40
42
  * @param AddClientIDToOpenIDConnectProviderCommandInput - {@link AddClientIDToOpenIDConnectProviderCommandInput}
@@ -59,6 +61,8 @@ export interface AddClientIDToOpenIDConnectProviderCommandOutput extends __Metad
59
61
  * <p>The request processing has failed because of an unknown error, exception or
60
62
  * failure.</p>
61
63
  *
64
+ * @throws {@link IAMServiceException}
65
+ * <p>Base exception class for all service exceptions from IAM service.</p>
62
66
  *
63
67
  * @example To add a client ID (audience) to an Open-ID Connect (OIDC) provider
64
68
  * ```javascript
@@ -44,6 +44,8 @@ export interface AddRoleToInstanceProfileCommandOutput extends __MetadataBearer
44
44
  * };
45
45
  * const command = new AddRoleToInstanceProfileCommand(input);
46
46
  * const response = await client.send(command);
47
+ * // {};
48
+ *
47
49
  * ```
48
50
  *
49
51
  * @param AddRoleToInstanceProfileCommandInput - {@link AddRoleToInstanceProfileCommandInput}
@@ -74,6 +76,8 @@ export interface AddRoleToInstanceProfileCommandOutput extends __MetadataBearer
74
76
  * behalf. The error message includes the name of the service that depends on this service-linked
75
77
  * role. You must request the change through that service.</p>
76
78
  *
79
+ * @throws {@link IAMServiceException}
80
+ * <p>Base exception class for all service exceptions from IAM service.</p>
77
81
  *
78
82
  * @example To add a role to an instance profile
79
83
  * ```javascript
@@ -32,6 +32,8 @@ export interface AddUserToGroupCommandOutput extends __MetadataBearer {
32
32
  * };
33
33
  * const command = new AddUserToGroupCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // {};
36
+ *
35
37
  * ```
36
38
  *
37
39
  * @param AddUserToGroupCommandInput - {@link AddUserToGroupCommandInput}
@@ -52,6 +54,8 @@ export interface AddUserToGroupCommandOutput extends __MetadataBearer {
52
54
  * <p>The request processing has failed because of an unknown error, exception or
53
55
  * failure.</p>
54
56
  *
57
+ * @throws {@link IAMServiceException}
58
+ * <p>Base exception class for all service exceptions from IAM service.</p>
55
59
  *
56
60
  * @example To add a user to an IAM group
57
61
  * ```javascript
@@ -39,6 +39,8 @@ export interface AttachGroupPolicyCommandOutput extends __MetadataBearer {
39
39
  * };
40
40
  * const command = new AttachGroupPolicyCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // {};
43
+ *
42
44
  * ```
43
45
  *
44
46
  * @param AttachGroupPolicyCommandInput - {@link AttachGroupPolicyCommandInput}
@@ -67,6 +69,8 @@ export interface AttachGroupPolicyCommandOutput extends __MetadataBearer {
67
69
  * <p>The request processing has failed because of an unknown error, exception or
68
70
  * failure.</p>
69
71
  *
72
+ * @throws {@link IAMServiceException}
73
+ * <p>Base exception class for all service exceptions from IAM service.</p>
70
74
  *
71
75
  * @example To attach a managed policy to an IAM group
72
76
  * ```javascript
@@ -46,6 +46,8 @@ export interface AttachRolePolicyCommandOutput extends __MetadataBearer {
46
46
  * };
47
47
  * const command = new AttachRolePolicyCommand(input);
48
48
  * const response = await client.send(command);
49
+ * // {};
50
+ *
49
51
  * ```
50
52
  *
51
53
  * @param AttachRolePolicyCommandInput - {@link AttachRolePolicyCommandInput}
@@ -80,6 +82,8 @@ export interface AttachRolePolicyCommandOutput extends __MetadataBearer {
80
82
  * behalf. The error message includes the name of the service that depends on this service-linked
81
83
  * role. You must request the change through that service.</p>
82
84
  *
85
+ * @throws {@link IAMServiceException}
86
+ * <p>Base exception class for all service exceptions from IAM service.</p>
83
87
  *
84
88
  * @example To attach a managed policy to an IAM role
85
89
  * ```javascript
@@ -39,6 +39,8 @@ export interface AttachUserPolicyCommandOutput extends __MetadataBearer {
39
39
  * };
40
40
  * const command = new AttachUserPolicyCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // {};
43
+ *
42
44
  * ```
43
45
  *
44
46
  * @param AttachUserPolicyCommandInput - {@link AttachUserPolicyCommandInput}
@@ -67,6 +69,8 @@ export interface AttachUserPolicyCommandOutput extends __MetadataBearer {
67
69
  * <p>The request processing has failed because of an unknown error, exception or
68
70
  * failure.</p>
69
71
  *
72
+ * @throws {@link IAMServiceException}
73
+ * <p>Base exception class for all service exceptions from IAM service.</p>
70
74
  *
71
75
  * @example To attach a managed policy to an IAM user
72
76
  * ```javascript
@@ -39,6 +39,8 @@ export interface ChangePasswordCommandOutput extends __MetadataBearer {
39
39
  * };
40
40
  * const command = new ChangePasswordCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // {};
43
+ *
42
44
  * ```
43
45
  *
44
46
  * @param ChangePasswordCommandInput - {@link ChangePasswordCommandInput}
@@ -73,6 +75,8 @@ export interface ChangePasswordCommandOutput extends __MetadataBearer {
73
75
  * <p>The request processing has failed because of an unknown error, exception or
74
76
  * failure.</p>
75
77
  *
78
+ * @throws {@link IAMServiceException}
79
+ * <p>Base exception class for all service exceptions from IAM service.</p>
76
80
  *
77
81
  * @example To change the password for your IAM user
78
82
  * ```javascript
@@ -44,6 +44,16 @@ export interface CreateAccessKeyCommandOutput extends CreateAccessKeyResponse, _
44
44
  * };
45
45
  * const command = new CreateAccessKeyCommand(input);
46
46
  * const response = await client.send(command);
47
+ * // { // CreateAccessKeyResponse
48
+ * // AccessKey: { // AccessKey
49
+ * // UserName: "STRING_VALUE", // required
50
+ * // AccessKeyId: "STRING_VALUE", // required
51
+ * // Status: "Active" || "Inactive", // required
52
+ * // SecretAccessKey: "STRING_VALUE", // required
53
+ * // CreateDate: new Date("TIMESTAMP"),
54
+ * // },
55
+ * // };
56
+ *
47
57
  * ```
48
58
  *
49
59
  * @param CreateAccessKeyCommandInput - {@link CreateAccessKeyCommandInput}
@@ -64,6 +74,8 @@ export interface CreateAccessKeyCommandOutput extends CreateAccessKeyResponse, _
64
74
  * <p>The request processing has failed because of an unknown error, exception or
65
75
  * failure.</p>
66
76
  *
77
+ * @throws {@link IAMServiceException}
78
+ * <p>Base exception class for all service exceptions from IAM service.</p>
67
79
  *
68
80
  * @example To create an access key for an IAM user
69
81
  * ```javascript
@@ -34,6 +34,8 @@ export interface CreateAccountAliasCommandOutput extends __MetadataBearer {
34
34
  * };
35
35
  * const command = new CreateAccountAliasCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param CreateAccountAliasCommandInput - {@link CreateAccountAliasCommandInput}
@@ -54,6 +56,8 @@ export interface CreateAccountAliasCommandOutput extends __MetadataBearer {
54
56
  * <p>The request processing has failed because of an unknown error, exception or
55
57
  * failure.</p>
56
58
  *
59
+ * @throws {@link IAMServiceException}
60
+ * <p>Base exception class for all service exceptions from IAM service.</p>
57
61
  *
58
62
  * @example To create an account alias
59
63
  * ```javascript
@@ -34,6 +34,16 @@ export interface CreateGroupCommandOutput extends CreateGroupResponse, __Metadat
34
34
  * };
35
35
  * const command = new CreateGroupCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // CreateGroupResponse
38
+ * // Group: { // Group
39
+ * // Path: "STRING_VALUE", // required
40
+ * // GroupName: "STRING_VALUE", // required
41
+ * // GroupId: "STRING_VALUE", // required
42
+ * // Arn: "STRING_VALUE", // required
43
+ * // CreateDate: new Date("TIMESTAMP"), // required
44
+ * // },
45
+ * // };
46
+ *
37
47
  * ```
38
48
  *
39
49
  * @param CreateGroupCommandInput - {@link CreateGroupCommandInput}
@@ -58,6 +68,8 @@ export interface CreateGroupCommandOutput extends CreateGroupResponse, __Metadat
58
68
  * <p>The request processing has failed because of an unknown error, exception or
59
69
  * failure.</p>
60
70
  *
71
+ * @throws {@link IAMServiceException}
72
+ * <p>Base exception class for all service exceptions from IAM service.</p>
61
73
  *
62
74
  * @example To create an IAM group
63
75
  * ```javascript
@@ -42,6 +42,48 @@ export interface CreateInstanceProfileCommandOutput extends CreateInstanceProfil
42
42
  * };
43
43
  * const command = new CreateInstanceProfileCommand(input);
44
44
  * const response = await client.send(command);
45
+ * // { // CreateInstanceProfileResponse
46
+ * // InstanceProfile: { // InstanceProfile
47
+ * // Path: "STRING_VALUE", // required
48
+ * // InstanceProfileName: "STRING_VALUE", // required
49
+ * // InstanceProfileId: "STRING_VALUE", // required
50
+ * // Arn: "STRING_VALUE", // required
51
+ * // CreateDate: new Date("TIMESTAMP"), // required
52
+ * // Roles: [ // roleListType // required
53
+ * // { // Role
54
+ * // Path: "STRING_VALUE", // required
55
+ * // RoleName: "STRING_VALUE", // required
56
+ * // RoleId: "STRING_VALUE", // required
57
+ * // Arn: "STRING_VALUE", // required
58
+ * // CreateDate: new Date("TIMESTAMP"), // required
59
+ * // AssumeRolePolicyDocument: "STRING_VALUE",
60
+ * // Description: "STRING_VALUE",
61
+ * // MaxSessionDuration: Number("int"),
62
+ * // PermissionsBoundary: { // AttachedPermissionsBoundary
63
+ * // PermissionsBoundaryType: "PermissionsBoundaryPolicy",
64
+ * // PermissionsBoundaryArn: "STRING_VALUE",
65
+ * // },
66
+ * // Tags: [ // tagListType
67
+ * // { // Tag
68
+ * // Key: "STRING_VALUE", // required
69
+ * // Value: "STRING_VALUE", // required
70
+ * // },
71
+ * // ],
72
+ * // RoleLastUsed: { // RoleLastUsed
73
+ * // LastUsedDate: new Date("TIMESTAMP"),
74
+ * // Region: "STRING_VALUE",
75
+ * // },
76
+ * // },
77
+ * // ],
78
+ * // Tags: [
79
+ * // {
80
+ * // Key: "STRING_VALUE", // required
81
+ * // Value: "STRING_VALUE", // required
82
+ * // },
83
+ * // ],
84
+ * // },
85
+ * // };
86
+ *
45
87
  * ```
46
88
  *
47
89
  * @param CreateInstanceProfileCommandInput - {@link CreateInstanceProfileCommandInput}
@@ -70,6 +112,8 @@ export interface CreateInstanceProfileCommandOutput extends CreateInstanceProfil
70
112
  * <p>The request processing has failed because of an unknown error, exception or
71
113
  * failure.</p>
72
114
  *
115
+ * @throws {@link IAMServiceException}
116
+ * <p>Base exception class for all service exceptions from IAM service.</p>
73
117
  *
74
118
  * @example To create an instance profile
75
119
  * ```javascript
@@ -38,6 +38,14 @@ export interface CreateLoginProfileCommandOutput extends CreateLoginProfileRespo
38
38
  * };
39
39
  * const command = new CreateLoginProfileCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // { // CreateLoginProfileResponse
42
+ * // LoginProfile: { // LoginProfile
43
+ * // UserName: "STRING_VALUE", // required
44
+ * // CreateDate: new Date("TIMESTAMP"), // required
45
+ * // PasswordResetRequired: true || false,
46
+ * // },
47
+ * // };
48
+ *
41
49
  * ```
42
50
  *
43
51
  * @param CreateLoginProfileCommandInput - {@link CreateLoginProfileCommandInput}
@@ -66,6 +74,8 @@ export interface CreateLoginProfileCommandOutput extends CreateLoginProfileRespo
66
74
  * <p>The request processing has failed because of an unknown error, exception or
67
75
  * failure.</p>
68
76
  *
77
+ * @throws {@link IAMServiceException}
78
+ * <p>Base exception class for all service exceptions from IAM service.</p>
69
79
  *
70
80
  * @example To create an instance profile
71
81
  * ```javascript
@@ -84,6 +84,16 @@ export interface CreateOpenIDConnectProviderCommandOutput extends CreateOpenIDCo
84
84
  * };
85
85
  * const command = new CreateOpenIDConnectProviderCommand(input);
86
86
  * const response = await client.send(command);
87
+ * // { // CreateOpenIDConnectProviderResponse
88
+ * // OpenIDConnectProviderArn: "STRING_VALUE",
89
+ * // Tags: [ // tagListType
90
+ * // { // Tag
91
+ * // Key: "STRING_VALUE", // required
92
+ * // Value: "STRING_VALUE", // required
93
+ * // },
94
+ * // ],
95
+ * // };
96
+ *
87
97
  * ```
88
98
  *
89
99
  * @param CreateOpenIDConnectProviderCommandInput - {@link CreateOpenIDConnectProviderCommandInput}
@@ -112,6 +122,8 @@ export interface CreateOpenIDConnectProviderCommandOutput extends CreateOpenIDCo
112
122
  * <p>The request processing has failed because of an unknown error, exception or
113
123
  * failure.</p>
114
124
  *
125
+ * @throws {@link IAMServiceException}
126
+ * <p>Base exception class for all service exceptions from IAM service.</p>
115
127
  *
116
128
  * @example To create an instance profile
117
129
  * ```javascript
@@ -50,6 +50,28 @@ export interface CreatePolicyCommandOutput extends CreatePolicyResponse, __Metad
50
50
  * };
51
51
  * const command = new CreatePolicyCommand(input);
52
52
  * const response = await client.send(command);
53
+ * // { // CreatePolicyResponse
54
+ * // Policy: { // Policy
55
+ * // PolicyName: "STRING_VALUE",
56
+ * // PolicyId: "STRING_VALUE",
57
+ * // Arn: "STRING_VALUE",
58
+ * // Path: "STRING_VALUE",
59
+ * // DefaultVersionId: "STRING_VALUE",
60
+ * // AttachmentCount: Number("int"),
61
+ * // PermissionsBoundaryUsageCount: Number("int"),
62
+ * // IsAttachable: true || false,
63
+ * // Description: "STRING_VALUE",
64
+ * // CreateDate: new Date("TIMESTAMP"),
65
+ * // UpdateDate: new Date("TIMESTAMP"),
66
+ * // Tags: [ // tagListType
67
+ * // { // Tag
68
+ * // Key: "STRING_VALUE", // required
69
+ * // Value: "STRING_VALUE", // required
70
+ * // },
71
+ * // ],
72
+ * // },
73
+ * // };
74
+ *
53
75
  * ```
54
76
  *
55
77
  * @param CreatePolicyCommandInput - {@link CreatePolicyCommandInput}
@@ -82,6 +104,8 @@ export interface CreatePolicyCommandOutput extends CreatePolicyResponse, __Metad
82
104
  * <p>The request processing has failed because of an unknown error, exception or
83
105
  * failure.</p>
84
106
  *
107
+ * @throws {@link IAMServiceException}
108
+ * <p>Base exception class for all service exceptions from IAM service.</p>
85
109
  *
86
110
  */
87
111
  export declare class CreatePolicyCommand extends $Command<CreatePolicyCommandInput, CreatePolicyCommandOutput, IAMClientResolvedConfig> {
@@ -40,6 +40,15 @@ export interface CreatePolicyVersionCommandOutput extends CreatePolicyVersionRes
40
40
  * };
41
41
  * const command = new CreatePolicyVersionCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // CreatePolicyVersionResponse
44
+ * // PolicyVersion: { // PolicyVersion
45
+ * // Document: "STRING_VALUE",
46
+ * // VersionId: "STRING_VALUE",
47
+ * // IsDefaultVersion: true || false,
48
+ * // CreateDate: new Date("TIMESTAMP"),
49
+ * // },
50
+ * // };
51
+ *
43
52
  * ```
44
53
  *
45
54
  * @param CreatePolicyVersionCommandInput - {@link CreatePolicyVersionCommandInput}
@@ -68,6 +77,8 @@ export interface CreatePolicyVersionCommandOutput extends CreatePolicyVersionRes
68
77
  * <p>The request processing has failed because of an unknown error, exception or
69
78
  * failure.</p>
70
79
  *
80
+ * @throws {@link IAMServiceException}
81
+ * <p>Base exception class for all service exceptions from IAM service.</p>
71
82
  *
72
83
  */
73
84
  export declare class CreatePolicyVersionCommand extends $Command<CreatePolicyVersionCommandInput, CreatePolicyVersionCommandOutput, IAMClientResolvedConfig> {
@@ -46,6 +46,33 @@ export interface CreateRoleCommandOutput extends CreateRoleResponse, __MetadataB
46
46
  * };
47
47
  * const command = new CreateRoleCommand(input);
48
48
  * const response = await client.send(command);
49
+ * // { // CreateRoleResponse
50
+ * // Role: { // Role
51
+ * // Path: "STRING_VALUE", // required
52
+ * // RoleName: "STRING_VALUE", // required
53
+ * // RoleId: "STRING_VALUE", // required
54
+ * // Arn: "STRING_VALUE", // required
55
+ * // CreateDate: new Date("TIMESTAMP"), // required
56
+ * // AssumeRolePolicyDocument: "STRING_VALUE",
57
+ * // Description: "STRING_VALUE",
58
+ * // MaxSessionDuration: Number("int"),
59
+ * // PermissionsBoundary: { // AttachedPermissionsBoundary
60
+ * // PermissionsBoundaryType: "PermissionsBoundaryPolicy",
61
+ * // PermissionsBoundaryArn: "STRING_VALUE",
62
+ * // },
63
+ * // Tags: [ // tagListType
64
+ * // { // Tag
65
+ * // Key: "STRING_VALUE", // required
66
+ * // Value: "STRING_VALUE", // required
67
+ * // },
68
+ * // ],
69
+ * // RoleLastUsed: { // RoleLastUsed
70
+ * // LastUsedDate: new Date("TIMESTAMP"),
71
+ * // Region: "STRING_VALUE",
72
+ * // },
73
+ * // },
74
+ * // };
75
+ *
49
76
  * ```
50
77
  *
51
78
  * @param CreateRoleCommandInput - {@link CreateRoleCommandInput}
@@ -78,6 +105,8 @@ export interface CreateRoleCommandOutput extends CreateRoleResponse, __MetadataB
78
105
  * <p>The request processing has failed because of an unknown error, exception or
79
106
  * failure.</p>
80
107
  *
108
+ * @throws {@link IAMServiceException}
109
+ * <p>Base exception class for all service exceptions from IAM service.</p>
81
110
  *
82
111
  * @example To create an IAM role
83
112
  * ```javascript
@@ -55,6 +55,16 @@ export interface CreateSAMLProviderCommandOutput extends CreateSAMLProviderRespo
55
55
  * };
56
56
  * const command = new CreateSAMLProviderCommand(input);
57
57
  * const response = await client.send(command);
58
+ * // { // CreateSAMLProviderResponse
59
+ * // SAMLProviderArn: "STRING_VALUE",
60
+ * // Tags: [ // tagListType
61
+ * // { // Tag
62
+ * // Key: "STRING_VALUE", // required
63
+ * // Value: "STRING_VALUE", // required
64
+ * // },
65
+ * // ],
66
+ * // };
67
+ *
58
68
  * ```
59
69
  *
60
70
  * @param CreateSAMLProviderCommandInput - {@link CreateSAMLProviderCommandInput}
@@ -83,6 +93,8 @@ export interface CreateSAMLProviderCommandOutput extends CreateSAMLProviderRespo
83
93
  * <p>The request processing has failed because of an unknown error, exception or
84
94
  * failure.</p>
85
95
  *
96
+ * @throws {@link IAMServiceException}
97
+ * <p>Base exception class for all service exceptions from IAM service.</p>
86
98
  *
87
99
  */
88
100
  export declare class CreateSAMLProviderCommand extends $Command<CreateSAMLProviderCommandInput, CreateSAMLProviderCommandOutput, IAMClientResolvedConfig> {
@@ -41,6 +41,33 @@ export interface CreateServiceLinkedRoleCommandOutput extends CreateServiceLinke
41
41
  * };
42
42
  * const command = new CreateServiceLinkedRoleCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // { // CreateServiceLinkedRoleResponse
45
+ * // Role: { // Role
46
+ * // Path: "STRING_VALUE", // required
47
+ * // RoleName: "STRING_VALUE", // required
48
+ * // RoleId: "STRING_VALUE", // required
49
+ * // Arn: "STRING_VALUE", // required
50
+ * // CreateDate: new Date("TIMESTAMP"), // required
51
+ * // AssumeRolePolicyDocument: "STRING_VALUE",
52
+ * // Description: "STRING_VALUE",
53
+ * // MaxSessionDuration: Number("int"),
54
+ * // PermissionsBoundary: { // AttachedPermissionsBoundary
55
+ * // PermissionsBoundaryType: "PermissionsBoundaryPolicy",
56
+ * // PermissionsBoundaryArn: "STRING_VALUE",
57
+ * // },
58
+ * // Tags: [ // tagListType
59
+ * // { // Tag
60
+ * // Key: "STRING_VALUE", // required
61
+ * // Value: "STRING_VALUE", // required
62
+ * // },
63
+ * // ],
64
+ * // RoleLastUsed: { // RoleLastUsed
65
+ * // LastUsedDate: new Date("TIMESTAMP"),
66
+ * // Region: "STRING_VALUE",
67
+ * // },
68
+ * // },
69
+ * // };
70
+ *
44
71
  * ```
45
72
  *
46
73
  * @param CreateServiceLinkedRoleCommandInput - {@link CreateServiceLinkedRoleCommandInput}
@@ -65,6 +92,8 @@ export interface CreateServiceLinkedRoleCommandOutput extends CreateServiceLinke
65
92
  * <p>The request processing has failed because of an unknown error, exception or
66
93
  * failure.</p>
67
94
  *
95
+ * @throws {@link IAMServiceException}
96
+ * <p>Base exception class for all service exceptions from IAM service.</p>
68
97
  *
69
98
  */
70
99
  export declare class CreateServiceLinkedRoleCommand extends $Command<CreateServiceLinkedRoleCommandInput, CreateServiceLinkedRoleCommandOutput, IAMClientResolvedConfig> {
@@ -42,6 +42,18 @@ export interface CreateServiceSpecificCredentialCommandOutput extends CreateServ
42
42
  * };
43
43
  * const command = new CreateServiceSpecificCredentialCommand(input);
44
44
  * const response = await client.send(command);
45
+ * // { // CreateServiceSpecificCredentialResponse
46
+ * // ServiceSpecificCredential: { // ServiceSpecificCredential
47
+ * // CreateDate: new Date("TIMESTAMP"), // required
48
+ * // ServiceName: "STRING_VALUE", // required
49
+ * // ServiceUserName: "STRING_VALUE", // required
50
+ * // ServicePassword: "STRING_VALUE", // required
51
+ * // ServiceSpecificCredentialId: "STRING_VALUE", // required
52
+ * // UserName: "STRING_VALUE", // required
53
+ * // Status: "Active" || "Inactive", // required
54
+ * // },
55
+ * // };
56
+ *
45
57
  * ```
46
58
  *
47
59
  * @param CreateServiceSpecificCredentialCommandInput - {@link CreateServiceSpecificCredentialCommandInput}
@@ -61,6 +73,8 @@ export interface CreateServiceSpecificCredentialCommandOutput extends CreateServ
61
73
  * @throws {@link ServiceNotSupportedException} (client fault)
62
74
  * <p>The specified service does not support service-specific credentials.</p>
63
75
  *
76
+ * @throws {@link IAMServiceException}
77
+ * <p>Base exception class for all service exceptions from IAM service.</p>
64
78
  *
65
79
  */
66
80
  export declare class CreateServiceSpecificCredentialCommand extends $Command<CreateServiceSpecificCredentialCommandInput, CreateServiceSpecificCredentialCommandOutput, IAMClientResolvedConfig> {
@@ -41,6 +41,27 @@ export interface CreateUserCommandOutput extends CreateUserResponse, __MetadataB
41
41
  * };
42
42
  * const command = new CreateUserCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // { // CreateUserResponse
45
+ * // User: { // User
46
+ * // Path: "STRING_VALUE", // required
47
+ * // UserName: "STRING_VALUE", // required
48
+ * // UserId: "STRING_VALUE", // required
49
+ * // Arn: "STRING_VALUE", // required
50
+ * // CreateDate: new Date("TIMESTAMP"), // required
51
+ * // PasswordLastUsed: new Date("TIMESTAMP"),
52
+ * // PermissionsBoundary: { // AttachedPermissionsBoundary
53
+ * // PermissionsBoundaryType: "PermissionsBoundaryPolicy",
54
+ * // PermissionsBoundaryArn: "STRING_VALUE",
55
+ * // },
56
+ * // Tags: [ // tagListType
57
+ * // { // Tag
58
+ * // Key: "STRING_VALUE", // required
59
+ * // Value: "STRING_VALUE", // required
60
+ * // },
61
+ * // ],
62
+ * // },
63
+ * // };
64
+ *
44
65
  * ```
45
66
  *
46
67
  * @param CreateUserCommandInput - {@link CreateUserCommandInput}
@@ -73,6 +94,8 @@ export interface CreateUserCommandOutput extends CreateUserResponse, __MetadataB
73
94
  * <p>The request processing has failed because of an unknown error, exception or
74
95
  * failure.</p>
75
96
  *
97
+ * @throws {@link IAMServiceException}
98
+ * <p>Base exception class for all service exceptions from IAM service.</p>
76
99
  *
77
100
  * @example To create an IAM user
78
101
  * ```javascript
@@ -50,6 +50,39 @@ export interface CreateVirtualMFADeviceCommandOutput extends CreateVirtualMFADev
50
50
  * };
51
51
  * const command = new CreateVirtualMFADeviceCommand(input);
52
52
  * const response = await client.send(command);
53
+ * // { // CreateVirtualMFADeviceResponse
54
+ * // VirtualMFADevice: { // VirtualMFADevice
55
+ * // SerialNumber: "STRING_VALUE", // required
56
+ * // Base32StringSeed: "BLOB_VALUE",
57
+ * // QRCodePNG: "BLOB_VALUE",
58
+ * // User: { // User
59
+ * // Path: "STRING_VALUE", // required
60
+ * // UserName: "STRING_VALUE", // required
61
+ * // UserId: "STRING_VALUE", // required
62
+ * // Arn: "STRING_VALUE", // required
63
+ * // CreateDate: new Date("TIMESTAMP"), // required
64
+ * // PasswordLastUsed: new Date("TIMESTAMP"),
65
+ * // PermissionsBoundary: { // AttachedPermissionsBoundary
66
+ * // PermissionsBoundaryType: "PermissionsBoundaryPolicy",
67
+ * // PermissionsBoundaryArn: "STRING_VALUE",
68
+ * // },
69
+ * // Tags: [ // tagListType
70
+ * // { // Tag
71
+ * // Key: "STRING_VALUE", // required
72
+ * // Value: "STRING_VALUE", // required
73
+ * // },
74
+ * // ],
75
+ * // },
76
+ * // EnableDate: new Date("TIMESTAMP"),
77
+ * // Tags: [
78
+ * // {
79
+ * // Key: "STRING_VALUE", // required
80
+ * // Value: "STRING_VALUE", // required
81
+ * // },
82
+ * // ],
83
+ * // },
84
+ * // };
85
+ *
53
86
  * ```
54
87
  *
55
88
  * @param CreateVirtualMFADeviceCommandInput - {@link CreateVirtualMFADeviceCommandInput}
@@ -78,6 +111,8 @@ export interface CreateVirtualMFADeviceCommandOutput extends CreateVirtualMFADev
78
111
  * <p>The request processing has failed because of an unknown error, exception or
79
112
  * failure.</p>
80
113
  *
114
+ * @throws {@link IAMServiceException}
115
+ * <p>Base exception class for all service exceptions from IAM service.</p>
81
116
  *
82
117
  */
83
118
  export declare class CreateVirtualMFADeviceCommand extends $Command<CreateVirtualMFADeviceCommandInput, CreateVirtualMFADeviceCommandOutput, IAMClientResolvedConfig> {
@@ -36,6 +36,8 @@ export interface DeactivateMFADeviceCommandOutput extends __MetadataBearer {
36
36
  * };
37
37
  * const command = new DeactivateMFADeviceCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // {};
40
+ *
39
41
  * ```
40
42
  *
41
43
  * @param DeactivateMFADeviceCommandInput - {@link DeactivateMFADeviceCommandInput}
@@ -62,6 +64,8 @@ export interface DeactivateMFADeviceCommandOutput extends __MetadataBearer {
62
64
  * <p>The request processing has failed because of an unknown error, exception or
63
65
  * failure.</p>
64
66
  *
67
+ * @throws {@link IAMServiceException}
68
+ * <p>Base exception class for all service exceptions from IAM service.</p>
65
69
  *
66
70
  */
67
71
  export declare class DeactivateMFADeviceCommand extends $Command<DeactivateMFADeviceCommandInput, DeactivateMFADeviceCommandOutput, IAMClientResolvedConfig> {
@@ -36,6 +36,8 @@ export interface DeleteAccessKeyCommandOutput extends __MetadataBearer {
36
36
  * };
37
37
  * const command = new DeleteAccessKeyCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // {};
40
+ *
39
41
  * ```
40
42
  *
41
43
  * @param DeleteAccessKeyCommandInput - {@link DeleteAccessKeyCommandInput}
@@ -56,6 +58,8 @@ export interface DeleteAccessKeyCommandOutput extends __MetadataBearer {
56
58
  * <p>The request processing has failed because of an unknown error, exception or
57
59
  * failure.</p>
58
60
  *
61
+ * @throws {@link IAMServiceException}
62
+ * <p>Base exception class for all service exceptions from IAM service.</p>
59
63
  *
60
64
  * @example To delete an access key for an IAM user
61
65
  * ```javascript
@@ -33,6 +33,8 @@ export interface DeleteAccountAliasCommandOutput extends __MetadataBearer {
33
33
  * };
34
34
  * const command = new DeleteAccountAliasCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // {};
37
+ *
36
38
  * ```
37
39
  *
38
40
  * @param DeleteAccountAliasCommandInput - {@link DeleteAccountAliasCommandInput}
@@ -53,6 +55,8 @@ export interface DeleteAccountAliasCommandOutput extends __MetadataBearer {
53
55
  * <p>The request processing has failed because of an unknown error, exception or
54
56
  * failure.</p>
55
57
  *
58
+ * @throws {@link IAMServiceException}
59
+ * <p>Base exception class for all service exceptions from IAM service.</p>
56
60
  *
57
61
  * @example To delete an account alias
58
62
  * ```javascript