@aws-sdk/client-iam 3.325.0 → 3.327.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 +7 -7
@@ -38,6 +38,52 @@ export interface ListInstanceProfilesForRoleCommandOutput extends ListInstancePr
38
38
  * };
39
39
  * const command = new ListInstanceProfilesForRoleCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // { // ListInstanceProfilesForRoleResponse
42
+ * // InstanceProfiles: [ // instanceProfileListType // required
43
+ * // { // InstanceProfile
44
+ * // Path: "STRING_VALUE", // required
45
+ * // InstanceProfileName: "STRING_VALUE", // required
46
+ * // InstanceProfileId: "STRING_VALUE", // required
47
+ * // Arn: "STRING_VALUE", // required
48
+ * // CreateDate: new Date("TIMESTAMP"), // required
49
+ * // Roles: [ // roleListType // required
50
+ * // { // 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
+ * // Tags: [
76
+ * // {
77
+ * // Key: "STRING_VALUE", // required
78
+ * // Value: "STRING_VALUE", // required
79
+ * // },
80
+ * // ],
81
+ * // },
82
+ * // ],
83
+ * // IsTruncated: true || false,
84
+ * // Marker: "STRING_VALUE",
85
+ * // };
86
+ *
41
87
  * ```
42
88
  *
43
89
  * @param ListInstanceProfilesForRoleCommandInput - {@link ListInstanceProfilesForRoleCommandInput}
@@ -54,6 +100,8 @@ export interface ListInstanceProfilesForRoleCommandOutput extends ListInstancePr
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 ListInstanceProfilesForRoleCommand extends $Command<ListInstanceProfilesForRoleCommandInput, ListInstanceProfilesForRoleCommandOutput, IAMClientResolvedConfig> {
@@ -35,6 +35,17 @@ export interface ListMFADeviceTagsCommandOutput extends ListMFADeviceTagsRespons
35
35
  * };
36
36
  * const command = new ListMFADeviceTagsCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // ListMFADeviceTagsResponse
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 ListMFADeviceTagsCommandInput - {@link ListMFADeviceTagsCommandInput}
@@ -55,6 +66,8 @@ export interface ListMFADeviceTagsCommandOutput extends ListMFADeviceTagsRespons
55
66
  * <p>The request processing has failed because of an unknown error, exception or
56
67
  * failure.</p>
57
68
  *
69
+ * @throws {@link IAMServiceException}
70
+ * <p>Base exception class for all service exceptions from IAM service.</p>
58
71
  *
59
72
  */
60
73
  export declare class ListMFADeviceTagsCommand extends $Command<ListMFADeviceTagsCommandInput, ListMFADeviceTagsCommandOutput, IAMClientResolvedConfig> {
@@ -38,6 +38,18 @@ export interface ListMFADevicesCommandOutput extends ListMFADevicesResponse, __M
38
38
  * };
39
39
  * const command = new ListMFADevicesCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // { // ListMFADevicesResponse
42
+ * // MFADevices: [ // mfaDeviceListType // required
43
+ * // { // MFADevice
44
+ * // UserName: "STRING_VALUE", // required
45
+ * // SerialNumber: "STRING_VALUE", // required
46
+ * // EnableDate: new Date("TIMESTAMP"), // required
47
+ * // },
48
+ * // ],
49
+ * // IsTruncated: true || false,
50
+ * // Marker: "STRING_VALUE",
51
+ * // };
52
+ *
41
53
  * ```
42
54
  *
43
55
  * @param ListMFADevicesCommandInput - {@link ListMFADevicesCommandInput}
@@ -54,6 +66,8 @@ export interface ListMFADevicesCommandOutput extends ListMFADevicesResponse, __M
54
66
  * <p>The request processing has failed because of an unknown error, exception or
55
67
  * failure.</p>
56
68
  *
69
+ * @throws {@link IAMServiceException}
70
+ * <p>Base exception class for all service exceptions from IAM service.</p>
57
71
  *
58
72
  */
59
73
  export declare class ListMFADevicesCommand extends $Command<ListMFADevicesCommandInput, ListMFADevicesCommandOutput, IAMClientResolvedConfig> {
@@ -37,6 +37,17 @@ export interface ListOpenIDConnectProviderTagsCommandOutput extends ListOpenIDCo
37
37
  * };
