@aws-sdk/client-iam 3.775.0 → 3.782.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 (169) hide show
  1. package/dist-cjs/endpoint/ruleset.js +3 -3
  2. package/dist-es/endpoint/ruleset.js +3 -3
  3. package/dist-types/commands/AddClientIDToOpenIDConnectProviderCommand.d.ts +8 -5
  4. package/dist-types/commands/AddRoleToInstanceProfileCommand.d.ts +8 -5
  5. package/dist-types/commands/AddUserToGroupCommand.d.ts +8 -5
  6. package/dist-types/commands/AttachGroupPolicyCommand.d.ts +8 -5
  7. package/dist-types/commands/AttachRolePolicyCommand.d.ts +8 -5
  8. package/dist-types/commands/AttachUserPolicyCommand.d.ts +8 -5
  9. package/dist-types/commands/ChangePasswordCommand.d.ts +8 -5
  10. package/dist-types/commands/CreateAccessKeyCommand.d.ts +10 -10
  11. package/dist-types/commands/CreateAccountAliasCommand.d.ts +7 -4
  12. package/dist-types/commands/CreateGroupCommand.d.ts +10 -10
  13. package/dist-types/commands/CreateInstanceProfileCommand.d.ts +11 -11
  14. package/dist-types/commands/CreateLoginProfileCommand.d.ts +10 -10
  15. package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +7 -7
  16. package/dist-types/commands/CreatePolicyCommand.d.ts +1 -0
  17. package/dist-types/commands/CreatePolicyVersionCommand.d.ts +1 -0
  18. package/dist-types/commands/CreateRoleCommand.d.ts +13 -13
  19. package/dist-types/commands/CreateSAMLProviderCommand.d.ts +1 -0
  20. package/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +1 -0
  21. package/dist-types/commands/CreateServiceSpecificCredentialCommand.d.ts +1 -0
  22. package/dist-types/commands/CreateUserCommand.d.ts +10 -10
  23. package/dist-types/commands/CreateVirtualMFADeviceCommand.d.ts +1 -0
  24. package/dist-types/commands/DeactivateMFADeviceCommand.d.ts +1 -0
  25. package/dist-types/commands/DeleteAccessKeyCommand.d.ts +8 -5
  26. package/dist-types/commands/DeleteAccountAliasCommand.d.ts +7 -4
  27. package/dist-types/commands/DeleteAccountPasswordPolicyCommand.d.ts +7 -4
  28. package/dist-types/commands/DeleteGroupCommand.d.ts +1 -0
  29. package/dist-types/commands/DeleteGroupPolicyCommand.d.ts +8 -5
  30. package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +7 -4
  31. package/dist-types/commands/DeleteLoginProfileCommand.d.ts +7 -4
  32. package/dist-types/commands/DeleteOpenIDConnectProviderCommand.d.ts +1 -0
  33. package/dist-types/commands/DeletePolicyCommand.d.ts +1 -0
  34. package/dist-types/commands/DeletePolicyVersionCommand.d.ts +1 -0
  35. package/dist-types/commands/DeleteRoleCommand.d.ts +7 -4
  36. package/dist-types/commands/DeleteRolePermissionsBoundaryCommand.d.ts +1 -0
  37. package/dist-types/commands/DeleteRolePolicyCommand.d.ts +8 -5
  38. package/dist-types/commands/DeleteSAMLProviderCommand.d.ts +1 -0
  39. package/dist-types/commands/DeleteSSHPublicKeyCommand.d.ts +1 -0
  40. package/dist-types/commands/DeleteServerCertificateCommand.d.ts +1 -0
  41. package/dist-types/commands/DeleteServiceLinkedRoleCommand.d.ts +1 -0
  42. package/dist-types/commands/DeleteServiceSpecificCredentialCommand.d.ts +1 -0
  43. package/dist-types/commands/DeleteSigningCertificateCommand.d.ts +8 -5
  44. package/dist-types/commands/DeleteUserCommand.d.ts +7 -4
  45. package/dist-types/commands/DeleteUserPermissionsBoundaryCommand.d.ts +1 -0
  46. package/dist-types/commands/DeleteUserPolicyCommand.d.ts +8 -5
  47. package/dist-types/commands/DeleteVirtualMFADeviceCommand.d.ts +7 -4
  48. package/dist-types/commands/DetachGroupPolicyCommand.d.ts +1 -0
  49. package/dist-types/commands/DetachRolePolicyCommand.d.ts +1 -0
  50. package/dist-types/commands/DetachUserPolicyCommand.d.ts +1 -0
  51. package/dist-types/commands/DisableOrganizationsRootCredentialsManagementCommand.d.ts +6 -6
  52. package/dist-types/commands/DisableOrganizationsRootSessionsCommand.d.ts +6 -6
  53. package/dist-types/commands/EnableMFADeviceCommand.d.ts +1 -0
  54. package/dist-types/commands/EnableOrganizationsRootCredentialsManagementCommand.d.ts +6 -6
  55. package/dist-types/commands/EnableOrganizationsRootSessionsCommand.d.ts +6 -6
  56. package/dist-types/commands/GenerateCredentialReportCommand.d.ts +1 -0
  57. package/dist-types/commands/GenerateOrganizationsAccessReportCommand.d.ts +5 -5
  58. package/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +5 -5
  59. package/dist-types/commands/GetAccessKeyLastUsedCommand.d.ts +1 -0
  60. package/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +1 -0
  61. package/dist-types/commands/GetAccountPasswordPolicyCommand.d.ts +15 -15
  62. package/dist-types/commands/GetAccountSummaryCommand.d.ts +31 -31
  63. package/dist-types/commands/GetContextKeysForCustomPolicyCommand.d.ts +1 -0
  64. package/dist-types/commands/GetContextKeysForPrincipalPolicyCommand.d.ts +1 -0
  65. package/dist-types/commands/GetCredentialReportCommand.d.ts +1 -0
  66. package/dist-types/commands/GetGroupCommand.d.ts +1 -0
  67. package/dist-types/commands/GetGroupPolicyCommand.d.ts +1 -0
  68. package/dist-types/commands/GetInstanceProfileCommand.d.ts +17 -17
  69. package/dist-types/commands/GetLoginProfileCommand.d.ts +7 -7
  70. package/dist-types/commands/GetMFADeviceCommand.d.ts +1 -0
  71. package/dist-types/commands/GetOpenIDConnectProviderCommand.d.ts +1 -0
  72. package/dist-types/commands/GetOrganizationsAccessReportCommand.d.ts +26 -26
  73. package/dist-types/commands/GetPolicyCommand.d.ts +1 -0
  74. package/dist-types/commands/GetPolicyVersionCommand.d.ts +1 -0
  75. package/dist-types/commands/GetRoleCommand.d.ts +15 -15
  76. package/dist-types/commands/GetRolePolicyCommand.d.ts +1 -0
  77. package/dist-types/commands/GetSAMLProviderCommand.d.ts +1 -0
  78. package/dist-types/commands/GetSSHPublicKeyCommand.d.ts +1 -0
  79. package/dist-types/commands/GetServerCertificateCommand.d.ts +1 -0
  80. package/dist-types/commands/GetServiceLastAccessedDetailsCommand.d.ts +17 -17
  81. package/dist-types/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +23 -23
  82. package/dist-types/commands/GetServiceLinkedRoleDeletionStatusCommand.d.ts +1 -0
  83. package/dist-types/commands/GetUserCommand.d.ts +10 -10
  84. package/dist-types/commands/GetUserPolicyCommand.d.ts +1 -0
  85. package/dist-types/commands/ListAccessKeysCommand.d.ts +13 -13
  86. package/dist-types/commands/ListAccountAliasesCommand.d.ts +5 -5
  87. package/dist-types/commands/ListAttachedGroupPoliciesCommand.d.ts +1 -0
  88. package/dist-types/commands/ListAttachedRolePoliciesCommand.d.ts +1 -0
  89. package/dist-types/commands/ListAttachedUserPoliciesCommand.d.ts +1 -0
  90. package/dist-types/commands/ListEntitiesForPolicyCommand.d.ts +1 -0
  91. package/dist-types/commands/ListGroupPoliciesCommand.d.ts +5 -5
  92. package/dist-types/commands/ListGroupsCommand.d.ts +20 -20
  93. package/dist-types/commands/ListGroupsForUserCommand.d.ts +15 -15
  94. package/dist-types/commands/ListInstanceProfileTagsCommand.d.ts +1 -0
  95. package/dist-types/commands/ListInstanceProfilesCommand.d.ts +1 -0
  96. package/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +1 -0
  97. package/dist-types/commands/ListMFADeviceTagsCommand.d.ts +1 -0
  98. package/dist-types/commands/ListMFADevicesCommand.d.ts +1 -0
  99. package/dist-types/commands/ListOpenIDConnectProviderTagsCommand.d.ts +1 -0
  100. package/dist-types/commands/ListOpenIDConnectProvidersCommand.d.ts +1 -0
  101. package/dist-types/commands/ListOrganizationsFeaturesCommand.d.ts +6 -6
  102. package/dist-types/commands/ListPoliciesCommand.d.ts +1 -0
  103. package/dist-types/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +21 -21
  104. package/dist-types/commands/ListPolicyTagsCommand.d.ts +1 -0
  105. package/dist-types/commands/ListPolicyVersionsCommand.d.ts +1 -0
  106. package/dist-types/commands/ListRolePoliciesCommand.d.ts +1 -0
  107. package/dist-types/commands/ListRoleTagsCommand.d.ts +10 -10
  108. package/dist-types/commands/ListRolesCommand.d.ts +1 -0
  109. package/dist-types/commands/ListSAMLProviderTagsCommand.d.ts +1 -0
  110. package/dist-types/commands/ListSAMLProvidersCommand.d.ts +1 -0
  111. package/dist-types/commands/ListSSHPublicKeysCommand.d.ts +1 -0
  112. package/dist-types/commands/ListServerCertificateTagsCommand.d.ts +1 -0
  113. package/dist-types/commands/ListServerCertificatesCommand.d.ts +1 -0
  114. package/dist-types/commands/ListServiceSpecificCredentialsCommand.d.ts +1 -0
  115. package/dist-types/commands/ListSigningCertificatesCommand.d.ts +10 -10
  116. package/dist-types/commands/ListUserPoliciesCommand.d.ts +1 -0
  117. package/dist-types/commands/ListUserTagsCommand.d.ts +10 -10
  118. package/dist-types/commands/ListUsersCommand.d.ts +17 -17
  119. package/dist-types/commands/ListVirtualMFADevicesCommand.d.ts +7 -7
  120. package/dist-types/commands/PutGroupPolicyCommand.d.ts +9 -6
  121. package/dist-types/commands/PutRolePermissionsBoundaryCommand.d.ts +1 -0
  122. package/dist-types/commands/PutRolePolicyCommand.d.ts +9 -6
  123. package/dist-types/commands/PutUserPermissionsBoundaryCommand.d.ts +1 -0
  124. package/dist-types/commands/PutUserPolicyCommand.d.ts +9 -6
  125. package/dist-types/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +1 -0
  126. package/dist-types/commands/RemoveRoleFromInstanceProfileCommand.d.ts +8 -5
  127. package/dist-types/commands/RemoveUserFromGroupCommand.d.ts +8 -5
  128. package/dist-types/commands/ResetServiceSpecificCredentialCommand.d.ts +1 -0
  129. package/dist-types/commands/ResyncMFADeviceCommand.d.ts +1 -0
  130. package/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +1 -0
  131. package/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +7 -4
  132. package/dist-types/commands/SimulateCustomPolicyCommand.d.ts +1 -0
  133. package/dist-types/commands/SimulatePrincipalPolicyCommand.d.ts +1 -0
  134. package/dist-types/commands/TagInstanceProfileCommand.d.ts +1 -0
  135. package/dist-types/commands/TagMFADeviceCommand.d.ts +1 -0
  136. package/dist-types/commands/TagOpenIDConnectProviderCommand.d.ts +1 -0
  137. package/dist-types/commands/TagPolicyCommand.d.ts +1 -0
  138. package/dist-types/commands/TagRoleCommand.d.ts +12 -9
  139. package/dist-types/commands/TagSAMLProviderCommand.d.ts +1 -0
  140. package/dist-types/commands/TagServerCertificateCommand.d.ts +1 -0
  141. package/dist-types/commands/TagUserCommand.d.ts +12 -9
  142. package/dist-types/commands/UntagInstanceProfileCommand.d.ts +1 -0
  143. package/dist-types/commands/UntagMFADeviceCommand.d.ts +1 -0
  144. package/dist-types/commands/UntagOpenIDConnectProviderCommand.d.ts +1 -0
  145. package/dist-types/commands/UntagPolicyCommand.d.ts +1 -0
  146. package/dist-types/commands/UntagRoleCommand.d.ts +8 -5
  147. package/dist-types/commands/UntagSAMLProviderCommand.d.ts +1 -0
  148. package/dist-types/commands/UntagServerCertificateCommand.d.ts +1 -0
  149. package/dist-types/commands/UntagUserCommand.d.ts +8 -5
  150. package/dist-types/commands/UpdateAccessKeyCommand.d.ts +9 -6
  151. package/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +8 -5
  152. package/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +8 -5
  153. package/dist-types/commands/UpdateGroupCommand.d.ts +8 -5
  154. package/dist-types/commands/UpdateLoginProfileCommand.d.ts +8 -5
  155. package/dist-types/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +1 -0
  156. package/dist-types/commands/UpdateRoleCommand.d.ts +1 -0
  157. package/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +1 -0
  158. package/dist-types/commands/UpdateSAMLProviderCommand.d.ts +1 -0
  159. package/dist-types/commands/UpdateSSHPublicKeyCommand.d.ts +1 -0
  160. package/dist-types/commands/UpdateServerCertificateCommand.d.ts +1 -0
  161. package/dist-types/commands/UpdateServiceSpecificCredentialCommand.d.ts +1 -0
  162. package/dist-types/commands/UpdateSigningCertificateCommand.d.ts +9 -6
  163. package/dist-types/commands/UpdateUserCommand.d.ts +8 -5
  164. package/dist-types/commands/UploadSSHPublicKeyCommand.d.ts +1 -0
  165. package/dist-types/commands/UploadServerCertificateCommand.d.ts +14 -14
  166. package/dist-types/commands/UploadSigningCertificateCommand.d.ts +11 -11
  167. package/dist-types/endpoint/EndpointParameters.d.ts +2 -2
  168. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +2 -2
  169. package/package.json +5 -5
