@aws-sdk/client-iam 3.289.0 → 3.291.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 (165) hide show
  1. package/dist-cjs/endpoint/ruleset.js +3 -3
  2. package/dist-es/endpoint/ruleset.js +3 -3
  3. package/dist-types/IAM.d.ts +36 -36
  4. package/dist-types/commands/AddClientIDToOpenIDConnectProviderCommand.d.ts +17 -0
  5. package/dist-types/commands/AddRoleToInstanceProfileCommand.d.ts +23 -0
  6. package/dist-types/commands/AddUserToGroupCommand.d.ts +13 -0
  7. package/dist-types/commands/AttachGroupPolicyCommand.d.ts +21 -0
  8. package/dist-types/commands/AttachRolePolicyCommand.d.ts +27 -0
  9. package/dist-types/commands/AttachUserPolicyCommand.d.ts +21 -0
  10. package/dist-types/commands/ChangePasswordCommand.d.ts +29 -2
  11. package/dist-types/commands/CreateAccessKeyCommand.d.ts +13 -0
  12. package/dist-types/commands/CreateAccountAliasCommand.d.ts +13 -0
  13. package/dist-types/commands/CreateGroupCommand.d.ts +17 -0
  14. package/dist-types/commands/CreateInstanceProfileCommand.d.ts +21 -0
  15. package/dist-types/commands/CreateLoginProfileCommand.d.ts +21 -0
  16. package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +24 -0
  17. package/dist-types/commands/CreatePolicyCommand.d.ts +25 -0
  18. package/dist-types/commands/CreatePolicyVersionCommand.d.ts +21 -0
  19. package/dist-types/commands/CreateRoleCommand.d.ts +25 -0
  20. package/dist-types/commands/CreateSAMLProviderCommand.d.ts +21 -0
  21. package/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +17 -0
  22. package/dist-types/commands/CreateServiceSpecificCredentialCommand.d.ts +12 -0
  23. package/dist-types/commands/CreateUserCommand.d.ts +25 -0
  24. package/dist-types/commands/CreateVirtualMFADeviceCommand.d.ts +21 -0
  25. package/dist-types/commands/DeactivateMFADeviceCommand.d.ts +19 -0
  26. package/dist-types/commands/DeleteAccessKeyCommand.d.ts +13 -0
  27. package/dist-types/commands/DeleteAccountAliasCommand.d.ts +13 -0
  28. package/dist-types/commands/DeleteAccountPasswordPolicyCommand.d.ts +13 -0
  29. package/dist-types/commands/DeleteGroupCommand.d.ts +17 -0
  30. package/dist-types/commands/DeleteGroupPolicyCommand.d.ts +13 -0
  31. package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +17 -0
  32. package/dist-types/commands/DeleteLoginProfileCommand.d.ts +19 -0
  33. package/dist-types/commands/DeleteOpenIDConnectProviderCommand.d.ts +13 -0
  34. package/dist-types/commands/DeletePolicyCommand.d.ts +21 -0
  35. package/dist-types/commands/DeletePolicyVersionCommand.d.ts +21 -0
  36. package/dist-types/commands/DeleteRoleCommand.d.ts +27 -0
  37. package/dist-types/commands/DeleteRolePermissionsBoundaryCommand.d.ts +15 -0
  38. package/dist-types/commands/DeleteRolePolicyCommand.d.ts +19 -0
  39. package/dist-types/commands/DeleteSAMLProviderCommand.d.ts +17 -0
  40. package/dist-types/commands/DeleteSSHPublicKeyCommand.d.ts +5 -0
  41. package/dist-types/commands/DeleteServerCertificateCommand.d.ts +17 -0
  42. package/dist-types/commands/DeleteServiceLinkedRoleCommand.d.ts +13 -0
  43. package/dist-types/commands/DeleteServiceSpecificCredentialCommand.d.ts +5 -0
  44. package/dist-types/commands/DeleteSigningCertificateCommand.d.ts +13 -0
  45. package/dist-types/commands/DeleteUserCommand.d.ts +21 -0
  46. package/dist-types/commands/DeleteUserPermissionsBoundaryCommand.d.ts +9 -0
  47. package/dist-types/commands/DeleteUserPolicyCommand.d.ts +13 -0
  48. package/dist-types/commands/DeleteVirtualMFADeviceCommand.d.ts +17 -0
  49. package/dist-types/commands/DetachGroupPolicyCommand.d.ts +17 -0
  50. package/dist-types/commands/DetachRolePolicyCommand.d.ts +23 -0
  51. package/dist-types/commands/DetachUserPolicyCommand.d.ts +17 -0
  52. package/dist-types/commands/EnableMFADeviceCommand.d.ts +27 -0
  53. package/dist-types/commands/GenerateCredentialReportCommand.d.ts +9 -0
  54. package/dist-types/commands/GenerateOrganizationsAccessReportCommand.d.ts +10 -6
  55. package/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +9 -0
  56. package/dist-types/commands/GetAccessKeyLastUsedCommand.d.ts +5 -0
  57. package/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +5 -0
  58. package/dist-types/commands/GetAccountPasswordPolicyCommand.d.ts +9 -0
  59. package/dist-types/commands/GetAccountSummaryCommand.d.ts +5 -0
  60. package/dist-types/commands/GetContextKeysForCustomPolicyCommand.d.ts +5 -0
  61. package/dist-types/commands/GetContextKeysForPrincipalPolicyCommand.d.ts +9 -0
  62. package/dist-types/commands/GetCredentialReportCommand.d.ts +18 -0
  63. package/dist-types/commands/GetGroupCommand.d.ts +9 -0
  64. package/dist-types/commands/GetGroupPolicyCommand.d.ts +9 -0
  65. package/dist-types/commands/GetInstanceProfileCommand.d.ts +9 -0
  66. package/dist-types/commands/GetLoginProfileCommand.d.ts +9 -0
  67. package/dist-types/commands/GetOpenIDConnectProviderCommand.d.ts +13 -0
  68. package/dist-types/commands/GetOrganizationsAccessReportCommand.d.ts +10 -5
  69. package/dist-types/commands/GetPolicyCommand.d.ts +13 -0
  70. package/dist-types/commands/GetPolicyVersionCommand.d.ts +13 -0
  71. package/dist-types/commands/GetRoleCommand.d.ts +9 -0
  72. package/dist-types/commands/GetRolePolicyCommand.d.ts +9 -0
  73. package/dist-types/commands/GetSAMLProviderCommand.d.ts +13 -0
  74. package/dist-types/commands/GetSSHPublicKeyCommand.d.ts +9 -0
  75. package/dist-types/commands/GetServerCertificateCommand.d.ts +9 -0
  76. package/dist-types/commands/GetServiceLastAccessedDetailsCommand.d.ts +9 -0
  77. package/dist-types/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +9 -0
  78. package/dist-types/commands/GetServiceLinkedRoleDeletionStatusCommand.d.ts +13 -0
  79. package/dist-types/commands/GetUserCommand.d.ts +9 -0
  80. package/dist-types/commands/GetUserPolicyCommand.d.ts +9 -0
  81. package/dist-types/commands/ListAccessKeysCommand.d.ts +11 -3
  82. package/dist-types/commands/ListAccountAliasesCommand.d.ts +5 -0
  83. package/dist-types/commands/ListAttachedGroupPoliciesCommand.d.ts +13 -0
  84. package/dist-types/commands/ListAttachedRolePoliciesCommand.d.ts +13 -0
  85. package/dist-types/commands/ListAttachedUserPoliciesCommand.d.ts +13 -0
  86. package/dist-types/commands/ListEntitiesForPolicyCommand.d.ts +13 -0
  87. package/dist-types/commands/ListGroupPoliciesCommand.d.ts +9 -0
  88. package/dist-types/commands/ListGroupsCommand.d.ts +5 -0
  89. package/dist-types/commands/ListGroupsForUserCommand.d.ts +9 -0
  90. package/dist-types/commands/ListInstanceProfileTagsCommand.d.ts +9 -0
  91. package/dist-types/commands/ListInstanceProfilesCommand.d.ts +5 -0
  92. package/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +9 -0
  93. package/dist-types/commands/ListMFADeviceTagsCommand.d.ts +13 -0
  94. package/dist-types/commands/ListMFADevicesCommand.d.ts +9 -0
  95. package/dist-types/commands/ListOpenIDConnectProviderTagsCommand.d.ts +13 -0
  96. package/dist-types/commands/ListOpenIDConnectProvidersCommand.d.ts +5 -0
  97. package/dist-types/commands/ListPoliciesCommand.d.ts +5 -0
  98. package/dist-types/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +9 -0
  99. package/dist-types/commands/ListPolicyTagsCommand.d.ts +13 -0
  100. package/dist-types/commands/ListPolicyVersionsCommand.d.ts +13 -0
  101. package/dist-types/commands/ListRolePoliciesCommand.d.ts +9 -0
  102. package/dist-types/commands/ListRoleTagsCommand.d.ts +9 -0
  103. package/dist-types/commands/ListRolesCommand.d.ts +5 -0
  104. package/dist-types/commands/ListSAMLProviderTagsCommand.d.ts +13 -0
  105. package/dist-types/commands/ListSAMLProvidersCommand.d.ts +5 -0
  106. package/dist-types/commands/ListSSHPublicKeysCommand.d.ts +5 -0
  107. package/dist-types/commands/ListServerCertificateTagsCommand.d.ts +9 -0
  108. package/dist-types/commands/ListServerCertificatesCommand.d.ts +5 -0
  109. package/dist-types/commands/ListServiceSpecificCredentialsCommand.d.ts +8 -0
  110. package/dist-types/commands/ListSigningCertificatesCommand.d.ts +11 -2
  111. package/dist-types/commands/ListUserPoliciesCommand.d.ts +9 -0
  112. package/dist-types/commands/ListUserTagsCommand.d.ts +9 -0
  113. package/dist-types/commands/ListUsersCommand.d.ts +5 -0
  114. package/dist-types/commands/ListVirtualMFADevicesCommand.d.ts +1 -0
  115. package/dist-types/commands/PutGroupPolicyCommand.d.ts +17 -0
  116. package/dist-types/commands/PutRolePermissionsBoundaryCommand.d.ts +23 -0
  117. package/dist-types/commands/PutRolePolicyCommand.d.ts +23 -0
  118. package/dist-types/commands/PutUserPermissionsBoundaryCommand.d.ts +22 -5
  119. package/dist-types/commands/PutUserPolicyCommand.d.ts +17 -0
  120. package/dist-types/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +13 -0
  121. package/dist-types/commands/RemoveRoleFromInstanceProfileCommand.d.ts +19 -0
  122. package/dist-types/commands/RemoveUserFromGroupCommand.d.ts +13 -0
  123. package/dist-types/commands/ResetServiceSpecificCredentialCommand.d.ts +5 -0
  124. package/dist-types/commands/ResyncMFADeviceCommand.d.ts +17 -0
  125. package/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +17 -0
  126. package/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +5 -0
  127. package/dist-types/commands/SimulateCustomPolicyCommand.d.ts +9 -0
  128. package/dist-types/commands/SimulatePrincipalPolicyCommand.d.ts +13 -0
  129. package/dist-types/commands/TagInstanceProfileCommand.d.ts +21 -0
  130. package/dist-types/commands/TagMFADeviceCommand.d.ts +21 -0
  131. package/dist-types/commands/TagOpenIDConnectProviderCommand.d.ts +22 -1
  132. package/dist-types/commands/TagPolicyCommand.d.ts +21 -0
  133. package/dist-types/commands/TagRoleCommand.d.ts +21 -0
  134. package/dist-types/commands/TagSAMLProviderCommand.d.ts +21 -0
  135. package/dist-types/commands/TagServerCertificateCommand.d.ts +21 -0
  136. package/dist-types/commands/TagUserCommand.d.ts +22 -1
  137. package/dist-types/commands/UntagInstanceProfileCommand.d.ts +17 -0
  138. package/dist-types/commands/UntagMFADeviceCommand.d.ts +17 -0
  139. package/dist-types/commands/UntagOpenIDConnectProviderCommand.d.ts +17 -0
  140. package/dist-types/commands/UntagPolicyCommand.d.ts +17 -0
  141. package/dist-types/commands/UntagRoleCommand.d.ts +13 -0
  142. package/dist-types/commands/UntagSAMLProviderCommand.d.ts +17 -0
  143. package/dist-types/commands/UntagServerCertificateCommand.d.ts +17 -0
  144. package/dist-types/commands/UntagUserCommand.d.ts +13 -0
  145. package/dist-types/commands/UpdateAccessKeyCommand.d.ts +15 -3
  146. package/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +17 -0
  147. package/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +23 -0
  148. package/dist-types/commands/UpdateGroupCommand.d.ts +17 -0
  149. package/dist-types/commands/UpdateLoginProfileCommand.d.ts +23 -0
  150. package/dist-types/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +13 -0
  151. package/dist-types/commands/UpdateRoleCommand.d.ts +15 -0
  152. package/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +15 -0
  153. package/dist-types/commands/UpdateSAMLProviderCommand.d.ts +17 -0
  154. package/dist-types/commands/UpdateSSHPublicKeyCommand.d.ts +5 -0
  155. package/dist-types/commands/UpdateServerCertificateCommand.d.ts +17 -0
  156. package/dist-types/commands/UpdateServiceSpecificCredentialCommand.d.ts +5 -0
  157. package/dist-types/commands/UpdateSigningCertificateCommand.d.ts +17 -4
  158. package/dist-types/commands/UpdateUserCommand.d.ts +29 -2
  159. package/dist-types/commands/UploadSSHPublicKeyCommand.d.ts +20 -0
  160. package/dist-types/commands/UploadServerCertificateCommand.d.ts +29 -0
  161. package/dist-types/commands/UploadSigningCertificateCommand.d.ts +30 -2
  162. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  163. package/dist-types/models/models_0.d.ts +11 -10
  164. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  165. package/package.json +30 -30