38
38
  * const command = new ListOpenIDConnectProviderTagsCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // { // ListOpenIDConnectProviderTagsResponse
41
+ * // Tags: [ // tagListType // required
42
+ * // { // Tag
43
+ * // Key: "STRING_VALUE", // required
44
+ * // Value: "STRING_VALUE", // required
45
+ * // },
46
+ * // ],
47
+ * // IsTruncated: true || false,
48
+ * // Marker: "STRING_VALUE",
49
+ * // };
50
+ *
40
51
  * ```
41
52
  *
42
53
  * @param ListOpenIDConnectProviderTagsCommandInput - {@link ListOpenIDConnectProviderTagsCommandInput}
@@ -57,6 +68,8 @@ export interface ListOpenIDConnectProviderTagsCommandOutput extends ListOpenIDCo
57
68
  * <p>The request processing has failed because of an unknown error, exception or
58
69
  * failure.</p>
59
70
  *
71
+ * @throws {@link IAMServiceException}
72
+ * <p>Base exception class for all service exceptions from IAM service.</p>
60
73
  *
61
74
  */
62
75
  export declare class ListOpenIDConnectProviderTagsCommand extends $Command<ListOpenIDConnectProviderTagsCommandInput, ListOpenIDConnectProviderTagsCommandOutput, IAMClientResolvedConfig> {
@@ -34,6 +34,14 @@ export interface ListOpenIDConnectProvidersCommandOutput extends ListOpenIDConne
34
34
  * const input = {};
35
35
  * const command = new ListOpenIDConnectProvidersCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // ListOpenIDConnectProvidersResponse
38
+ * // OpenIDConnectProviderList: [ // OpenIDConnectProviderListType
39
+ * // { // OpenIDConnectProviderListEntry
40
+ * // Arn: "STRING_VALUE",
41
+ * // },
42
+ * // ],
43
+ * // };
44
+ *
37
45
  * ```
38
46
  *
39
47
  * @param ListOpenIDConnectProvidersCommandInput - {@link ListOpenIDConnectProvidersCommandInput}
@@ -46,6 +54,8 @@ export interface ListOpenIDConnectProvidersCommandOutput extends ListOpenIDConne
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
  */
51
61
  export declare class ListOpenIDConnectProvidersCommand extends $Command<ListOpenIDConnectProvidersCommandInput, ListOpenIDConnectProvidersCommandOutput, IAMClientResolvedConfig> {
@@ -51,6 +51,32 @@ export interface ListPoliciesCommandOutput extends ListPoliciesResponse, __Metad
51
51
  * };
52
52
  * const command = new ListPoliciesCommand(input);
53
53
  * const response = await client.send(command);
54
+ * // { // ListPoliciesResponse
55
+ * // Policies: [ // policyListType
56
+ * // { // Policy
57
+ * // PolicyName: "STRING_VALUE",
58
+ * // PolicyId: "STRING_VALUE",
59
+ * // Arn: "STRING_VALUE",
60
+ * // Path: "STRING_VALUE",
61
+ * // DefaultVersionId: "STRING_VALUE",
62
+ * // AttachmentCount: Number("int"),
63
+ * // PermissionsBoundaryUsageCount: Number("int"),
64
+ * // IsAttachable: true || false,
65
+ * // Description: "STRING_VALUE",
66
+ * // CreateDate: new Date("TIMESTAMP"),
67
+ * // UpdateDate: new Date("TIMESTAMP"),
68
+ * // Tags: [ // tagListType
69
+ * // { // Tag
70
+ * // Key: "STRING_VALUE", // required
71
+ * // Value: "STRING_VALUE", // required
72
+ * // },
73
+ * // ],
74
+ * // },
75
+ * // ],
76
+ * // IsTruncated: true || false,
77
+ * // Marker: "STRING_VALUE",
78
+ * // };
79
+ *
54
80
  * ```
55
81
  *
56
82
  * @param ListPoliciesCommandInput - {@link ListPoliciesCommandInput}
@@ -63,6 +89,8 @@ export interface ListPoliciesCommandOutput extends ListPoliciesResponse, __Metad
63
89
  * <p>The request processing has failed because of an unknown error, exception or
64
90
  * failure.</p>
65
91
  *
92
+ * @throws {@link IAMServiceException}
93
+ * <p>Base exception class for all service exceptions from IAM service.</p>
66
94
  *
67
95
  */
68
96
  export declare class ListPoliciesCommand extends $Command<ListPoliciesCommandInput, ListPoliciesCommandOutput, IAMClientResolvedConfig> {
@@ -74,6 +74,25 @@ export interface ListPoliciesGrantingServiceAccessCommandOutput extends ListPoli
74
74
  * };
75
75
  * const command = new ListPoliciesGrantingServiceAccessCommand(input);
76
76
  * const response = await client.send(command);
77
+ * // { // ListPoliciesGrantingServiceAccessResponse
78
+ * // PoliciesGrantingServiceAccess: [ // listPolicyGrantingServiceAccessResponseListType // required
79
+ * // { // ListPoliciesGrantingServiceAccessEntry
80
+ * // ServiceNamespace: "STRING_VALUE",
81
+ * // Policies: [ // policyGrantingServiceAccessListType
82
+ * // { // PolicyGrantingServiceAccess
83
+ * // PolicyName: "STRING_VALUE", // required
84
+ * // PolicyType: "INLINE" || "MANAGED", // required
85
+ * // PolicyArn: "STRING_VALUE",
86
+ * // EntityType: "USER" || "ROLE" || "GROUP",
87
+ * // EntityName: "STRING_VALUE",
88
+ * // },
89
+ * // ],
90
+ * // },
91
+ * // ],
92
+ * // IsTruncated: true || false,
93
+ * // Marker: "STRING_VALUE",
94
+ * // };
95
+ *
77
96
  * ```