@@ -142,40 +142,40 @@ declare const GetServiceLastAccessedDetailsCommand_base: {
142
142
  * @throws {@link IAMServiceException}
143
143
  * <p>Base exception class for all service exceptions from IAM service.</p>
144
144
  *
145
- * @public
145
+ *
146
146
  * @example To get details from a previously-generated report
147
147
  * ```javascript
148
148
  * // The following operation gets details about the report with the job ID: examplef-1305-c245-eba4-71fe298bcda7
149
149
  * const input = {
150
- * "JobId": "examplef-1305-c245-eba4-71fe298bcda7"
150
+ * JobId: "examplef-1305-c245-eba4-71fe298bcda7"
151
151
  * };
152
152
  * const command = new GetServiceLastAccessedDetailsCommand(input);
153
153
  * const response = await client.send(command);
154
- * /* response ==
154
+ * /* response is
155
155
  * {
156
- * "IsTruncated": false,
157
- * "JobCompletionDate": "2018-10-24T19:47:35.241Z",
158
- * "JobCreationDate": "2018-10-24T19:47:31.466Z",
159
- * "JobStatus": "COMPLETED",
160
- * "ServicesLastAccessed": [
156
+ * IsTruncated: false,
157
+ * JobCompletionDate: "2018-10-24T19:47:35.241Z",
158
+ * JobCreationDate: "2018-10-24T19:47:31.466Z",
159
+ * JobStatus: "COMPLETED",
160
+ * ServicesLastAccessed: [
161
161
  * {
162
- * "LastAuthenticated": "2018-10-24T19:11:00Z",
163
- * "LastAuthenticatedEntity": "arn:aws:iam::123456789012:user/AWSExampleUser01",
164
- * "ServiceName": "AWS Identity and Access Management",
165
- * "ServiceNamespace": "iam",
166
- * "TotalAuthenticatedEntities": 2
162
+ * LastAuthenticated: "2018-10-24T19:11:00Z",
163
+ * LastAuthenticatedEntity: "arn:aws:iam::123456789012:user/AWSExampleUser01",
164
+ * ServiceName: "AWS Identity and Access Management",
165
+ * ServiceNamespace: "iam",
166
+ * TotalAuthenticatedEntities: 2
167
167
  * },
168
168
  * {
169
- * "ServiceName": "Amazon Simple Storage Service",
170
- * "ServiceNamespace": "s3",
171
- * "TotalAuthenticatedEntities": 0
169
+ * ServiceName: "Amazon Simple Storage Service",
170
+ * ServiceNamespace: "s3",
171
+ * TotalAuthenticatedEntities: 0
172
172
  * }
173
173
  * ]
174
174
  * }
175
175
  * *\/
176
- * // example id: getserviceaccessdetails-policy-1541696298085
177
176
  * ```
178
177
  *
178
+ * @public
179
179
  */
180
180
  export declare class GetServiceLastAccessedDetailsCommand extends GetServiceLastAccessedDetailsCommand_base {
181
181
  /** @internal type navigation helper, not in runtime. */
@@ -110,48 +110,48 @@ declare const GetServiceLastAccessedDetailsWithEntitiesCommand_base: {
110
110
  * @throws {@link IAMServiceException}
111
111
  * <p>Base exception class for all service exceptions from IAM service.</p>
112
112
  *
113
- * @public
113
+ *
114
114
  * @example To get sntity details from a previously-generated report
115
115
  * ```javascript
116
116
  * // The following operation returns details about the entities that attempted to access the IAM service.
117
117
  * const input = {
118
- * "JobId": "examplef-1305-c245-eba4-71fe298bcda7",
119
- * "ServiceNamespace": "iam"
118
+ * JobId: "examplef-1305-c245-eba4-71fe298bcda7",
119
+ * ServiceNamespace: "iam"
120
120
  * };
121
121
  * const command = new GetServiceLastAccessedDetailsWithEntitiesCommand(input);
122
122
  * const response = await client.send(command);
123
- * /* response ==
123
+ * /* response is
124
124
  * {
125
- * "EntityDetailsList": [
125
+ * EntityDetailsList: [
126
126
  * {
127
- * "EntityInfo": {
128
- * "Arn": "arn:aws:iam::123456789012:user/AWSExampleUser01",
129
- * "Id": "AIDAEX2EXAMPLEB6IGCDC",
130
- * "Name": "AWSExampleUser01",
131
- * "Path": "/",
132
- * "Type": "USER"
127
+ * EntityInfo: {
128
+ * Arn: "arn:aws:iam::123456789012:user/AWSExampleUser01",
129
+ * Id: "AIDAEX2EXAMPLEB6IGCDC",
130
+ * Name: "AWSExampleUser01",
131
+ * Path: "/",
132
+ * Type: "USER"
133
133
  * },
134
- * "LastAuthenticated": "2018-10-24T19:10:00Z"
134
+ * LastAuthenticated: "2018-10-24T19:10:00Z"
135
135
  * },
136
136
  * {
137
- * "EntityInfo": {
138
- * "Arn": "arn:aws:iam::123456789012:role/AWSExampleRole01",
139
- * "Id": "AROAEAEXAMPLEIANXSIU4",
140
- * "Name": "AWSExampleRole01",
141
- * "Path": "/",
142
- * "Type": "ROLE"
137
+ * EntityInfo: {
138
+ * Arn: "arn:aws:iam::123456789012:role/AWSExampleRole01",
139
+ * Id: "AROAEAEXAMPLEIANXSIU4",
140
+ * Name: "AWSExampleRole01",
141
+ * Path: "/",
142
+ * Type: "ROLE"
143
143
  * }
144
144
  * }
145
145
  * ],
146
- * "IsTruncated": false,
147
- * "JobCompletionDate": "2018-10-24T19:47:35.241Z",
148
- * "JobCreationDate": "2018-10-24T19:47:31.466Z",
149
- * "JobStatus": "COMPLETED"
146
+ * IsTruncated: false,
147
+ * JobCompletionDate: "2018-10-24T19:47:35.241Z",
148
+ * JobCreationDate: "2018-10-24T19:47:31.466Z",
149
+ * JobStatus: "COMPLETED"
150
150
  * }
151
151
  * *\/
152
- * // example id: getserviceaccessdetailsentity-policy-1541697621384
153
152
  * ```
154
153
  *
154
+ * @public
155
155
  */
156
156
  export declare class GetServiceLastAccessedDetailsWithEntitiesCommand extends GetServiceLastAccessedDetailsWithEntitiesCommand_base {
157
157
  /** @internal type navigation helper, not in runtime. */
@@ -81,6 +81,7 @@ declare const GetServiceLinkedRoleDeletionStatusCommand_base: {
81
81
  * @throws {@link IAMServiceException}
82
82
  * <p>Base exception class for all service exceptions from IAM service.</p>
83
83
  *
84
+ *
84
85
  * @public
85
86
  */
86
87
  export declare class GetServiceLinkedRoleDeletionStatusCommand extends GetServiceLinkedRoleDeletionStatusCommand_base {
@@ -82,29 +82,29 @@ declare const GetUserCommand_base: {
82
82
  * @throws {@link IAMServiceException}
83
83
  * <p>Base exception class for all service exceptions from IAM service.</p>
84
84
  *
85
- * @public
85
+ *
86
86
  * @example To get information about an IAM user
87
87
  * ```javascript
88
88
  * // The following command gets information about the IAM user named Bob.
89
89
  * const input = {
90
- * "UserName": "Bob"
90
+ * UserName: "Bob"
91
91
  * };
92
92
  * const command = new GetUserCommand(input);
93
93
  * const response = await client.send(command);
94
- * /* response ==
94
+ * /* response is
95
95
  * {
96
- * "User": {
97
- * "Arn": "arn:aws:iam::123456789012:user/Bob",
98
- * "CreateDate": "2012-09-21T23:03:13Z",
99
- * "Path": "/",
100
- * "UserId": "AKIAIOSFODNN7EXAMPLE",
101
- * "UserName": "Bob"
96
+ * User: {
97
+ * Arn: "arn:aws:iam::123456789012:user/Bob",
98
+ * CreateDate: "2012-09-21T23:03:13Z",
99
+ * Path: "/",
100
+ * UserId: "AKIAIOSFODNN7EXAMPLE",
101
+ * UserName: "Bob"
102
102
  * }
103
103
  * }
104
104
  * *\/
105
- * // example id: ede000a1-9e4c-40db-bd0a-d4f95e41a6ab
106
105
  * ```
107
106
  *
107
+ * @public
108
108
  */
109
109
  export declare class GetUserCommand extends GetUserCommand_base {
110
110
  /** @internal type navigation helper, not in runtime. */
@@ -79,6 +79,7 @@ declare const GetUserPolicyCommand_base: {
79
79
  * @throws {@link IAMServiceException}
80
80
  * <p>Base exception class for all service exceptions from IAM service.</p>
81
81
  *
82
+ *
82
83
  * @public
83
84
  */
84
85
  export declare class GetUserPolicyCommand extends GetUserPolicyCommand_base {
@@ -87,36 +87,36 @@ declare const ListAccessKeysCommand_base: {
87
87
  * @throws {@link IAMServiceException}
88
88
  * <p>Base exception class for all service exceptions from IAM service.</p>
89
89
  *
90
- * @public
90
+ *
91
91
  * @example To list the access key IDs for an IAM user
92
92
  * ```javascript
93
93
  * // The following command lists the access keys IDs for the IAM user named Alice.
94
94
  * const input = {
95
- * "UserName": "Alice"
95
+ * UserName: "Alice"
96
96
  * };
97
97
  * const command = new ListAccessKeysCommand(input);
98
98
  * const response = await client.send(command);
99
- * /* response ==
99
+ * /* response is
100
100
  * {
101
- * "AccessKeyMetadata": [
101
+ * AccessKeyMetadata: [
102
102
  * {
103
- * "AccessKeyId": "AKIA111111111EXAMPLE",
104
- * "CreateDate": "2016-12-01T22:19:58Z",
105
- * "Status": "Active",
106
- * "UserName": "Alice"
103
+ * AccessKeyId: "AKIA111111111EXAMPLE",
104
+ * CreateDate: "2016-12-01T22:19:58Z",
105
+ * Status: "Active",
106
+ * UserName: "Alice"
107
107
  * },
108
108
  * {
109
- * "AccessKeyId": "AKIA222222222EXAMPLE",
110
- * "CreateDate": "2016-12-01T22:20:01Z",
111
- * "Status": "Active",
112
- * "UserName": "Alice"
109
+ * AccessKeyId: "AKIA222222222EXAMPLE",
110
+ * CreateDate: "2016-12-01T22:20:01Z",
111
+ * Status: "Active",
112
+ * UserName: "Alice"
113
113
  * }
114
114
  * ]
115
115
  * }
116
116
  * *\/
117
- * // example id: 15571463-ebea-411a-a021-1c76bd2a3625
118
117
  * ```
119
118
  *
119
+ * @public
120
120
  */
121
121
  export declare class ListAccessKeysCommand extends ListAccessKeysCommand_base {
122
122
  /** @internal type navigation helper, not in runtime. */
@@ -66,23 +66,23 @@ declare const ListAccountAliasesCommand_base: {
66
66
  * @throws {@link IAMServiceException}
67
67
  * <p>Base exception class for all service exceptions from IAM service.</p>
68
68
  *
69
- * @public
69
+ *
70
70
  * @example To list account aliases
71
71
  * ```javascript
72
72
  * // The following command lists the aliases for the current account.
73
- * const input = {};
73
+ * const input = { /* empty *\/ };
74
74
  * const command = new ListAccountAliasesCommand(input);
75
75
  * const response = await client.send(command);
76
- * /* response ==
76
+ * /* response is
77
77
  * {
78
- * "AccountAliases": [
78
+ * AccountAliases: [
79
79
  * "exmaple-corporation"
80
80
  * ]
81
81
  * }
82
82
  * *\/
83
- * // example id: e27b457a-16f9-4e05-a006-3df7b3472741
84
83
  * ```
85
84
  *
85
+ * @public
86
86
  */
87
87
  export declare class ListAccountAliasesCommand extends ListAccountAliasesCommand_base {
88
88
  /** @internal type navigation helper, not in runtime. */
@@ -85,6 +85,7 @@ declare const ListAttachedGroupPoliciesCommand_base: {
85
85
  * @throws {@link IAMServiceException}
86
86
  * <p>Base exception class for all service exceptions from IAM service.</p>
87
87
  *
88
+ *
88
89
  * @public
89
90
  */
90
91
  export declare class ListAttachedGroupPoliciesCommand extends ListAttachedGroupPoliciesCommand_base {
@@ -85,6 +85,7 @@ declare const ListAttachedRolePoliciesCommand_base: {
85
85
  * @throws {@link IAMServiceException}
86
86
  * <p>Base exception class for all service exceptions from IAM service.</p>
87
87
  *
88
+ *
88
89
  * @public
89
90
  */
90
91
  export declare class ListAttachedRolePoliciesCommand extends ListAttachedRolePoliciesCommand_base {
@@ -85,6 +85,7 @@ declare const ListAttachedUserPoliciesCommand_base: {
85
85
  * @throws {@link IAMServiceException}
86
86
  * <p>Base exception class for all service exceptions from IAM service.</p>
87
87
  *
88
+ *
88
89
  * @public
89
90
  */
90
91
  export declare class ListAttachedUserPoliciesCommand extends ListAttachedUserPoliciesCommand_base {
@@ -97,6 +97,7 @@ declare const ListEntitiesForPolicyCommand_base: {
97
97
  * @throws {@link IAMServiceException}
98
98
  * <p>Base exception class for all service exceptions from IAM service.</p>
99
99
  *
100
+ *
100
101
  * @public
101
102
  */
102
103
  export declare class ListEntitiesForPolicyCommand extends ListEntitiesForPolicyCommand_base {
@@ -76,26 +76,26 @@ declare const ListGroupPoliciesCommand_base: {
76
76
  * @throws {@link IAMServiceException}
77
77
  * <p>Base exception class for all service exceptions from IAM service.</p>
78
78
  *
79
- * @public
79
+ *
80
80
  * @example To list the in-line policies for an IAM group
81
81
  * ```javascript
82
82
  * // The following command lists the names of in-line policies that are embedded in the IAM group named Admins.
83
83
  * const input = {
84
- * "GroupName": "Admins"
84
+ * GroupName: "Admins"
85
85
  * };
86
86
  * const command = new ListGroupPoliciesCommand(input);
87
87
  * const response = await client.send(command);
88
- * /* response ==
88
+ * /* response is
89
89
  * {
90
- * "PolicyNames": [
90
+ * PolicyNames: [
91
91
  * "AdminRoot",
92
92
  * "KeyPolicy"
93
93
  * ]
94
94
  * }
95
95
  * *\/
96
- * // example id: 02de5095-2410-4d3a-ac1b-cc40234af68f
97
96
  * ```
98
97
  *
98
+ * @public
99
99
  */
100
100
  export declare class ListGroupPoliciesCommand extends ListGroupPoliciesCommand_base {
101
101
  /** @internal type navigation helper, not in runtime. */
@@ -72,43 +72,43 @@ declare const ListGroupsCommand_base: {
72
72
  * @throws {@link IAMServiceException}
73
73
  * <p>Base exception class for all service exceptions from IAM service.</p>
74
74
  *
75
- * @public
75
+ *
76
76
  * @example To list the IAM groups for the current account
77
77
  * ```javascript
78
78
  * // The following command lists the IAM groups in the current account:
79
- * const input = {};
79
+ * const input = { /* empty *\/ };
80
80
  * const command = new ListGroupsCommand(input);
81
81
  * const response = await client.send(command);
82
- * /* response ==
82
+ * /* response is
83
83
  * {
84
- * "Groups": [
84
+ * Groups: [
85
85
  * {
86
- * "Arn": "arn:aws:iam::123456789012:group/Admins",
87
- * "CreateDate": "2016-12-15T21:40:08.121Z",
88
- * "GroupId": "AGPA1111111111EXAMPLE",
89
- * "GroupName": "Admins",
90
- * "Path": "/division_abc/subdivision_xyz/"
86
+ * Arn: "arn:aws:iam::123456789012:group/Admins",
87
+ * CreateDate: "2016-12-15T21:40:08.121Z",
88
+ * GroupId: "AGPA1111111111EXAMPLE",
89
+ * GroupName: "Admins",
90
+ * Path: "/division_abc/subdivision_xyz/"
91
91
  * },
92
92
  * {
93
- * "Arn": "arn:aws:iam::123456789012:group/division_abc/subdivision_xyz/product_1234/engineering/Test",
94
- * "CreateDate": "2016-11-30T14:10:01.156Z",
95
- * "GroupId": "AGP22222222222EXAMPLE",
96
- * "GroupName": "Test",
97
- * "Path": "/division_abc/subdivision_xyz/product_1234/engineering/"
93
+ * Arn: "arn:aws:iam::123456789012:group/division_abc/subdivision_xyz/product_1234/engineering/Test",
94
+ * CreateDate: "2016-11-30T14:10:01.156Z",
95
+ * GroupId: "AGP22222222222EXAMPLE",
96
+ * GroupName: "Test",
97
+ * Path: "/division_abc/subdivision_xyz/product_1234/engineering/"
98
98
  * },
99
99
  * {
100
- * "Arn": "arn:aws:iam::123456789012:group/division_abc/subdivision_xyz/product_1234/Managers",
101
- * "CreateDate": "2016-06-12T20:14:52.032Z",
102
- * "GroupId": "AGPI3333333333EXAMPLE",
103
- * "GroupName": "Managers",
104
- * "Path": "/division_abc/subdivision_xyz/product_1234/"
100
+ * Arn: "arn:aws:iam::123456789012:group/division_abc/subdivision_xyz/product_1234/Managers",
101
+ * CreateDate: "2016-06-12T20:14:52.032Z",
102
+ * GroupId: "AGPI3333333333EXAMPLE",
103
+ * GroupName: "Managers",
104
+ * Path: "/division_abc/subdivision_xyz/product_1234/"
105
105
  * }
106
106
  * ]
107
107
  * }
108
108
  * *\/
109
- * // example id: b3ab1380-2a21-42fb-8e85-503f65512c66
110
109
  * ```
111
110
  *
111
+ * @public
112
112
  */
113
113
  export declare class ListGroupsCommand extends ListGroupsCommand_base {
114
114
  /** @internal type navigation helper, not in runtime. */
@@ -76,38 +76,38 @@ declare const ListGroupsForUserCommand_base: {
76
76
  * @throws {@link IAMServiceException}
77
77
  * <p>Base exception class for all service exceptions from IAM service.</p>
78
78
  *
79
- * @public
79
+ *
80
80
  * @example To list the groups that an IAM user belongs to
81
81
  * ```javascript
82
82
  * // The following command displays the groups that the IAM user named Bob belongs to.
83
83
  * const input = {
84
- * "UserName": "Bob"
84
+ * UserName: "Bob"
85
85
  * };
86
86
  * const command = new ListGroupsForUserCommand(input);
87
87
  * const response = await client.send(command);
88
- * /* response ==
88
+ * /* response is
89
89
  * {
90
- * "Groups": [
90
+ * Groups: [
91
91
  * {
92
- * "Arn": "arn:aws:iam::123456789012:group/division_abc/subdivision_xyz/product_1234/engineering/Test",
93
- * "CreateDate": "2016-11-30T14:10:01.156Z",
94
- * "GroupId": "AGP2111111111EXAMPLE",
95
- * "GroupName": "Test",
96
- * "Path": "/division_abc/subdivision_xyz/product_1234/engineering/"
92
+ * Arn: "arn:aws:iam::123456789012:group/division_abc/subdivision_xyz/product_1234/engineering/Test",
93
+ * CreateDate: "2016-11-30T14:10:01.156Z",
94
+ * GroupId: "AGP2111111111EXAMPLE",
95
+ * GroupName: "Test",
96
+ * Path: "/division_abc/subdivision_xyz/product_1234/engineering/"
97
97
  * },
98
98
  * {
99
- * "Arn": "arn:aws:iam::123456789012:group/division_abc/subdivision_xyz/product_1234/Managers",
100
- * "CreateDate": "2016-06-12T20:14:52.032Z",
101
- * "GroupId": "AGPI222222222SEXAMPLE",
102
- * "GroupName": "Managers",
103
- * "Path": "/division_abc/subdivision_xyz/product_1234/"
99
+ * Arn: "arn:aws:iam::123456789012:group/division_abc/subdivision_xyz/product_1234/Managers",
100
+ * CreateDate: "2016-06-12T20:14:52.032Z",
101
+ * GroupId: "AGPI222222222SEXAMPLE",
102
+ * GroupName: "Managers",
103
+ * Path: "/division_abc/subdivision_xyz/product_1234/"
104
104
  * }
105
105
  * ]
106
106
  * }
107
107
  * *\/
108
- * // example id: 278ec2ee-fc28-4136-83fb-433af0ae46a2
109
108
  * ```
110
109
  *
110
+ * @public
111
111
  */
112
112
  export declare class ListGroupsForUserCommand extends ListGroupsForUserCommand_base {
113
113
  /** @internal type navigation helper, not in runtime. */
@@ -73,6 +73,7 @@ declare const ListInstanceProfileTagsCommand_base: {
73
73
  * @throws {@link IAMServiceException}
74
74
  * <p>Base exception class for all service exceptions from IAM service.</p>
75
75
  *
76
+ *
76
77
  * @public
77
78
  */
78
79
  export declare class ListInstanceProfileTagsCommand extends ListInstanceProfileTagsCommand_base {
@@ -111,6 +111,7 @@ declare const ListInstanceProfilesCommand_base: {
111
111
  * @throws {@link IAMServiceException}
112
112
  * <p>Base exception class for all service exceptions from IAM service.</p>
113
113
  *
114
+ *
114
115
  * @public
115
116
  */
116
117
  export declare class ListInstanceProfilesCommand extends ListInstanceProfilesCommand_base {
@@ -111,6 +111,7 @@ declare const ListInstanceProfilesForRoleCommand_base: {
111
111
  * @throws {@link IAMServiceException}
112
112
  * <p>Base exception class for all service exceptions from IAM service.</p>
113
113
  *
114
+ *
114
115
  * @public
115
116
  */
116
117
  export declare class ListInstanceProfilesForRoleCommand extends ListInstanceProfilesForRoleCommand_base {
@@ -77,6 +77,7 @@ declare const ListMFADeviceTagsCommand_base: {
77
77
  * @throws {@link IAMServiceException}
78
78
  * <p>Base exception class for all service exceptions from IAM service.</p>
79
79
  *
80
+ *
80
81
  * @public
81
82
  */
82
83
  export declare class ListMFADeviceTagsCommand extends ListMFADeviceTagsCommand_base {
@@ -77,6 +77,7 @@ declare const ListMFADevicesCommand_base: {
77
77
  * @throws {@link IAMServiceException}
78
78
  * <p>Base exception class for all service exceptions from IAM service.</p>
79
79
  *
80
+ *
80
81
  * @public
81
82
  */
82
83
  export declare class ListMFADevicesCommand extends ListMFADevicesCommand_base {
@@ -79,6 +79,7 @@ declare const ListOpenIDConnectProviderTagsCommand_base: {
79
79
  * @throws {@link IAMServiceException}
80
80
  * <p>Base exception class for all service exceptions from IAM service.</p>
81
81
  *
82
+ *
82
83
  * @public
83
84
  */
84
85
  export declare class ListOpenIDConnectProviderTagsCommand extends ListOpenIDConnectProviderTagsCommand_base {
@@ -65,6 +65,7 @@ declare const ListOpenIDConnectProvidersCommand_base: {
65
65
  * @throws {@link IAMServiceException}
66
66
  * <p>Base exception class for all service exceptions from IAM service.</p>
67
67
  *
68
+ *
68
69
  * @public
69
70
  */
70
71
  export declare class ListOpenIDConnectProvidersCommand extends ListOpenIDConnectProvidersCommand_base {
@@ -72,24 +72,24 @@ declare const ListOrganizationsFeaturesCommand_base: {
72
72
  * @throws {@link IAMServiceException}
73
73
  * <p>Base exception class for all service exceptions from IAM service.</p>
74
74
  *
75
- * @public
75
+ *
76
76
  * @example To list the centralized root access features enabled for your organization
77
77
  * ```javascript
78
78
  * // he following command lists the centralized root access features enabled for your organization.
79
- * const input = {};
79
+ * const input = { /* empty *\/ };
80
80
  * const command = new ListOrganizationsFeaturesCommand(input);
81
81
  * const response = await client.send(command);
82
- * /* response ==
82
+ * /* response is
83
83
  * {
84
- * "EnabledFeatures": [
84
+ * EnabledFeatures: [
85
85
  * "RootCredentialsManagement"
86
86
  * ],
87
- * "OrganizationId": "o-aa111bb222"
87
+ * OrganizationId: "o-aa111bb222"
88
88
  * }
89
89
  * *\/
90
- * // example id: to-list-the-centralized-root-access-features-enabled-for-your-organization-1730908832557
91
90
  * ```
92
91
  *
92
+ * @public
93
93
  */
94
94
  export declare class ListOrganizationsFeaturesCommand extends ListOrganizationsFeaturesCommand_base {
95
95
  /** @internal type navigation helper, not in runtime. */
@@ -100,6 +100,7 @@ declare const ListPoliciesCommand_base: {
100
100
  * @throws {@link IAMServiceException}
101
101
  * <p>Base exception class for all service exceptions from IAM service.</p>
102
102
  *
103
+ *
103
104
  * @public
104
105
  */
105
106
  export declare class ListPoliciesCommand extends ListPoliciesCommand_base {
@@ -120,55 +120,55 @@ declare const ListPoliciesGrantingServiceAccessCommand_base: {
120
120
  * @throws {@link IAMServiceException}
121
121
  * <p>Base exception class for all service exceptions from IAM service.</p>
122
122
  *
123
- * @public
123
+ *
124
124
  * @example To list policies that allow access to a service
125
125
  * ```javascript
126
126
  * // The following operation lists policies that allow ExampleUser01 to access IAM or EC2.
127
127
  * const input = {
128
- * "Arn": "arn:aws:iam::123456789012:user/ExampleUser01",
129
- * "ServiceNamespaces": [
128
+ * Arn: "arn:aws:iam::123456789012:user/ExampleUser01",
129
+ * ServiceNamespaces: [
130
130
  * "iam",
131
131
  * "ec2"
132
132
  * ]
133
133
  * };
134
134
  * const command = new ListPoliciesGrantingServiceAccessCommand(input);
135
135
  * const response = await client.send(command);
136
- * /* response ==
136
+ * /* response is
137
137
  * {
138
- * "IsTruncated": false,
139
- * "PoliciesGrantingServiceAccess": [
138
+ * IsTruncated: false,
139
+ * PoliciesGrantingServiceAccess: [
140
140
  * {
141
- * "Policies": [
141
+ * Policies: [
142
142
  * {
143
- * "PolicyArn": "arn:aws:iam::123456789012:policy/ExampleIamPolicy",
144
- * "PolicyName": "ExampleIamPolicy",
145
- * "PolicyType": "MANAGED"
143
+ * PolicyArn: "arn:aws:iam::123456789012:policy/ExampleIamPolicy",
144
+ * PolicyName: "ExampleIamPolicy",
145
+ * PolicyType: "MANAGED"
146
146
  * },
147
147
  * {
148
- * "EntityName": "AWSExampleGroup1",
149
- * "EntityType": "GROUP",
150
- * "PolicyName": "ExampleGroup1Policy",
151
- * "PolicyType": "INLINE"
148
+ * EntityName: "AWSExampleGroup1",
149
+ * EntityType: "GROUP",
150
+ * PolicyName: "ExampleGroup1Policy",
151
+ * PolicyType: "INLINE"
152
152
  * }
153
153
  * ],
154
- * "ServiceNamespace": "iam"
154
+ * ServiceNamespace: "iam"
155
155
  * },
156
156
  * {
157
- * "Policies": [
157
+ * Policies: [
158
158
  * {
159
- * "PolicyArn": "arn:aws:iam::123456789012:policy/ExampleEc2Policy",
160
- * "PolicyName": "ExampleEc2Policy",
161
- * "PolicyType": "MANAGED"
159
+ * PolicyArn: "arn:aws:iam::123456789012:policy/ExampleEc2Policy",
160
+ * PolicyName: "ExampleEc2Policy",
161
+ * PolicyType: "MANAGED"
162
162
  * }
163
163
  * ],
164
- * "ServiceNamespace": "ec2"
164
+ * ServiceNamespace: "ec2"
165
165
  * }
166
166
  * ]
167
167
  * }
168
168
  * *\/
169
- * // example id: listpoliciesaccess-user-1541698749508
170
169
  * ```
171
170
  *
171
+ * @public
172
172
  */
173
173
  export declare class ListPoliciesGrantingServiceAccessCommand extends ListPoliciesGrantingServiceAccessCommand_base {
174
174
  /** @internal type navigation helper, not in runtime. */