@aws-sdk/client-iam 3.289.0 → 3.290.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-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 +27 -0
- 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 +21 -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 +5 -0
- 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 +5 -0
- 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 +9 -0
- 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 +9 -0
- 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 +17 -0
- 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 +21 -0
- 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 +21 -0
- 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 +13 -0
- 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 +13 -0
- package/dist-types/commands/UpdateUserCommand.d.ts +27 -0
- 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 +28 -0
- package/package.json +30 -30
|
@@ -35,6 +35,29 @@ export interface UpdateLoginProfileCommandOutput extends __MetadataBearer {
|
|
|
35
35
|
* @see {@link UpdateLoginProfileCommandOutput} for command's `response` shape.
|
|
36
36
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
37
37
|
*
|
|
38
|
+
* @throws {@link EntityTemporarilyUnmodifiableException} (client fault)
|
|
39
|
+
* <p>The request was rejected because it referenced an entity that is temporarily unmodifiable,
|
|
40
|
+
* such as a user name that was deleted and then recreated. The error indicates that the request
|
|
41
|
+
* is likely to succeed if you try again after waiting several minutes. The error message
|
|
42
|
+
* describes the entity.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
45
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
46
|
+
* account limits. The error message describes the limit exceeded.</p>
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
49
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
50
|
+
* error message describes the resource.</p>
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link PasswordPolicyViolationException} (client fault)
|
|
53
|
+
* <p>The request was rejected because the provided password did not meet the requirements
|
|
54
|
+
* imposed by the account password policy.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
57
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
58
|
+
* failure.</p>
|
|
59
|
+
*
|
|
60
|
+
*
|
|
38
61
|
* @example To change the password for an IAM user
|
|
39
62
|
* ```javascript
|
|
40
63
|
* // The following command creates or changes the password for the IAM user named Bob.
|
|
@@ -51,6 +51,19 @@ export interface UpdateOpenIDConnectProviderThumbprintCommandOutput extends __Me
|
|
|
51
51
|
* @see {@link UpdateOpenIDConnectProviderThumbprintCommandOutput} for command's `response` shape.
|
|
52
52
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
53
53
|
*
|
|
54
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
55
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
56
|
+
* input parameter.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
59
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
60
|
+
* error message describes the resource.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
63
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
64
|
+
* failure.</p>
|
|
65
|
+
*
|
|
66
|
+
*
|
|
54
67
|
*/
|
|
55
68
|
export declare class UpdateOpenIDConnectProviderThumbprintCommand extends $Command<UpdateOpenIDConnectProviderThumbprintCommandInput, UpdateOpenIDConnectProviderThumbprintCommandOutput, IAMClientResolvedConfig> {
|
|
56
69
|
readonly input: UpdateOpenIDConnectProviderThumbprintCommandInput;
|
|
@@ -29,6 +29,21 @@ export interface UpdateRoleCommandOutput extends UpdateRoleResponse, __MetadataB
|
|
|
29
29
|
* @see {@link UpdateRoleCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
33
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
34
|
+
* error message describes the resource.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
37
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
38
|
+
* failure.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link UnmodifiableEntityException} (client fault)
|
|
41
|
+
* <p>The request was rejected because only the service that depends on the service-linked role
|
|
42
|
+
* can modify or delete the role on your behalf. The error message includes the name of the
|
|
43
|
+
* service that depends on this service-linked role. You must request the change through that
|
|
44
|
+
* service.</p>
|
|
45
|
+
*
|
|
46
|
+
*
|
|
32
47
|
*/
|
|
33
48
|
export declare class UpdateRoleCommand extends $Command<UpdateRoleCommandInput, UpdateRoleCommandOutput, IAMClientResolvedConfig> {
|
|
34
49
|
readonly input: UpdateRoleCommandInput;
|
|
@@ -31,6 +31,21 @@ export interface UpdateRoleDescriptionCommandOutput extends UpdateRoleDescriptio
|
|
|
31
31
|
* @see {@link UpdateRoleDescriptionCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
35
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
36
|
+
* error message describes the resource.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
39
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
40
|
+
* failure.</p>
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link UnmodifiableEntityException} (client fault)
|
|
43
|
+
* <p>The request was rejected because only the service that depends on the service-linked role
|
|
44
|
+
* can modify or delete the role on your behalf. The error message includes the name of the
|
|
45
|
+
* service that depends on this service-linked role. You must request the change through that
|
|
46
|
+
* service.</p>
|
|
47
|
+
*
|
|
48
|
+
*
|
|
34
49
|
*/
|
|
35
50
|
export declare class UpdateRoleDescriptionCommand extends $Command<UpdateRoleDescriptionCommandInput, UpdateRoleDescriptionCommandOutput, IAMClientResolvedConfig> {
|
|
36
51
|
readonly input: UpdateRoleDescriptionCommandInput;
|
|
@@ -32,6 +32,23 @@ export interface UpdateSAMLProviderCommandOutput extends UpdateSAMLProviderRespo
|
|
|
32
32
|
* @see {@link UpdateSAMLProviderCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
36
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
37
|
+
* input parameter.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
40
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
41
|
+
* account limits. The error message describes the limit exceeded.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
44
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
45
|
+
* error message describes the resource.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
48
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
49
|
+
* failure.</p>
|
|
50
|
+
*
|
|
51
|
+
*
|
|
35
52
|
*/
|
|
36
53
|
export declare class UpdateSAMLProviderCommand extends $Command<UpdateSAMLProviderCommandInput, UpdateSAMLProviderCommandOutput, IAMClientResolvedConfig> {
|
|
37
54
|
readonly input: UpdateSAMLProviderCommandInput;
|
|
@@ -35,6 +35,11 @@ export interface UpdateSSHPublicKeyCommandOutput extends __MetadataBearer {
|
|
|
35
35
|
* @see {@link UpdateSSHPublicKeyCommandOutput} for command's `response` shape.
|
|
36
36
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
37
37
|
*
|
|
38
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
39
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
40
|
+
* error message describes the resource.</p>
|
|
41
|
+
*
|
|
42
|
+
*
|
|
38
43
|
*/
|
|
39
44
|
export declare class UpdateSSHPublicKeyCommand extends $Command<UpdateSSHPublicKeyCommandInput, UpdateSSHPublicKeyCommandOutput, IAMClientResolvedConfig> {
|
|
40
45
|
readonly input: UpdateSSHPublicKeyCommandInput;
|
|
@@ -48,6 +48,23 @@ export interface UpdateServerCertificateCommandOutput extends __MetadataBearer {
|
|
|
48
48
|
* @see {@link UpdateServerCertificateCommandOutput} for command's `response` shape.
|
|
49
49
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
50
50
|
*
|
|
51
|
+
* @throws {@link EntityAlreadyExistsException} (client fault)
|
|
52
|
+
* <p>The request was rejected because it attempted to create a resource that already
|
|
53
|
+
* exists.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
56
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
57
|
+
* account limits. The error message describes the limit exceeded.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
60
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
61
|
+
* error message describes the resource.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
64
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
65
|
+
* failure.</p>
|
|
66
|
+
*
|
|
67
|
+
*
|
|
51
68
|
*/
|
|
52
69
|
export declare class UpdateServerCertificateCommand extends $Command<UpdateServerCertificateCommandInput, UpdateServerCertificateCommandOutput, IAMClientResolvedConfig> {
|
|
53
70
|
readonly input: UpdateServerCertificateCommandInput;
|
|
@@ -32,6 +32,11 @@ export interface UpdateServiceSpecificCredentialCommandOutput extends __Metadata
|
|
|
32
32
|
* @see {@link UpdateServiceSpecificCredentialCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
36
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
37
|
+
* error message describes the resource.</p>
|
|
38
|
+
*
|
|
39
|
+
*
|
|
35
40
|
*/
|
|
36
41
|
export declare class UpdateServiceSpecificCredentialCommand extends $Command<UpdateServiceSpecificCredentialCommandInput, UpdateServiceSpecificCredentialCommandOutput, IAMClientResolvedConfig> {
|
|
37
42
|
readonly input: UpdateServiceSpecificCredentialCommandInput;
|
|
@@ -36,6 +36,19 @@ export interface UpdateSigningCertificateCommandOutput extends __MetadataBearer
|
|
|
36
36
|
* @see {@link UpdateSigningCertificateCommandOutput} for command's `response` shape.
|
|
37
37
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
38
38
|
*
|
|
39
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
40
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
41
|
+
* account limits. The error message describes the limit exceeded.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
44
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
45
|
+
* error message describes the resource.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
48
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
49
|
+
* failure.</p>
|
|
50
|
+
*
|
|
51
|
+
*
|
|
39
52
|
* @example To change the active status of a signing certificate for an IAM user
|
|
40
53
|
* ```javascript
|
|
41
54
|
* // The following command changes the status of a signing certificate for a user named Bob to Inactive.
|
|
@@ -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 Amazon Web Services
|
|
60
|
+
* 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 Amazon Web Services
|
|
45
|
+
* 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 Amazon Web Services
|
|
73
|
+
* 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:
|
|
@@ -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 Amazon Web Services
|
|
64
|
+
* 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.
|
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.290.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
|
},
|