78
97
  *
79
98
  * @param ListPoliciesGrantingServiceAccessCommandInput - {@link ListPoliciesGrantingServiceAccessCommandInput}
@@ -90,6 +109,8 @@ export interface ListPoliciesGrantingServiceAccessCommandOutput extends ListPoli
90
109
  * <p>The request was rejected because it referenced a resource entity that does not exist. The
91
110
  * error message describes the resource.</p>
92
111
  *
112
+ * @throws {@link IAMServiceException}
113
+ * <p>Base exception class for all service exceptions from IAM service.</p>
93
114
  *
94
115
  * @example To list policies that allow access to a service
95
116
  * ```javascript
@@ -35,6 +35,17 @@ export interface ListPolicyTagsCommandOutput extends ListPolicyTagsResponse, __M
35
35
  * };
36
36
  * const command = new ListPolicyTagsCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // ListPolicyTagsResponse
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 ListPolicyTagsCommandInput - {@link ListPolicyTagsCommandInput}
@@ -55,6 +66,8 @@ export interface ListPolicyTagsCommandOutput extends ListPolicyTagsResponse, __M
55
66
  * <p>The request processing has failed because of an unknown error, exception or
56
67
  * failure.</p>
57
68
  *
69
+ * @throws {@link IAMServiceException}
70
+ * <p>Base exception class for all service exceptions from IAM service.</p>
58
71
  *
59
72
  */
60
73
  export declare class ListPolicyTagsCommand extends $Command<ListPolicyTagsCommandInput, ListPolicyTagsCommandOutput, IAMClientResolvedConfig> {
@@ -36,6 +36,19 @@ export interface ListPolicyVersionsCommandOutput extends ListPolicyVersionsRespo
36
36
  * };
37
37
  * const command = new ListPolicyVersionsCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // ListPolicyVersionsResponse
40
+ * // Versions: [ // policyDocumentVersionListType
41
+ * // { // PolicyVersion
42
+ * // Document: "STRING_VALUE",
43
+ * // VersionId: "STRING_VALUE",
44
+ * // IsDefaultVersion: true || false,
45
+ * // CreateDate: new Date("TIMESTAMP"),
46
+ * // },
47
+ * // ],
48
+ * // IsTruncated: true || false,
49
+ * // Marker: "STRING_VALUE",
50
+ * // };
51
+ *
39
52
  * ```
40
53
  *
41
54
  * @param ListPolicyVersionsCommandInput - {@link ListPolicyVersionsCommandInput}
@@ -56,6 +69,8 @@ export interface ListPolicyVersionsCommandOutput extends ListPolicyVersionsRespo
56
69
  * <p>The request processing has failed because of an unknown error, exception or
57
70
  * failure.</p>