@@ -16,8 +16,8 @@ export interface UpdateUserCommandOutput extends __MetadataBearer {
16
16
  /**
17
17
  * <p>Updates the name and/or the path of the specified IAM user.</p>
18
18
  * <important>
19
- * <p> You should understand the implications of changing an IAM user's path or name.
20
- * For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_users_manage.html#id_users_renaming">Renaming an IAM
19
+ * <p> You should understand the implications of changing an IAM user's path or
20
+ * name. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_users_manage.html#id_users_renaming">Renaming an IAM
21
21
  * user</a> and <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_groups_manage_rename.html">Renaming an IAM
22
22
  * group</a> in the <i>IAM User Guide</i>.</p>
23
23
  * </important>
@@ -41,6 +41,33 @@ export interface UpdateUserCommandOutput extends __MetadataBearer {
41
41
  * @see {@link UpdateUserCommandOutput} for command's `response` shape.
42
42
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
43
43
  *
44
+ * @throws {@link ConcurrentModificationException} (client fault)
45
+ * <p>The request was rejected because multiple requests to change this object were submitted
46
+ * simultaneously. Wait a few minutes and submit your request again.</p>
47
+ *
48
+ * @throws {@link EntityAlreadyExistsException} (client fault)
49
+ * <p>The request was rejected because it attempted to create a resource that already
50
+ * exists.</p>
51
+ *
52
+ * @throws {@link EntityTemporarilyUnmodifiableException} (client fault)
53
+ * <p>The request was rejected because it referenced an entity that is temporarily unmodifiable,
54
+ * such as a user name that was deleted and then recreated. The error indicates that the request
55
+ * is likely to succeed if you try again after waiting several minutes. The error message
56
+ * describes the entity.</p>
57
+ *
58
+ * @throws {@link LimitExceededException} (client fault)
59
+ * <p>The request was rejected because it attempted to create resources beyond the current
60
+ * Amazon Web Services account limits. The error message describes the limit exceeded.</p>
61
+ *
62
+ * @throws {@link NoSuchEntityException} (client fault)
63
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
64
+ * error message describes the resource.</p>
65
+ *
66
+ * @throws {@link ServiceFailureException} (server fault)
67
+ * <p>The request processing has failed because of an unknown error, exception or
68
+ * failure.</p>
69
+ *
70
+ *
44
71
  * @example To change an IAM user's name
45
72
  * ```javascript
46
73
  * // The following command changes the name of the IAM user Bob to Robert. It does not change the user's path.
@@ -33,6 +33,26 @@ export interface UploadSSHPublicKeyCommandOutput extends UploadSSHPublicKeyRespo
33
33
  * @see {@link UploadSSHPublicKeyCommandOutput} for command's `response` shape.
34
34
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
35
35
  *
36
+ * @throws {@link DuplicateSSHPublicKeyException} (client fault)
37
+ * <p>The request was rejected because the SSH public key is already associated with the
38
+ * specified IAM user.</p>
39
+ *
40
+ * @throws {@link InvalidPublicKeyException} (client fault)
41
+ * <p>The request was rejected because the public key is malformed or otherwise invalid.</p>
42
+ *
43
+ * @throws {@link LimitExceededException} (client fault)
44
+ * <p>The request was rejected because it attempted to create resources beyond the current
45
+ * Amazon Web Services account limits. The error message describes the limit exceeded.</p>
46
+ *
47
+ * @throws {@link NoSuchEntityException} (client fault)
48
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
49
+ * error message describes the resource.</p>
50
+ *
51
+ * @throws {@link UnrecognizedPublicKeyEncodingException} (client fault)
52
+ * <p>The request was rejected because the public key encoding format is unsupported or
53
+ * unrecognized.</p>
54
+ *
55
+ *
36
56
  */
37
57
  export declare class UploadSSHPublicKeyCommand extends $Command<UploadSSHPublicKeyCommandInput, UploadSSHPublicKeyCommandOutput, IAMClientResolvedConfig> {
38
58
  readonly input: UploadSSHPublicKeyCommandInput;
@@ -52,6 +52,35 @@ export interface UploadServerCertificateCommandOutput extends UploadServerCertif
52
52
  * @see {@link UploadServerCertificateCommandOutput} for command's `response` shape.
53
53
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
54
54
  *
55
+ * @throws {@link ConcurrentModificationException} (client fault)
56
+ * <p>The request was rejected because multiple requests to change this object were submitted
57
+ * simultaneously. Wait a few minutes and submit your request again.</p>
58
+ *
59
+ * @throws {@link EntityAlreadyExistsException} (client fault)
60
+ * <p>The request was rejected because it attempted to create a resource that already
61
+ * exists.</p>
62
+ *
63
+ * @throws {@link InvalidInputException} (client fault)
64
+ * <p>The request was rejected because an invalid or out-of-range value was supplied for an
65
+ * input parameter.</p>
66
+ *
67
+ * @throws {@link KeyPairMismatchException} (client fault)
68
+ * <p>The request was rejected because the public key certificate and the private key do not
69
+ * match.</p>
70
+ *
71
+ * @throws {@link LimitExceededException} (client fault)
72
+ * <p>The request was rejected because it attempted to create resources beyond the current
73
+ * Amazon Web Services account limits. The error message describes the limit exceeded.</p>
74
+ *
75
+ * @throws {@link MalformedCertificateException} (client fault)
76
+ * <p>The request was rejected because the certificate was malformed or expired. The error
77
+ * message describes the specific error.</p>
78
+ *
79
+ * @throws {@link ServiceFailureException} (server fault)
80
+ * <p>The request processing has failed because of an unknown error, exception or
81
+ * failure.</p>
82
+ *
83
+ *
55
84
  * @example To upload a server certificate to your AWS account
56
85
  * ```javascript
57
86
  * // The following upload-server-certificate command uploads a server certificate to your AWS account:
@@ -24,8 +24,8 @@ export interface UploadSigningCertificateCommandOutput extends UploadSigningCert
24
24
  * <p>If the <code>UserName</code> is not specified, the IAM user name is determined
25
25
  * implicitly based on the Amazon Web Services access key ID used to sign the request. This operation
26
26
  * works for access keys under the Amazon Web Services account. Consequently, you can use this operation
27
- * to manage Amazon Web Services account root user credentials even if the Amazon Web Services account has no
28
- * associated users.</p>
27
+ * to manage Amazon Web Services account root user credentials even if the Amazon Web Services account has no associated
28
+ * users.</p>
29
29
  * <note>
30
30
  * <p>Because the body of an X.509 certificate can be large, you should use POST rather
31
31
  * than GET when calling <code>UploadSigningCertificate</code>. For information about
@@ -48,6 +48,34 @@ export interface UploadSigningCertificateCommandOutput extends UploadSigningCert
48
48
  * @see {@link UploadSigningCertificateCommandOutput} for command's `response` shape.
49
49
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
50
50
  *
51
+ * @throws {@link DuplicateCertificateException} (client fault)
52
+ * <p>The request was rejected because the same certificate is associated with an IAM user in
53
+ * the account.</p>
54
+ *
55
+ * @throws {@link EntityAlreadyExistsException} (client fault)
56
+ * <p>The request was rejected because it attempted to create a resource that already
57
+ * exists.</p>
58
+ *
59
+ * @throws {@link InvalidCertificateException} (client fault)
60
+ * <p>The request was rejected because the certificate is invalid.</p>
61
+ *
62
+ * @throws {@link LimitExceededException} (client fault)
63
+ * <p>The request was rejected because it attempted to create resources beyond the current
64
+ * Amazon Web Services account limits. The error message describes the limit exceeded.</p>
65
+ *
66
+ * @throws {@link MalformedCertificateException} (client fault)
67
+ * <p>The request was rejected because the certificate was malformed or expired. The error
68
+ * message describes the specific error.</p>
69
+ *
70
+ * @throws {@link NoSuchEntityException} (client fault)
71
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
72
+ * error message describes the resource.</p>
73
+ *
74
+ * @throws {@link ServiceFailureException} (server fault)
75
+ * <p>The request processing has failed because of an unknown error, exception or
76
+ * failure.</p>
77
+ *
78
+ *
51
79
  * @example To upload a signing certificate for an IAM user
52
80
  * ```javascript
53
81
  * // The following command uploads a signing certificate for the IAM user named Bob.
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
12
12
  defaultSigningName: string;
13
13
  };
14
14
  export interface EndpointParameters extends __EndpointParameters {
15
- Region: string;
15
+ Region?: string;
16
16
  UseDualStack?: boolean;
17
17
  UseFIPS?: boolean;
18
18
  Endpoint?: string;
@@ -35,7 +35,7 @@ export interface AccessDetail {
35
35
  * <p>The path of the Organizations entity (root, organizational unit, or account) from which an
36
36
  * authenticated principal last attempted to access the service. Amazon Web Services does not report
37
37
  * unauthenticated requests.</p>
38
- * <p>This field is null if no principals (IAM users, IAM roles, or root users) in the
38
+ * <p>This field is null if no principals (IAM users, IAM roles, or root user) in the
39
39
  * reported Organizations entity attempted to access the service within the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period">tracking period</a>.</p>
40
40
  */
41
41
  EntityPath?: string;
@@ -48,7 +48,7 @@ export interface AccessDetail {
48
48
  */
49
49
  LastAuthenticatedTime?: Date;
50
50
  /**
51
- * <p>The number of accounts with authenticated principals (root users, IAM users, and IAM
51
+ * <p>The number of accounts with authenticated principals (root user, IAM users, and IAM
52
52
  * roles) that attempted to access the service in the tracking period.</p>
53
53
  */
54
54
  TotalAuthenticatedEntities?: number;
@@ -200,8 +200,8 @@ export declare class InvalidInputException extends __BaseException {
200
200
  constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
201
201
  }
202
202
  /**
203
- * <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
204
- * account limits. The error message describes the limit exceeded.</p>
203
+ * <p>The request was rejected because it attempted to create resources beyond the current
204
+ * Amazon Web Services account limits. The error message describes the limit exceeded.</p>
205
205
  */
206
206
  export declare class LimitExceededException extends __BaseException {
207
207
  readonly name: "LimitExceededException";
@@ -617,7 +617,7 @@ export interface CreateInstanceProfileRequest {
617
617
  * date and time and the Region in which the role was last used. Activity is only reported for
618
618
  * the trailing 400 days. This period can be shorter if your Region began supporting these
619
619
  * features within the last year. The role might have been used more than 400 days ago. For
620
- * more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#access-advisor_tracking-period">Regions where data is tracked</a> in the <i>IAM User
620
+ * more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#access-advisor_tracking-period">Regions where data is tracked</a> in the <i>IAM user
621
621
  * Guide</i>.</p>
622
622
  * <p>This data type is returned as a response element in the <a>GetRole</a> and
623
623
  * <a>GetAccountAuthorizationDetails</a> operations.</p>
@@ -698,7 +698,7 @@ export interface Role {
698
698
  * date and time and the Region in which the role was last used. Activity is only reported for
699
699
  * the trailing 400 days. This period can be shorter if your Region began supporting these
700
700
  * features within the last year. The role might have been used more than 400 days ago. For
701
- * more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#access-advisor_tracking-period">Regions where data is tracked</a> in the <i>IAM User
701
+ * more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#access-advisor_tracking-period">Regions where data is tracked</a> in the <i>IAM user
702
702
  * Guide</i>.</p>
703
703
  */
704
704
  RoleLastUsed?: RoleLastUsed;
@@ -867,7 +867,7 @@ export interface CreateOpenIDConnectProviderRequest {
867
867
  * used by <code>https://keys.server.example.com.</code>
868
868
  * </p>
869
869
  * <p>For more information about obtaining the OIDC provider thumbprint, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/identity-providers-oidc-obtain-thumbprint.html">Obtaining the
870
- * thumbprint for an OpenID Connect provider</a> in the <i>IAM User
870
+ * thumbprint for an OpenID Connect provider</a> in the <i>IAM user
871
871
  * Guide</i>.</p>
872
872
  */
873
873
  ThumbprintList: string[] | undefined;
@@ -1167,6 +1167,8 @@ export interface CreateRoleRequest {
1167
1167
  * <p>IAM user, group, role, and policy names must be unique within the account. Names are
1168
1168
  * not distinguished by case. For example, you cannot create resources named both
1169
1169
  * "MyResource" and "myresource".</p>
1170
+ * <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
1171
+ * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
1170
1172
  */
1171
1173
  RoleName: string | undefined;
1172
1174
  /**
@@ -1549,7 +1551,7 @@ export interface CreateVirtualMFADeviceRequest {
1549
1551
  */
1550
1552
  Path?: string;
1551
1553
  /**
1552
- * <p>The name of the virtual MFA device. Use with path to uniquely identify a virtual MFA
1554
+ * <p>The name of the virtual MFA device, which must be unique. Use with path to uniquely identify a virtual MFA
1553
1555
  * device.</p>
1554
1556
  * <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
1555
1557
  * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
@@ -2303,8 +2305,7 @@ export interface RoleDetail {
2303
2305
  * date and time and the Region in which the role was last used. Activity is only reported for
2304
2306
  * the trailing 400 days. This period can be shorter if your Region began supporting these
2305
2307
  * features within the last year. The role might have been used more than 400 days ago. For
2306
- * more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#access-advisor_tracking-period">Regions where data is tracked</a> in the <i>IAM User
2307
- * Guide</i>.</p>
2308
+ * more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#access-advisor_tracking-period">Regions where data is tracked</a> in the <i>IAM User Guide</i>.</p>
2308
2309
  */
2309
2310
  RoleLastUsed?: RoleLastUsed;
2310
2311
  }
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
27
27
  defaultSigningName: string;
28
28
  };
29
29
  export interface EndpointParameters extends __EndpointParameters {
30
- Region: string;
30
+ Region?: string;
31
31
  UseDualStack?: boolean;
32
32
  UseFIPS?: boolean;
33
33
  Endpoint?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iam",
3
3
  "description": "AWS SDK for JavaScript Iam Client for Node.js, Browser and React Native",
4
- "version": "3.289.0",
4
+ "version": "3.291.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,39 +20,39 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.289.0",
24
- "@aws-sdk/config-resolver": "3.289.0",
25
- "@aws-sdk/credential-provider-node": "3.289.0",
26
- "@aws-sdk/fetch-http-handler": "3.289.0",
27
- "@aws-sdk/hash-node": "3.289.0",
28
- "@aws-sdk/invalid-dependency": "3.289.0",
29
- "@aws-sdk/middleware-content-length": "3.289.0",
30
- "@aws-sdk/middleware-endpoint": "3.289.0",
31
- "@aws-sdk/middleware-host-header": "3.289.0",
32
- "@aws-sdk/middleware-logger": "3.289.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.289.0",
34
- "@aws-sdk/middleware-retry": "3.289.0",
35
- "@aws-sdk/middleware-serde": "3.289.0",
36
- "@aws-sdk/middleware-signing": "3.289.0",
37
- "@aws-sdk/middleware-stack": "3.289.0",
38
- "@aws-sdk/middleware-user-agent": "3.289.0",
39
- "@aws-sdk/node-config-provider": "3.289.0",
40
- "@aws-sdk/node-http-handler": "3.289.0",
41
- "@aws-sdk/protocol-http": "3.289.0",
42
- "@aws-sdk/smithy-client": "3.289.0",
43
- "@aws-sdk/types": "3.289.0",
44
- "@aws-sdk/url-parser": "3.289.0",
23
+ "@aws-sdk/client-sts": "3.290.0",
24
+ "@aws-sdk/config-resolver": "3.290.0",
25
+ "@aws-sdk/credential-provider-node": "3.290.0",
26
+ "@aws-sdk/fetch-http-handler": "3.290.0",
27
+ "@aws-sdk/hash-node": "3.290.0",
28
+ "@aws-sdk/invalid-dependency": "3.290.0",
29
+ "@aws-sdk/middleware-content-length": "3.290.0",
30
+ "@aws-sdk/middleware-endpoint": "3.290.0",
31
+ "@aws-sdk/middleware-host-header": "3.290.0",
32
+ "@aws-sdk/middleware-logger": "3.290.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.290.0",
34
+ "@aws-sdk/middleware-retry": "3.290.0",
35
+ "@aws-sdk/middleware-serde": "3.290.0",
36
+ "@aws-sdk/middleware-signing": "3.290.0",
37
+ "@aws-sdk/middleware-stack": "3.290.0",
38
+ "@aws-sdk/middleware-user-agent": "3.290.0",
39
+ "@aws-sdk/node-config-provider": "3.290.0",
40
+ "@aws-sdk/node-http-handler": "3.290.0",
41
+ "@aws-sdk/protocol-http": "3.290.0",
42
+ "@aws-sdk/smithy-client": "3.290.0",
43
+ "@aws-sdk/types": "3.290.0",
44
+ "@aws-sdk/url-parser": "3.290.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.289.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.289.0",
50
- "@aws-sdk/util-endpoints": "3.289.0",
51
- "@aws-sdk/util-retry": "3.289.0",
52
- "@aws-sdk/util-user-agent-browser": "3.289.0",
53
- "@aws-sdk/util-user-agent-node": "3.289.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.290.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.290.0",
50
+ "@aws-sdk/util-endpoints": "3.290.0",
51
+ "@aws-sdk/util-retry": "3.290.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.290.0",
53
+ "@aws-sdk/util-user-agent-node": "3.290.0",
54
54
  "@aws-sdk/util-utf8": "3.254.0",
55
- "@aws-sdk/util-waiter": "3.289.0",
55
+ "@aws-sdk/util-waiter": "3.290.0",
56
56
  "fast-xml-parser": "4.1.2",
57
57
  "tslib": "^2.3.1"
58
58
  },