@aws-sdk/client-iam 3.288.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.
Files changed (159) hide show
  1. package/dist-types/commands/AddClientIDToOpenIDConnectProviderCommand.d.ts +29 -0
  2. package/dist-types/commands/AddRoleToInstanceProfileCommand.d.ts +35 -0
  3. package/dist-types/commands/AddUserToGroupCommand.d.ts +25 -0
  4. package/dist-types/commands/AttachGroupPolicyCommand.d.ts +33 -0
  5. package/dist-types/commands/AttachRolePolicyCommand.d.ts +39 -0
  6. package/dist-types/commands/AttachUserPolicyCommand.d.ts +33 -0
  7. package/dist-types/commands/ChangePasswordCommand.d.ts +39 -0
  8. package/dist-types/commands/CreateAccessKeyCommand.d.ts +35 -0
  9. package/dist-types/commands/CreateAccountAliasCommand.d.ts +24 -0
  10. package/dist-types/commands/CreateGroupCommand.d.ts +39 -0
  11. package/dist-types/commands/CreateInstanceProfileCommand.d.ts +44 -0
  12. package/dist-types/commands/CreateLoginProfileCommand.d.ts +43 -0
  13. package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +43 -0
  14. package/dist-types/commands/CreatePolicyCommand.d.ts +25 -0
  15. package/dist-types/commands/CreatePolicyVersionCommand.d.ts +21 -0
  16. package/dist-types/commands/CreateRoleCommand.d.ts +50 -0
  17. package/dist-types/commands/CreateSAMLProviderCommand.d.ts +21 -0
  18. package/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +17 -0
  19. package/dist-types/commands/CreateServiceSpecificCredentialCommand.d.ts +12 -0
  20. package/dist-types/commands/CreateUserCommand.d.ts +47 -0
  21. package/dist-types/commands/CreateVirtualMFADeviceCommand.d.ts +21 -0
  22. package/dist-types/commands/DeactivateMFADeviceCommand.d.ts +19 -0
  23. package/dist-types/commands/DeleteAccessKeyCommand.d.ts +25 -0
  24. package/dist-types/commands/DeleteAccountAliasCommand.d.ts +24 -0
  25. package/dist-types/commands/DeleteAccountPasswordPolicyCommand.d.ts +22 -0
  26. package/dist-types/commands/DeleteGroupCommand.d.ts +17 -0
  27. package/dist-types/commands/DeleteGroupPolicyCommand.d.ts +25 -0
  28. package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +28 -0
  29. package/dist-types/commands/DeleteLoginProfileCommand.d.ts +30 -0
  30. package/dist-types/commands/DeleteOpenIDConnectProviderCommand.d.ts +13 -0
  31. package/dist-types/commands/DeletePolicyCommand.d.ts +21 -0
  32. package/dist-types/commands/DeletePolicyVersionCommand.d.ts +21 -0
  33. package/dist-types/commands/DeleteRoleCommand.d.ts +38 -0
  34. package/dist-types/commands/DeleteRolePermissionsBoundaryCommand.d.ts +15 -0
  35. package/dist-types/commands/DeleteRolePolicyCommand.d.ts +31 -0
  36. package/dist-types/commands/DeleteSAMLProviderCommand.d.ts +17 -0
  37. package/dist-types/commands/DeleteSSHPublicKeyCommand.d.ts +5 -0
  38. package/dist-types/commands/DeleteServerCertificateCommand.d.ts +17 -0
  39. package/dist-types/commands/DeleteServiceLinkedRoleCommand.d.ts +13 -0
  40. package/dist-types/commands/DeleteServiceSpecificCredentialCommand.d.ts +5 -0
  41. package/dist-types/commands/DeleteSigningCertificateCommand.d.ts +25 -0
  42. package/dist-types/commands/DeleteUserCommand.d.ts +32 -0
  43. package/dist-types/commands/DeleteUserPermissionsBoundaryCommand.d.ts +9 -0
  44. package/dist-types/commands/DeleteUserPolicyCommand.d.ts +25 -0
  45. package/dist-types/commands/DeleteVirtualMFADeviceCommand.d.ts +28 -0
  46. package/dist-types/commands/DetachGroupPolicyCommand.d.ts +17 -0
  47. package/dist-types/commands/DetachRolePolicyCommand.d.ts +23 -0
  48. package/dist-types/commands/DetachUserPolicyCommand.d.ts +17 -0
  49. package/dist-types/commands/EnableMFADeviceCommand.d.ts +27 -0
  50. package/dist-types/commands/GenerateCredentialReportCommand.d.ts +9 -0
  51. package/dist-types/commands/GenerateOrganizationsAccessReportCommand.d.ts +21 -0
  52. package/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +25 -0
  53. package/dist-types/commands/GetAccessKeyLastUsedCommand.d.ts +5 -0
  54. package/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +5 -0
  55. package/dist-types/commands/GetAccountPasswordPolicyCommand.d.ts +34 -0
  56. package/dist-types/commands/GetAccountSummaryCommand.d.ts +46 -0
  57. package/dist-types/commands/GetContextKeysForCustomPolicyCommand.d.ts +5 -0
  58. package/dist-types/commands/GetContextKeysForPrincipalPolicyCommand.d.ts +9 -0
  59. package/dist-types/commands/GetCredentialReportCommand.d.ts +18 -0
  60. package/dist-types/commands/GetGroupCommand.d.ts +9 -0
  61. package/dist-types/commands/GetGroupPolicyCommand.d.ts +9 -0
  62. package/dist-types/commands/GetInstanceProfileCommand.d.ts +41 -0
  63. package/dist-types/commands/GetLoginProfileCommand.d.ts +28 -0
  64. package/dist-types/commands/GetOpenIDConnectProviderCommand.d.ts +13 -0
  65. package/dist-types/commands/GetOrganizationsAccessReportCommand.d.ts +49 -0
  66. package/dist-types/commands/GetPolicyCommand.d.ts +13 -0
  67. package/dist-types/commands/GetPolicyVersionCommand.d.ts +13 -0
  68. package/dist-types/commands/GetRoleCommand.d.ts +37 -0
  69. package/dist-types/commands/GetRolePolicyCommand.d.ts +9 -0
  70. package/dist-types/commands/GetSAMLProviderCommand.d.ts +13 -0
  71. package/dist-types/commands/GetSSHPublicKeyCommand.d.ts +9 -0
  72. package/dist-types/commands/GetServerCertificateCommand.d.ts +9 -0
  73. package/dist-types/commands/GetServiceLastAccessedDetailsCommand.d.ts +42 -0
  74. package/dist-types/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +50 -0
  75. package/dist-types/commands/GetServiceLinkedRoleDeletionStatusCommand.d.ts +13 -0
  76. package/dist-types/commands/GetUserCommand.d.ts +31 -0
  77. package/dist-types/commands/GetUserPolicyCommand.d.ts +9 -0
  78. package/dist-types/commands/ListAccessKeysCommand.d.ts +38 -0
  79. package/dist-types/commands/ListAccountAliasesCommand.d.ts +21 -0
  80. package/dist-types/commands/ListAttachedGroupPoliciesCommand.d.ts +13 -0
  81. package/dist-types/commands/ListAttachedRolePoliciesCommand.d.ts +13 -0
  82. package/dist-types/commands/ListAttachedUserPoliciesCommand.d.ts +13 -0
  83. package/dist-types/commands/ListEntitiesForPolicyCommand.d.ts +13 -0
  84. package/dist-types/commands/ListGroupPoliciesCommand.d.ts +28 -0
  85. package/dist-types/commands/ListGroupsCommand.d.ts +41 -0
  86. package/dist-types/commands/ListGroupsForUserCommand.d.ts +40 -0
  87. package/dist-types/commands/ListInstanceProfileTagsCommand.d.ts +9 -0
  88. package/dist-types/commands/ListInstanceProfilesCommand.d.ts +5 -0
  89. package/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +9 -0
  90. package/dist-types/commands/ListMFADeviceTagsCommand.d.ts +13 -0
  91. package/dist-types/commands/ListMFADevicesCommand.d.ts +9 -0
  92. package/dist-types/commands/ListOpenIDConnectProviderTagsCommand.d.ts +13 -0
  93. package/dist-types/commands/ListOpenIDConnectProvidersCommand.d.ts +5 -0
  94. package/dist-types/commands/ListPoliciesCommand.d.ts +5 -0
  95. package/dist-types/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +57 -0
  96. package/dist-types/commands/ListPolicyTagsCommand.d.ts +13 -0
  97. package/dist-types/commands/ListPolicyVersionsCommand.d.ts +13 -0
  98. package/dist-types/commands/ListRolePoliciesCommand.d.ts +9 -0
  99. package/dist-types/commands/ListRoleTagsCommand.d.ts +35 -0
  100. package/dist-types/commands/ListRolesCommand.d.ts +5 -0
  101. package/dist-types/commands/ListSAMLProviderTagsCommand.d.ts +13 -0
  102. package/dist-types/commands/ListSAMLProvidersCommand.d.ts +5 -0
  103. package/dist-types/commands/ListSSHPublicKeysCommand.d.ts +5 -0
  104. package/dist-types/commands/ListServerCertificateTagsCommand.d.ts +9 -0
  105. package/dist-types/commands/ListServerCertificatesCommand.d.ts +5 -0
  106. package/dist-types/commands/ListServiceSpecificCredentialsCommand.d.ts +8 -0
  107. package/dist-types/commands/ListSigningCertificatesCommand.d.ts +33 -0
  108. package/dist-types/commands/ListUserPoliciesCommand.d.ts +9 -0
  109. package/dist-types/commands/ListUserTagsCommand.d.ts +35 -0
  110. package/dist-types/commands/ListUsersCommand.d.ts +36 -0
  111. package/dist-types/commands/ListVirtualMFADevicesCommand.d.ts +22 -0
  112. package/dist-types/commands/PutGroupPolicyCommand.d.ts +30 -0
  113. package/dist-types/commands/PutRolePermissionsBoundaryCommand.d.ts +23 -0
  114. package/dist-types/commands/PutRolePolicyCommand.d.ts +36 -0
  115. package/dist-types/commands/PutUserPermissionsBoundaryCommand.d.ts +17 -0
  116. package/dist-types/commands/PutUserPolicyCommand.d.ts +30 -0
  117. package/dist-types/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +13 -0
  118. package/dist-types/commands/RemoveRoleFromInstanceProfileCommand.d.ts +31 -0
  119. package/dist-types/commands/RemoveUserFromGroupCommand.d.ts +25 -0
  120. package/dist-types/commands/ResetServiceSpecificCredentialCommand.d.ts +5 -0
  121. package/dist-types/commands/ResyncMFADeviceCommand.d.ts +17 -0
  122. package/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +17 -0
  123. package/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +16 -0
  124. package/dist-types/commands/SimulateCustomPolicyCommand.d.ts +9 -0
  125. package/dist-types/commands/SimulatePrincipalPolicyCommand.d.ts +13 -0
  126. package/dist-types/commands/TagInstanceProfileCommand.d.ts +21 -0
  127. package/dist-types/commands/TagMFADeviceCommand.d.ts +21 -0
  128. package/dist-types/commands/TagOpenIDConnectProviderCommand.d.ts +21 -0
  129. package/dist-types/commands/TagPolicyCommand.d.ts +21 -0
  130. package/dist-types/commands/TagRoleCommand.d.ts +42 -0
  131. package/dist-types/commands/TagSAMLProviderCommand.d.ts +21 -0
  132. package/dist-types/commands/TagServerCertificateCommand.d.ts +21 -0
  133. package/dist-types/commands/TagUserCommand.d.ts +42 -0
  134. package/dist-types/commands/UntagInstanceProfileCommand.d.ts +17 -0
  135. package/dist-types/commands/UntagMFADeviceCommand.d.ts +17 -0
  136. package/dist-types/commands/UntagOpenIDConnectProviderCommand.d.ts +17 -0
  137. package/dist-types/commands/UntagPolicyCommand.d.ts +17 -0
  138. package/dist-types/commands/UntagRoleCommand.d.ts +27 -0
  139. package/dist-types/commands/UntagSAMLProviderCommand.d.ts +17 -0
  140. package/dist-types/commands/UntagServerCertificateCommand.d.ts +17 -0
  141. package/dist-types/commands/UntagUserCommand.d.ts +27 -0
  142. package/dist-types/commands/UpdateAccessKeyCommand.d.ts +26 -0
  143. package/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +29 -0
  144. package/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +35 -0
  145. package/dist-types/commands/UpdateGroupCommand.d.ts +29 -0
  146. package/dist-types/commands/UpdateLoginProfileCommand.d.ts +35 -0
  147. package/dist-types/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +13 -0
  148. package/dist-types/commands/UpdateRoleCommand.d.ts +15 -0
  149. package/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +15 -0
  150. package/dist-types/commands/UpdateSAMLProviderCommand.d.ts +17 -0
  151. package/dist-types/commands/UpdateSSHPublicKeyCommand.d.ts +5 -0
  152. package/dist-types/commands/UpdateServerCertificateCommand.d.ts +17 -0
  153. package/dist-types/commands/UpdateServiceSpecificCredentialCommand.d.ts +5 -0
  154. package/dist-types/commands/UpdateSigningCertificateCommand.d.ts +26 -0
  155. package/dist-types/commands/UpdateUserCommand.d.ts +39 -0
  156. package/dist-types/commands/UploadSSHPublicKeyCommand.d.ts +20 -0
  157. package/dist-types/commands/UploadServerCertificateCommand.d.ts +55 -0
  158. package/dist-types/commands/UploadSigningCertificateCommand.d.ts +51 -0
  159. package/package.json +30 -30