58
71
  *
72
+ * @throws {@link IAMServiceException}
73
+ * <p>Base exception class for all service exceptions from IAM service.</p>
59
74
  *
60
75
  */
61
76
  export declare class ListPolicyVersionsCommand extends $Command<ListPolicyVersionsCommandInput, ListPolicyVersionsCommandOutput, IAMClientResolvedConfig> {
@@ -41,6 +41,14 @@ export interface ListRolePoliciesCommandOutput extends ListRolePoliciesResponse,
41
41
  * };
42
42
  * const command = new ListRolePoliciesCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // { // ListRolePoliciesResponse
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 ListRolePoliciesCommandInput - {@link ListRolePoliciesCommandInput}
@@ -57,6 +65,8 @@ export interface ListRolePoliciesCommandOutput extends ListRolePoliciesResponse,
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
  */
62
72
  export declare class ListRolePoliciesCommand extends $Command<ListRolePoliciesCommandInput, ListRolePoliciesCommandOutput, IAMClientResolvedConfig> {
@@ -35,6 +35,17 @@ export interface ListRoleTagsCommandOutput extends ListRoleTagsResponse, __Metad
35
35
  * };
36
36
  * const command = new ListRoleTagsCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // ListRoleTagsResponse
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 ListRoleTagsCommandInput - {@link ListRoleTagsCommandInput}
@@ -51,6 +62,8 @@ export interface ListRoleTagsCommandOutput extends ListRoleTagsResponse, __Metad
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
  * @example To list the tags attached to an IAM role
56
69
  * ```javascript
@@ -41,6 +41,37 @@ export interface ListRolesCommandOutput extends ListRolesResponse, __MetadataBea
41
41
  * };
42
42
  * const command = new ListRolesCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // { // ListRolesResponse
45
+ * // Roles: [ // roleListType // required
46
+ * // { // Role
47
+ * // Path: "STRING_VALUE", // required
48
+ * // RoleName: "STRING_VALUE", // required
49
+ * // RoleId: "STRING_VALUE", // required
50
+ * // Arn: "STRING_VALUE", // required
51
+ * // CreateDate: new Date("TIMESTAMP"), // required
52
+ * // AssumeRolePolicyDocument: "STRING_VALUE",
53
+ * // Description: "STRING_VALUE",
54
+ * // MaxSessionDuration: Number("int"),
55
+ * // PermissionsBoundary: { // AttachedPermissionsBoundary
56
+ * // PermissionsBoundaryType: "PermissionsBoundaryPolicy",
57
+ * // PermissionsBoundaryArn: "STRING_VALUE",
58
+ * // },
59
+ * // Tags: [ // tagListType
60
+ * // { // Tag
61
+ * // Key: "STRING_VALUE", // required
62
+ * // Value: "STRING_VALUE", // required
63
+ * // },
64
+ * // ],
65
+ * // RoleLastUsed: { // RoleLastUsed
66
+ * // LastUsedDate: new Date("TIMESTAMP"),
67
+ * // Region: "STRING_VALUE",
68
+ * // },
69
+ * // },
70
+ * // ],
71
+ * // IsTruncated: true || false,
72
+ * // Marker: "STRING_VALUE",
73
+ * // };
74
+ *
44
75
  * ```
45
76
  *
46
77
  * @param ListRolesCommandInput - {@link ListRolesCommandInput}
@@ -53,6 +84,8 @@ export interface ListRolesCommandOutput extends ListRolesResponse, __MetadataBea
53
84
  * <p>The request processing has failed because of an unknown error, exception or
54
85
  * failure.</p>
55
86
  *
87
+ * @throws {@link IAMServiceException}
88
+ * <p>Base exception class for all service exceptions from IAM service.</p>
56
89
  *
57
90
  */
58
91
  export declare class ListRolesCommand extends $Command<ListRolesCommandInput, ListRolesCommandOutput, IAMClientResolvedConfig> {
@@ -37,6 +37,17 @@ export interface ListSAMLProviderTagsCommandOutput extends ListSAMLProviderTagsR
37
37
  * };
38
38
  * const command = new ListSAMLProviderTagsCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // { // ListSAMLProviderTagsResponse
