@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.
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-types/IAM.d.ts +36 -36
- package/dist-types/commands/AddClientIDToOpenIDConnectProviderCommand.d.ts +17 -0
- package/dist-types/commands/AddRoleToInstanceProfileCommand.d.ts +23 -0
- package/dist-types/commands/AddUserToGroupCommand.d.ts +13 -0
- package/dist-types/commands/AttachGroupPolicyCommand.d.ts +21 -0
- package/dist-types/commands/AttachRolePolicyCommand.d.ts +27 -0
- package/dist-types/commands/AttachUserPolicyCommand.d.ts +21 -0
- package/dist-types/commands/ChangePasswordCommand.d.ts +29 -2
- package/dist-types/commands/CreateAccessKeyCommand.d.ts +13 -0
- package/dist-types/commands/CreateAccountAliasCommand.d.ts +13 -0
- package/dist-types/commands/CreateGroupCommand.d.ts +17 -0
- package/dist-types/commands/CreateInstanceProfileCommand.d.ts +21 -0
- package/dist-types/commands/CreateLoginProfileCommand.d.ts +21 -0
- package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +24 -0
- package/dist-types/commands/CreatePolicyCommand.d.ts +25 -0
- package/dist-types/commands/CreatePolicyVersionCommand.d.ts +21 -0
- package/dist-types/commands/CreateRoleCommand.d.ts +25 -0
- package/dist-types/commands/CreateSAMLProviderCommand.d.ts +21 -0
- package/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +17 -0
- package/dist-types/commands/CreateServiceSpecificCredentialCommand.d.ts +12 -0
- package/dist-types/commands/CreateUserCommand.d.ts +25 -0
- package/dist-types/commands/CreateVirtualMFADeviceCommand.d.ts +21 -0
- package/dist-types/commands/DeactivateMFADeviceCommand.d.ts +19 -0
- package/dist-types/commands/DeleteAccessKeyCommand.d.ts +13 -0
- package/dist-types/commands/DeleteAccountAliasCommand.d.ts +13 -0
- package/dist-types/commands/DeleteAccountPasswordPolicyCommand.d.ts +13 -0
- package/dist-types/commands/DeleteGroupCommand.d.ts +17 -0
- package/dist-types/commands/DeleteGroupPolicyCommand.d.ts +13 -0
- package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +17 -0
- package/dist-types/commands/DeleteLoginProfileCommand.d.ts +19 -0
- package/dist-types/commands/DeleteOpenIDConnectProviderCommand.d.ts +13 -0
- package/dist-types/commands/DeletePolicyCommand.d.ts +21 -0
- package/dist-types/commands/DeletePolicyVersionCommand.d.ts +21 -0
- package/dist-types/commands/DeleteRoleCommand.d.ts +27 -0
- package/dist-types/commands/DeleteRolePermissionsBoundaryCommand.d.ts +15 -0
- package/dist-types/commands/DeleteRolePolicyCommand.d.ts +19 -0
- package/dist-types/commands/DeleteSAMLProviderCommand.d.ts +17 -0
- package/dist-types/commands/DeleteSSHPublicKeyCommand.d.ts +5 -0
- package/dist-types/commands/DeleteServerCertificateCommand.d.ts +17 -0
- package/dist-types/commands/DeleteServiceLinkedRoleCommand.d.ts +13 -0
- package/dist-types/commands/DeleteServiceSpecificCredentialCommand.d.ts +5 -0
- package/dist-types/commands/DeleteSigningCertificateCommand.d.ts +13 -0
- package/dist-types/commands/DeleteUserCommand.d.ts +21 -0
- package/dist-types/commands/DeleteUserPermissionsBoundaryCommand.d.ts +9 -0
- package/dist-types/commands/DeleteUserPolicyCommand.d.ts +13 -0
- package/dist-types/commands/DeleteVirtualMFADeviceCommand.d.ts +17 -0
- package/dist-types/commands/DetachGroupPolicyCommand.d.ts +17 -0
- package/dist-types/commands/DetachRolePolicyCommand.d.ts +23 -0
- package/dist-types/commands/DetachUserPolicyCommand.d.ts +17 -0
- package/dist-types/commands/EnableMFADeviceCommand.d.ts +27 -0
- package/dist-types/commands/GenerateCredentialReportCommand.d.ts +9 -0
- package/dist-types/commands/GenerateOrganizationsAccessReportCommand.d.ts +10 -6
- package/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +9 -0
- package/dist-types/commands/GetAccessKeyLastUsedCommand.d.ts +5 -0
- package/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +5 -0
- package/dist-types/commands/GetAccountPasswordPolicyCommand.d.ts +9 -0
- package/dist-types/commands/GetAccountSummaryCommand.d.ts +5 -0
- package/dist-types/commands/GetContextKeysForCustomPolicyCommand.d.ts +5 -0
- package/dist-types/commands/GetContextKeysForPrincipalPolicyCommand.d.ts +9 -0
- package/dist-types/commands/GetCredentialReportCommand.d.ts +18 -0
- package/dist-types/commands/GetGroupCommand.d.ts +9 -0
- package/dist-types/commands/GetGroupPolicyCommand.d.ts +9 -0
- package/dist-types/commands/GetInstanceProfileCommand.d.ts +9 -0
- package/dist-types/commands/GetLoginProfileCommand.d.ts +9 -0
- package/dist-types/commands/GetOpenIDConnectProviderCommand.d.ts +13 -0
- package/dist-types/commands/GetOrganizationsAccessReportCommand.d.ts +10 -5
- package/dist-types/commands/GetPolicyCommand.d.ts +13 -0
- package/dist-types/commands/GetPolicyVersionCommand.d.ts +13 -0
- package/dist-types/commands/GetRoleCommand.d.ts +9 -0
- package/dist-types/commands/GetRolePolicyCommand.d.ts +9 -0
- package/dist-types/commands/GetSAMLProviderCommand.d.ts +13 -0
- package/dist-types/commands/GetSSHPublicKeyCommand.d.ts +9 -0
- package/dist-types/commands/GetServerCertificateCommand.d.ts +9 -0
- package/dist-types/commands/GetServiceLastAccessedDetailsCommand.d.ts +9 -0
- package/dist-types/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +9 -0
- package/dist-types/commands/GetServiceLinkedRoleDeletionStatusCommand.d.ts +13 -0
- package/dist-types/commands/GetUserCommand.d.ts +9 -0
- package/dist-types/commands/GetUserPolicyCommand.d.ts +9 -0
- package/dist-types/commands/ListAccessKeysCommand.d.ts +11 -3
- package/dist-types/commands/ListAccountAliasesCommand.d.ts +5 -0
- package/dist-types/commands/ListAttachedGroupPoliciesCommand.d.ts +13 -0
- package/dist-types/commands/ListAttachedRolePoliciesCommand.d.ts +13 -0
- package/dist-types/commands/ListAttachedUserPoliciesCommand.d.ts +13 -0
- package/dist-types/commands/ListEntitiesForPolicyCommand.d.ts +13 -0
- package/dist-types/commands/ListGroupPoliciesCommand.d.ts +9 -0
- package/dist-types/commands/ListGroupsCommand.d.ts +5 -0
- package/dist-types/commands/ListGroupsForUserCommand.d.ts +9 -0
- package/dist-types/commands/ListInstanceProfileTagsCommand.d.ts +9 -0
- package/dist-types/commands/ListInstanceProfilesCommand.d.ts +5 -0
- package/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +9 -0
- package/dist-types/commands/ListMFADeviceTagsCommand.d.ts +13 -0
- package/dist-types/commands/ListMFADevicesCommand.d.ts +9 -0
- package/dist-types/commands/ListOpenIDConnectProviderTagsCommand.d.ts +13 -0
- package/dist-types/commands/ListOpenIDConnectProvidersCommand.d.ts +5 -0
- package/dist-types/commands/ListPoliciesCommand.d.ts +5 -0
- package/dist-types/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +9 -0
- package/dist-types/commands/ListPolicyTagsCommand.d.ts +13 -0
- package/dist-types/commands/ListPolicyVersionsCommand.d.ts +13 -0
- package/dist-types/commands/ListRolePoliciesCommand.d.ts +9 -0
- package/dist-types/commands/ListRoleTagsCommand.d.ts +9 -0
- package/dist-types/commands/ListRolesCommand.d.ts +5 -0
- package/dist-types/commands/ListSAMLProviderTagsCommand.d.ts +13 -0
- package/dist-types/commands/ListSAMLProvidersCommand.d.ts +5 -0
- package/dist-types/commands/ListSSHPublicKeysCommand.d.ts +5 -0
- package/dist-types/commands/ListServerCertificateTagsCommand.d.ts +9 -0
- package/dist-types/commands/ListServerCertificatesCommand.d.ts +5 -0
- package/dist-types/commands/ListServiceSpecificCredentialsCommand.d.ts +8 -0
- package/dist-types/commands/ListSigningCertificatesCommand.d.ts +11 -2
- package/dist-types/commands/ListUserPoliciesCommand.d.ts +9 -0
- package/dist-types/commands/ListUserTagsCommand.d.ts +9 -0
- package/dist-types/commands/ListUsersCommand.d.ts +5 -0
- package/dist-types/commands/ListVirtualMFADevicesCommand.d.ts +1 -0
- package/dist-types/commands/PutGroupPolicyCommand.d.ts +17 -0
- package/dist-types/commands/PutRolePermissionsBoundaryCommand.d.ts +23 -0
- package/dist-types/commands/PutRolePolicyCommand.d.ts +23 -0
- package/dist-types/commands/PutUserPermissionsBoundaryCommand.d.ts +22 -5
- package/dist-types/commands/PutUserPolicyCommand.d.ts +17 -0
- package/dist-types/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +13 -0
- package/dist-types/commands/RemoveRoleFromInstanceProfileCommand.d.ts +19 -0
- package/dist-types/commands/RemoveUserFromGroupCommand.d.ts +13 -0
- package/dist-types/commands/ResetServiceSpecificCredentialCommand.d.ts +5 -0
- package/dist-types/commands/ResyncMFADeviceCommand.d.ts +17 -0
- package/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +17 -0
- package/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +5 -0
- package/dist-types/commands/SimulateCustomPolicyCommand.d.ts +9 -0
- package/dist-types/commands/SimulatePrincipalPolicyCommand.d.ts +13 -0
- package/dist-types/commands/TagInstanceProfileCommand.d.ts +21 -0
- package/dist-types/commands/TagMFADeviceCommand.d.ts +21 -0
- package/dist-types/commands/TagOpenIDConnectProviderCommand.d.ts +22 -1
- package/dist-types/commands/TagPolicyCommand.d.ts +21 -0
- package/dist-types/commands/TagRoleCommand.d.ts +21 -0
- package/dist-types/commands/TagSAMLProviderCommand.d.ts +21 -0
- package/dist-types/commands/TagServerCertificateCommand.d.ts +21 -0
- package/dist-types/commands/TagUserCommand.d.ts +22 -1
- package/dist-types/commands/UntagInstanceProfileCommand.d.ts +17 -0
- package/dist-types/commands/UntagMFADeviceCommand.d.ts +17 -0
- package/dist-types/commands/UntagOpenIDConnectProviderCommand.d.ts +17 -0
- package/dist-types/commands/UntagPolicyCommand.d.ts +17 -0
- package/dist-types/commands/UntagRoleCommand.d.ts +13 -0
- package/dist-types/commands/UntagSAMLProviderCommand.d.ts +17 -0
- package/dist-types/commands/UntagServerCertificateCommand.d.ts +17 -0
- package/dist-types/commands/UntagUserCommand.d.ts +13 -0
- package/dist-types/commands/UpdateAccessKeyCommand.d.ts +15 -3
- package/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +17 -0
- package/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +23 -0
- package/dist-types/commands/UpdateGroupCommand.d.ts +17 -0
- package/dist-types/commands/UpdateLoginProfileCommand.d.ts +23 -0
- package/dist-types/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +13 -0
- package/dist-types/commands/UpdateRoleCommand.d.ts +15 -0
- package/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +15 -0
- package/dist-types/commands/UpdateSAMLProviderCommand.d.ts +17 -0
- package/dist-types/commands/UpdateSSHPublicKeyCommand.d.ts +5 -0
- package/dist-types/commands/UpdateServerCertificateCommand.d.ts +17 -0
- package/dist-types/commands/UpdateServiceSpecificCredentialCommand.d.ts +5 -0
- package/dist-types/commands/UpdateSigningCertificateCommand.d.ts +17 -4
- package/dist-types/commands/UpdateUserCommand.d.ts +29 -2
- package/dist-types/commands/UploadSSHPublicKeyCommand.d.ts +20 -0
- package/dist-types/commands/UploadServerCertificateCommand.d.ts +29 -0
- package/dist-types/commands/UploadSigningCertificateCommand.d.ts +30 -2
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +11 -10
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- 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
|
|
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
|
-
*
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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.
|
|
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.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
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.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
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.
|
|
55
|
+
"@aws-sdk/util-waiter": "3.290.0",
|
|
56
56
|
"fast-xml-parser": "4.1.2",
|
|
57
57
|
"tslib": "^2.3.1"
|
|
58
58
|
},
|