@@ -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,32 @@ 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
+ *
52
+ * @example To change the active status of a signing certificate for an IAM user
53
+ * ```javascript
54
+ * // The following command changes the status of a signing certificate for a user named Bob to Inactive.
55
+ * const input = {
56
+ * "CertificateId": "TA7SMP42TDN5Z26OBPJE7EXAMPLE",
57
+ * "Status": "Inactive",
58
+ * "UserName": "Bob"
59
+ * };
60
+ * const command = new UpdateSigningCertificateCommand(input);
61
+ * await client.send(command);
62
+ * // example id: 829aee7b-efc5-4b3b-84a5-7f899b38018d
63
+ * ```
64
+ *
39
65
  */
40
66
  export declare class UpdateSigningCertificateCommand extends $Command<UpdateSigningCertificateCommandInput, UpdateSigningCertificateCommandOutput, IAMClientResolvedConfig> {
41
67
  readonly input: UpdateSigningCertificateCommandInput;
@@ -41,6 +41,45 @@ 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
+ *
71
+ * @example To change an IAM user's name
72
+ * ```javascript
73
+ * // The following command changes the name of the IAM user Bob to Robert. It does not change the user's path.
74
+ * const input = {
75
+ * "NewUserName": "Robert",
76
+ * "UserName": "Bob"
77
+ * };
78
+ * const command = new UpdateUserCommand(input);
79
+ * await client.send(command);
80
+ * // example id: 275d53ed-347a-44e6-b7d0-a96276154352
81
+ * ```
82
+ *
44
83
  */
45
84
  export declare class UpdateUserCommand extends $Command<UpdateUserCommandInput, UpdateUserCommandOutput, IAMClientResolvedConfig> {
46
85
  readonly input: UpdateUserCommandInput;
@@ -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,61 @@ 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
+ *
84
+ * @example To upload a server certificate to your AWS account
85
+ * ```javascript
86
+ * // The following upload-server-certificate command uploads a server certificate to your AWS account:
87
+ * const input = {
88
+ * "CertificateBody": "-----BEGIN CERTIFICATE-----<a very long certificate text string>-----END CERTIFICATE-----",
89
+ * "Path": "/company/servercerts/",
90
+ * "PrivateKey": "-----BEGIN DSA PRIVATE KEY-----<a very long private key string>-----END DSA PRIVATE KEY-----",
91
+ * "ServerCertificateName": "ProdServerCert"
92
+ * };
93
+ * const command = new UploadServerCertificateCommand(input);
94
+ * const response = await client.send(command);
95
+ * /* response ==
96
+ * {
97
+ * "ServerCertificateMetadata": {
98
+ * "Arn": "arn:aws:iam::123456789012:server-certificate/company/servercerts/ProdServerCert",
99
+ * "Expiration": "2012-05-08T01:02:03.004Z",
100
+ * "Path": "/company/servercerts/",
101
+ * "ServerCertificateId": "ASCA1111111111EXAMPLE",
102
+ * "ServerCertificateName": "ProdServerCert",
103
+ * "UploadDate": "2010-05-08T01:02:03.004Z"
104
+ * }
105
+ * }
106
+ * *\/
107
+ * // example id: 06eab6d1-ebf2-4bd9-839d-f7508b9a38b6
108
+ * ```
109
+ *
55
110
  */
56
111
  export declare class UploadServerCertificateCommand extends $Command<UploadServerCertificateCommandInput, UploadServerCertificateCommandOutput, IAMClientResolvedConfig> {
57
112
  readonly input: UploadServerCertificateCommandInput;
@@ -48,6 +48,57 @@ 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
+ *
79
+ * @example To upload a signing certificate for an IAM user
80
+ * ```javascript
81
+ * // The following command uploads a signing certificate for the IAM user named Bob.
82
+ * const input = {
83
+ * "CertificateBody": "-----BEGIN CERTIFICATE-----<certificate-body>-----END CERTIFICATE-----",
84
+ * "UserName": "Bob"
85
+ * };
86
+ * const command = new UploadSigningCertificateCommand(input);
87
+ * const response = await client.send(command);
88
+ * /* response ==
89
+ * {
90
+ * "Certificate": {
91
+ * "CertificateBody": "-----BEGIN CERTIFICATE-----<certificate-body>-----END CERTIFICATE-----",
92
+ * "CertificateId": "ID123456789012345EXAMPLE",
93
+ * "Status": "Active",
94
+ * "UploadDate": "2015-06-06T21:40:08.121Z",
95
+ * "UserName": "Bob"
96
+ * }
97
+ * }
98
+ * *\/
99
+ * // example id: e67489b6-7b73-4e30-9ed3-9a9e0231e458
100
+ * ```
101
+ *
51
102
  */
52
103
  export declare class UploadSigningCertificateCommand extends $Command<UploadSigningCertificateCommandInput, UploadSigningCertificateCommandOutput, IAMClientResolvedConfig> {
53
104
  readonly input: UploadSigningCertificateCommandInput;
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.288.0",
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.288.0",
24
- "@aws-sdk/config-resolver": "3.287.0",
25
- "@aws-sdk/credential-provider-node": "3.288.0",
26
- "@aws-sdk/fetch-http-handler": "3.282.0",
27
- "@aws-sdk/hash-node": "3.272.0",
28
- "@aws-sdk/invalid-dependency": "3.272.0",
29
- "@aws-sdk/middleware-content-length": "3.282.0",
30
- "@aws-sdk/middleware-endpoint": "3.282.0",
31
- "@aws-sdk/middleware-host-header": "3.282.0",
32
- "@aws-sdk/middleware-logger": "3.288.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.282.0",
34
- "@aws-sdk/middleware-retry": "3.287.0",
35
- "@aws-sdk/middleware-serde": "3.272.0",
36
- "@aws-sdk/middleware-signing": "3.282.0",
37
- "@aws-sdk/middleware-stack": "3.272.0",
38
- "@aws-sdk/middleware-user-agent": "3.282.0",
39
- "@aws-sdk/node-config-provider": "3.287.0",
40
- "@aws-sdk/node-http-handler": "3.282.0",
41
- "@aws-sdk/protocol-http": "3.282.0",
42
- "@aws-sdk/smithy-client": "3.279.0",
43
- "@aws-sdk/types": "3.272.0",
44
- "@aws-sdk/url-parser": "3.272.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.279.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.287.0",
50
- "@aws-sdk/util-endpoints": "3.272.0",
51
- "@aws-sdk/util-retry": "3.272.0",
52
- "@aws-sdk/util-user-agent-browser": "3.282.0",
53
- "@aws-sdk/util-user-agent-node": "3.287.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.272.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
  },