41
+ * // Tags: [ // tagListType // required
42
+ * // { // Tag
43
+ * // Key: "STRING_VALUE", // required
44
+ * // Value: "STRING_VALUE", // required
45
+ * // },
46
+ * // ],
47
+ * // IsTruncated: true || false,
48
+ * // Marker: "STRING_VALUE",
49
+ * // };
50
+ *
40
51
  * ```
41
52
  *
42
53
  * @param ListSAMLProviderTagsCommandInput - {@link ListSAMLProviderTagsCommandInput}
@@ -57,6 +68,8 @@ export interface ListSAMLProviderTagsCommandOutput extends ListSAMLProviderTagsR
57
68
  * <p>The request processing has failed because of an unknown error, exception or
58
69
  * failure.</p>
59
70
  *
71
+ * @throws {@link IAMServiceException}
72
+ * <p>Base exception class for all service exceptions from IAM service.</p>
60
73
  *
61
74
  */
62
75
  export declare class ListSAMLProviderTagsCommand extends $Command<ListSAMLProviderTagsCommandInput, ListSAMLProviderTagsCommandOutput, IAMClientResolvedConfig> {
@@ -34,6 +34,16 @@ export interface ListSAMLProvidersCommandOutput extends ListSAMLProvidersRespons
34
34
  * const input = {};
35
35
  * const command = new ListSAMLProvidersCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // ListSAMLProvidersResponse
38
+ * // SAMLProviderList: [ // SAMLProviderListType
39
+ * // { // SAMLProviderListEntry
40
+ * // Arn: "STRING_VALUE",
41
+ * // ValidUntil: new Date("TIMESTAMP"),
42
+ * // CreateDate: new Date("TIMESTAMP"),
43
+ * // },
44
+ * // ],
45
+ * // };
46
+ *
37
47
  * ```
38
48
  *
39
49
  * @param ListSAMLProvidersCommandInput - {@link ListSAMLProvidersCommandInput}
@@ -46,6 +56,8 @@ export interface ListSAMLProvidersCommandOutput extends ListSAMLProvidersRespons
46
56
  * <p>The request processing has failed because of an unknown error, exception or
47
57
  * failure.</p>
48
58
  *
59
+ * @throws {@link IAMServiceException}
60
+ * <p>Base exception class for all service exceptions from IAM service.</p>
49
61
  *
50
62
  */
51
63
  export declare class ListSAMLProvidersCommand extends $Command<ListSAMLProvidersCommandInput, ListSAMLProvidersCommandOutput, IAMClientResolvedConfig> {
@@ -40,6 +40,19 @@ export interface ListSSHPublicKeysCommandOutput extends ListSSHPublicKeysRespons
40
40
  * };
41
41
  * const command = new ListSSHPublicKeysCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // ListSSHPublicKeysResponse
44
+ * // SSHPublicKeys: [ // SSHPublicKeyListType
45
+ * // { // SSHPublicKeyMetadata
46
+ * // UserName: "STRING_VALUE", // required
47
+ * // SSHPublicKeyId: "STRING_VALUE", // required
48
+ * // Status: "Active" || "Inactive", // required
49
+ * // UploadDate: new Date("TIMESTAMP"), // required
50
+ * // },
51
+ * // ],
52
+ * // IsTruncated: true || false,
53
+ * // Marker: "STRING_VALUE",
54
+ * // };
55
+ *
43
56
  * ```
44
57
  *
45
58
  * @param ListSSHPublicKeysCommandInput - {@link ListSSHPublicKeysCommandInput}
@@ -52,6 +65,8 @@ export interface ListSSHPublicKeysCommandOutput extends ListSSHPublicKeysRespons
52
65
  * <p>The request was rejected because it referenced a resource entity that does not exist. The
53
66
  * error message describes the resource.</p>
54
67
  *
68
+ * @throws {@link IAMServiceException}
69
+ * <p>Base exception class for all service exceptions from IAM service.</p>
55
70
  *
56
71
  */
57
72
  export declare class ListSSHPublicKeysCommand extends $Command<ListSSHPublicKeysCommandInput, ListSSHPublicKeysCommandOutput, IAMClientResolvedConfig> {
@@ -42,6 +42,17 @@ export interface ListServerCertificateTagsCommandOutput extends ListServerCertif
42
42
  * };
43
43
  * const command = new ListServerCertificateTagsCommand(input);
44
44
  * const response = await client.send(command);
45
+ * // { // ListServerCertificateTagsResponse
46
+ * // Tags: [ // tagListType // required
47
+ * // { // Tag
48
+ * // Key: "STRING_VALUE", // required
49
+ * // Value: "STRING_VALUE", // required
50
+ * // },
51
+ * // ],
52
+ * // IsTruncated: true || false,
53
+ * // Marker: "STRING_VALUE",
54
+ * // };
55
+ *
45
56
  * ```
46
57
  *
47
58
  * @param ListServerCertificateTagsCommandInput - {@link ListServerCertificateTagsCommandInput}
@@ -58,6 +69,8 @@ export interface ListServerCertificateTagsCommandOutput extends ListServerCertif
58
69
  * <p>The request processing has failed because of an unknown error, exception or
59
70
  * failure.</p>
60
71
  *
72
+ * @throws {@link IAMServiceException}
73
+ * <p>Base exception class for all service exceptions from IAM service.</p>
61
74
  *
62
75
  */
63
76
  export declare class ListServerCertificateTagsCommand extends $Command<ListServerCertificateTagsCommandInput, ListServerCertificateTagsCommandOutput, IAMClientResolvedConfig> {
@@ -44,6 +44,21 @@ export interface ListServerCertificatesCommandOutput extends ListServerCertifica
44
44
  * };
45
45
  * const command = new ListServerCertificatesCommand(input);
46
46
  * const response = await client.send(command);
47
+ * // { // ListServerCertificatesResponse
48
+ * // ServerCertificateMetadataList: [ // serverCertificateMetadataListType // required
49
+ * // { // ServerCertificateMetadata
50
+ * // Path: "STRING_VALUE", // required
51
+ * // ServerCertificateName: "STRING_VALUE", // required
52
+ * // ServerCertificateId: "STRING_VALUE", // required
53
+ * // Arn: "STRING_VALUE", // required
54
+ * // UploadDate: new Date("TIMESTAMP"),
55
+ * // Expiration: new Date("TIMESTAMP"),
56
+ * // },
57
+ * // ],
58
+ * // IsTruncated: true || false,
59
+ * // Marker: "STRING_VALUE",
60
+ * // };
61
+ *
47
62
  * ```
48
63
  *
49
64
  * @param ListServerCertificatesCommandInput - {@link ListServerCertificatesCommandInput}
@@ -56,6 +71,8 @@ export interface ListServerCertificatesCommandOutput extends ListServerCertifica
56
71
  * <p>The request processing has failed because of an unknown error, exception or
57
72
  * failure.</p>
58
73
  *
74
+ * @throws {@link IAMServiceException}
75
+ * <p>Base exception class for all service exceptions from IAM service.</p>
59
76
  *
60
77
  */
61
78
  export declare class ListServerCertificatesCommand extends $Command<ListServerCertificatesCommandInput, ListServerCertificatesCommandOutput, IAMClientResolvedConfig> {
@@ -37,6 +37,19 @@ export interface ListServiceSpecificCredentialsCommandOutput extends ListService
37
37
  * };
38
38
  * const command = new ListServiceSpecificCredentialsCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // { // ListServiceSpecificCredentialsResponse
41
+ * // ServiceSpecificCredentials: [ // ServiceSpecificCredentialsListType
42
+ * // { // ServiceSpecificCredentialMetadata
43
+ * // UserName: "STRING_VALUE", // required
44
+ * // Status: "Active" || "Inactive", // required
45
+ * // ServiceUserName: "STRING_VALUE", // required
46
+ * // CreateDate: new Date("TIMESTAMP"), // required
47
+ * // ServiceSpecificCredentialId: "STRING_VALUE", // required
48
+ * // ServiceName: "STRING_VALUE", // required
49
+ * // },
50
+ * // ],
51
+ * // };
52
+ *
40
53
  * ```
41
54
  *
42
55
  * @param ListServiceSpecificCredentialsCommandInput - {@link ListServiceSpecificCredentialsCommandInput}
@@ -52,6 +65,8 @@ export interface ListServiceSpecificCredentialsCommandOutput extends ListService
52
65
  * @throws {@link ServiceNotSupportedException} (client fault)
53
66
  * <p>The specified service does not support service-specific credentials.</p>
54
67
  *
68
+ * @throws {@link IAMServiceException}
69
+ * <p>Base exception class for all service exceptions from IAM service.</p>
55
70
  *
56
71
  */
57
72
  export declare class ListServiceSpecificCredentialsCommand extends $Command<ListServiceSpecificCredentialsCommandInput, ListServiceSpecificCredentialsCommandOutput, IAMClientResolvedConfig> {
@@ -42,6 +42,20 @@ export interface ListSigningCertificatesCommandOutput extends ListSigningCertifi
42
42
  * };
43
43
  * const command = new ListSigningCertificatesCommand(input);
44
44
  * const response = await client.send(command);
45
+ * // { // ListSigningCertificatesResponse
46
+ * // Certificates: [ // certificateListType // required
47
+ * // { // SigningCertificate
48
+ * // UserName: "STRING_VALUE", // required
49
+ * // CertificateId: "STRING_VALUE", // required
50
+ * // CertificateBody: "STRING_VALUE", // required
51
+ * // Status: "Active" || "Inactive", // required
52
+ * // UploadDate: new Date("TIMESTAMP"),
53
+ * // },
54
+ * // ],
55
+ * // IsTruncated: true || false,
56
+ * // Marker: "STRING_VALUE",
57
+ * // };
58
+ *
45
59
  * ```
46
60
  *
47
61
  * @param ListSigningCertificatesCommandInput - {@link ListSigningCertificatesCommandInput}
@@ -58,6 +72,8 @@ export interface ListSigningCertificatesCommandOutput extends ListSigningCertifi
58
72
  * <p>The request processing has failed because of an unknown error, exception or
59
73
  * failure.</p>
60
74
  *
75
+ * @throws {@link IAMServiceException}
76
+ * <p>Base exception class for all service exceptions from IAM service.</p>
61
77
  *
62
78
  * @example To list the signing certificates for an IAM user
63
79
  * ```javascript
@@ -40,6 +40,14 @@ export interface ListUserPoliciesCommandOutput extends ListUserPoliciesResponse,
40
40
  * };
41
41
  * const command = new ListUserPoliciesCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // ListUserPoliciesResponse
44
+ * // PolicyNames: [ // policyNameListType // required
45
+ * // "STRING_VALUE",
46
+ * // ],
47
+ * // IsTruncated: true || false,
48
+ * // Marker: "STRING_VALUE",
49
+ * // };
50
+ *
43
51
  * ```
44
52
  *
45
53
  * @param ListUserPoliciesCommandInput - {@link ListUserPoliciesCommandInput}
@@ -56,6 +64,8 @@ export interface ListUserPoliciesCommandOutput extends ListUserPoliciesResponse,
56
64
  * <p>The request processing has failed because of an unknown error, exception or
57
65
  * failure.</p>
58
66
  *
67
+ * @throws {@link IAMServiceException}
68
+ * <p>Base exception class for all service exceptions from IAM service.</p>
59
69
  *
60
70
  */
61
71
  export declare class ListUserPoliciesCommand extends $Command<ListUserPoliciesCommandInput, ListUserPoliciesCommandOutput, IAMClientResolvedConfig> {
@@ -34,6 +34,17 @@ export interface ListUserTagsCommandOutput extends ListUserTagsResponse, __Metad
34
34
  * };
35
35
  * const command = new ListUserTagsCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // ListUserTagsResponse
38
+ * // Tags: [ // tagListType // required
39
+ * // { // Tag
40
+ * // Key: "STRING_VALUE", // required
41
+ * // Value: "STRING_VALUE", // required
42
+ * // },
43
+ * // ],
44
+ * // IsTruncated: true || false,
45
+ * // Marker: "STRING_VALUE",
46
+ * // };
47
+ *
37
48
  * ```
38
49
  *
39
50
  * @param ListUserTagsCommandInput - {@link ListUserTagsCommandInput}
@@ -50,6 +61,8 @@ export interface ListUserTagsCommandOutput extends ListUserTagsResponse, __Metad
50
61
  * <p>The request processing has failed because of an unknown error, exception or
51
62
  * failure.</p>
52
63
  *
64
+ * @throws {@link IAMServiceException}
65
+ * <p>Base exception class for all service exceptions from IAM service.</p>
53
66
  *
54
67
  * @example To list the tags attached to an IAM user
55
68
  * ```javascript