@aws-sdk/client-iam 3.299.0 → 3.300.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 +4 -0
- package/dist-types/commands/AddRoleToInstanceProfileCommand.d.ts +4 -0
- package/dist-types/commands/AddUserToGroupCommand.d.ts +4 -0
- package/dist-types/commands/AttachGroupPolicyCommand.d.ts +4 -0
- package/dist-types/commands/AttachRolePolicyCommand.d.ts +4 -0
- package/dist-types/commands/AttachUserPolicyCommand.d.ts +4 -0
- package/dist-types/commands/ChangePasswordCommand.d.ts +4 -0
- package/dist-types/commands/CreateAccessKeyCommand.d.ts +3 -0
- package/dist-types/commands/CreateAccountAliasCommand.d.ts +3 -0
- package/dist-types/commands/CreateGroupCommand.d.ts +4 -0
- package/dist-types/commands/CreateInstanceProfileCommand.d.ts +10 -0
- package/dist-types/commands/CreateLoginProfileCommand.d.ts +5 -0
- package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +15 -0
- package/dist-types/commands/CreatePolicyCommand.d.ts +12 -0
- package/dist-types/commands/CreatePolicyVersionCommand.d.ts +5 -0
- package/dist-types/commands/CreateRoleCommand.d.ts +14 -0
- package/dist-types/commands/CreateSAMLProviderCommand.d.ts +10 -0
- package/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +5 -0
- package/dist-types/commands/CreateServiceSpecificCredentialCommand.d.ts +4 -0
- package/dist-types/commands/CreateUserCommand.d.ts +11 -0
- package/dist-types/commands/CreateVirtualMFADeviceCommand.d.ts +10 -0
- package/dist-types/commands/DeactivateMFADeviceCommand.d.ts +4 -0
- package/dist-types/commands/DeleteAccessKeyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteAccountAliasCommand.d.ts +3 -0
- package/dist-types/commands/DeleteAccountPasswordPolicyCommand.d.ts +1 -0
- package/dist-types/commands/DeleteGroupCommand.d.ts +3 -0
- package/dist-types/commands/DeleteGroupPolicyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +3 -0
- package/dist-types/commands/DeleteLoginProfileCommand.d.ts +3 -0
- package/dist-types/commands/DeleteOpenIDConnectProviderCommand.d.ts +3 -0
- package/dist-types/commands/DeletePolicyCommand.d.ts +3 -0
- package/dist-types/commands/DeletePolicyVersionCommand.d.ts +4 -0
- package/dist-types/commands/DeleteRoleCommand.d.ts +3 -0
- package/dist-types/commands/DeleteRolePermissionsBoundaryCommand.d.ts +3 -0
- package/dist-types/commands/DeleteRolePolicyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteSAMLProviderCommand.d.ts +3 -0
- package/dist-types/commands/DeleteSSHPublicKeyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteServerCertificateCommand.d.ts +3 -0
- package/dist-types/commands/DeleteServiceLinkedRoleCommand.d.ts +3 -0
- package/dist-types/commands/DeleteServiceSpecificCredentialCommand.d.ts +4 -0
- package/dist-types/commands/DeleteSigningCertificateCommand.d.ts +4 -0
- package/dist-types/commands/DeleteUserCommand.d.ts +3 -0
- package/dist-types/commands/DeleteUserPermissionsBoundaryCommand.d.ts +3 -0
- package/dist-types/commands/DeleteUserPolicyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteVirtualMFADeviceCommand.d.ts +3 -0
- package/dist-types/commands/DetachGroupPolicyCommand.d.ts +4 -0
- package/dist-types/commands/DetachRolePolicyCommand.d.ts +4 -0
- package/dist-types/commands/DetachUserPolicyCommand.d.ts +4 -0
- package/dist-types/commands/EnableMFADeviceCommand.d.ts +6 -0
- package/dist-types/commands/GenerateCredentialReportCommand.d.ts +1 -0
- package/dist-types/commands/GenerateOrganizationsAccessReportCommand.d.ts +4 -0
- package/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +4 -0
- package/dist-types/commands/GetAccessKeyLastUsedCommand.d.ts +3 -0
- package/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +7 -0
- package/dist-types/commands/GetAccountPasswordPolicyCommand.d.ts +1 -0
- package/dist-types/commands/GetAccountSummaryCommand.d.ts +1 -0
- package/dist-types/commands/GetContextKeysForCustomPolicyCommand.d.ts +5 -0
- package/dist-types/commands/GetContextKeysForPrincipalPolicyCommand.d.ts +6 -0
- package/dist-types/commands/GetCredentialReportCommand.d.ts +1 -0
- package/dist-types/commands/GetGroupCommand.d.ts +5 -0
- package/dist-types/commands/GetGroupPolicyCommand.d.ts +4 -0
- package/dist-types/commands/GetInstanceProfileCommand.d.ts +3 -0
- package/dist-types/commands/GetLoginProfileCommand.d.ts +3 -0
- package/dist-types/commands/GetOpenIDConnectProviderCommand.d.ts +3 -0
- package/dist-types/commands/GetOrganizationsAccessReportCommand.d.ts +6 -0
- package/dist-types/commands/GetPolicyCommand.d.ts +3 -0
- package/dist-types/commands/GetPolicyVersionCommand.d.ts +4 -0
- package/dist-types/commands/GetRoleCommand.d.ts +3 -0
- package/dist-types/commands/GetRolePolicyCommand.d.ts +4 -0
- package/dist-types/commands/GetSAMLProviderCommand.d.ts +3 -0
- package/dist-types/commands/GetSSHPublicKeyCommand.d.ts +5 -0
- package/dist-types/commands/GetServerCertificateCommand.d.ts +3 -0
- package/dist-types/commands/GetServiceLastAccessedDetailsCommand.d.ts +5 -0
- package/dist-types/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +6 -0
- package/dist-types/commands/GetServiceLinkedRoleDeletionStatusCommand.d.ts +3 -0
- package/dist-types/commands/GetUserCommand.d.ts +3 -0
- package/dist-types/commands/GetUserPolicyCommand.d.ts +4 -0
- package/dist-types/commands/ListAccessKeysCommand.d.ts +5 -0
- package/dist-types/commands/ListAccountAliasesCommand.d.ts +4 -0
- package/dist-types/commands/ListAttachedGroupPoliciesCommand.d.ts +6 -0
- package/dist-types/commands/ListAttachedRolePoliciesCommand.d.ts +6 -0
- package/dist-types/commands/ListAttachedUserPoliciesCommand.d.ts +6 -0
- package/dist-types/commands/ListEntitiesForPolicyCommand.d.ts +8 -0
- package/dist-types/commands/ListGroupPoliciesCommand.d.ts +5 -0
- package/dist-types/commands/ListGroupsCommand.d.ts +5 -0
- package/dist-types/commands/ListGroupsForUserCommand.d.ts +5 -0
- package/dist-types/commands/ListInstanceProfileTagsCommand.d.ts +5 -0
- package/dist-types/commands/ListInstanceProfilesCommand.d.ts +5 -0
- package/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +5 -0
- package/dist-types/commands/ListMFADeviceTagsCommand.d.ts +5 -0
- package/dist-types/commands/ListMFADevicesCommand.d.ts +5 -0
- package/dist-types/commands/ListOpenIDConnectProviderTagsCommand.d.ts +5 -0
- package/dist-types/commands/ListOpenIDConnectProvidersCommand.d.ts +1 -0
- package/dist-types/commands/ListPoliciesCommand.d.ts +8 -0
- package/dist-types/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +7 -0
- package/dist-types/commands/ListPolicyTagsCommand.d.ts +5 -0
- package/dist-types/commands/ListPolicyVersionsCommand.d.ts +5 -0
- package/dist-types/commands/ListRolePoliciesCommand.d.ts +5 -0
- package/dist-types/commands/ListRoleTagsCommand.d.ts +5 -0
- package/dist-types/commands/ListRolesCommand.d.ts +5 -0
- package/dist-types/commands/ListSAMLProviderTagsCommand.d.ts +5 -0
- package/dist-types/commands/ListSAMLProvidersCommand.d.ts +1 -0
- package/dist-types/commands/ListSSHPublicKeysCommand.d.ts +5 -0
- package/dist-types/commands/ListServerCertificateTagsCommand.d.ts +5 -0
- package/dist-types/commands/ListServerCertificatesCommand.d.ts +5 -0
- package/dist-types/commands/ListServiceSpecificCredentialsCommand.d.ts +4 -0
- package/dist-types/commands/ListSigningCertificatesCommand.d.ts +5 -0
- package/dist-types/commands/ListUserPoliciesCommand.d.ts +5 -0
- package/dist-types/commands/ListUserTagsCommand.d.ts +5 -0
- package/dist-types/commands/ListUsersCommand.d.ts +5 -0
- package/dist-types/commands/ListVirtualMFADevicesCommand.d.ts +5 -0
- package/dist-types/commands/PutGroupPolicyCommand.d.ts +5 -0
- package/dist-types/commands/PutRolePermissionsBoundaryCommand.d.ts +4 -0
- package/dist-types/commands/PutRolePolicyCommand.d.ts +5 -0
- package/dist-types/commands/PutUserPermissionsBoundaryCommand.d.ts +4 -0
- package/dist-types/commands/PutUserPolicyCommand.d.ts +5 -0
- package/dist-types/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +4 -0
- package/dist-types/commands/RemoveRoleFromInstanceProfileCommand.d.ts +4 -0
- package/dist-types/commands/RemoveUserFromGroupCommand.d.ts +4 -0
- package/dist-types/commands/ResetServiceSpecificCredentialCommand.d.ts +4 -0
- package/dist-types/commands/ResyncMFADeviceCommand.d.ts +6 -0
- package/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +4 -0
- package/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +3 -0
- package/dist-types/commands/SimulateCustomPolicyCommand.d.ts +29 -0
- package/dist-types/commands/SimulatePrincipalPolicyCommand.d.ts +30 -0
- package/dist-types/commands/TagInstanceProfileCommand.d.ts +9 -0
- package/dist-types/commands/TagMFADeviceCommand.d.ts +9 -0
- package/dist-types/commands/TagOpenIDConnectProviderCommand.d.ts +9 -0
- package/dist-types/commands/TagPolicyCommand.d.ts +9 -0
- package/dist-types/commands/TagRoleCommand.d.ts +9 -0
- package/dist-types/commands/TagSAMLProviderCommand.d.ts +9 -0
- package/dist-types/commands/TagServerCertificateCommand.d.ts +9 -0
- package/dist-types/commands/TagUserCommand.d.ts +9 -0
- package/dist-types/commands/UntagInstanceProfileCommand.d.ts +6 -0
- package/dist-types/commands/UntagMFADeviceCommand.d.ts +6 -0
- package/dist-types/commands/UntagOpenIDConnectProviderCommand.d.ts +6 -0
- package/dist-types/commands/UntagPolicyCommand.d.ts +6 -0
- package/dist-types/commands/UntagRoleCommand.d.ts +6 -0
- package/dist-types/commands/UntagSAMLProviderCommand.d.ts +6 -0
- package/dist-types/commands/UntagServerCertificateCommand.d.ts +6 -0
- package/dist-types/commands/UntagUserCommand.d.ts +6 -0
- package/dist-types/commands/UpdateAccessKeyCommand.d.ts +5 -0
- package/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +11 -0
- package/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +4 -0
- package/dist-types/commands/UpdateGroupCommand.d.ts +5 -0
- package/dist-types/commands/UpdateLoginProfileCommand.d.ts +5 -0
- package/dist-types/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +6 -0
- package/dist-types/commands/UpdateRoleCommand.d.ts +5 -0
- package/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +4 -0
- package/dist-types/commands/UpdateSAMLProviderCommand.d.ts +4 -0
- package/dist-types/commands/UpdateSSHPublicKeyCommand.d.ts +5 -0
- package/dist-types/commands/UpdateServerCertificateCommand.d.ts +5 -0
- package/dist-types/commands/UpdateServiceSpecificCredentialCommand.d.ts +5 -0
- package/dist-types/commands/UpdateSigningCertificateCommand.d.ts +5 -0
- package/dist-types/commands/UpdateUserCommand.d.ts +5 -0
- package/dist-types/commands/UploadSSHPublicKeyCommand.d.ts +4 -0
- package/dist-types/commands/UploadServerCertificateCommand.d.ts +13 -0
- package/dist-types/commands/UploadSigningCertificateCommand.d.ts +4 -0
- package/package.json +8 -8
|
@@ -35,6 +35,12 @@ export interface UntagServerCertificateCommandOutput extends __MetadataBearer {
|
|
|
35
35
|
* import { IAMClient, UntagServerCertificateCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
36
36
|
* // const { IAMClient, UntagServerCertificateCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
37
37
|
* const client = new IAMClient(config);
|
|
38
|
+
* const input = {
|
|
39
|
+
* ServerCertificateName: "STRING_VALUE", // required
|
|
40
|
+
* TagKeys: [ // required
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* };
|
|
38
44
|
* const command = new UntagServerCertificateCommand(input);
|
|
39
45
|
* const response = await client.send(command);
|
|
40
46
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface UntagUserCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { IAMClient, UntagUserCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
28
28
|
* // const { IAMClient, UntagUserCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
29
29
|
* const client = new IAMClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* UserName: "STRING_VALUE", // required
|
|
32
|
+
* TagKeys: [ // required
|
|
33
|
+
* "STRING_VALUE",
|
|
34
|
+
* ],
|
|
35
|
+
* };
|
|
30
36
|
* const command = new UntagUserCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
|
@@ -36,6 +36,11 @@ export interface UpdateAccessKeyCommandOutput extends __MetadataBearer {
|
|
|
36
36
|
* import { IAMClient, UpdateAccessKeyCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
37
37
|
* // const { IAMClient, UpdateAccessKeyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
38
38
|
* const client = new IAMClient(config);
|
|
39
|
+
* const input = {
|
|
40
|
+
* UserName: "STRING_VALUE",
|
|
41
|
+
* AccessKeyId: "STRING_VALUE", // required
|
|
42
|
+
* Status: "Active" || "Inactive", // required
|
|
43
|
+
* };
|
|
39
44
|
* const command = new UpdateAccessKeyCommand(input);
|
|
40
45
|
* const response = await client.send(command);
|
|
41
46
|
* ```
|
|
@@ -36,6 +36,17 @@ export interface UpdateAccountPasswordPolicyCommandOutput extends __MetadataBear
|
|
|
36
36
|
* import { IAMClient, UpdateAccountPasswordPolicyCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
37
37
|
* // const { IAMClient, UpdateAccountPasswordPolicyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
38
38
|
* const client = new IAMClient(config);
|
|
39
|
+
* const input = {
|
|
40
|
+
* MinimumPasswordLength: Number("int"),
|
|
41
|
+
* RequireSymbols: true || false,
|
|
42
|
+
* RequireNumbers: true || false,
|
|
43
|
+
* RequireUppercaseCharacters: true || false,
|
|
44
|
+
* RequireLowercaseCharacters: true || false,
|
|
45
|
+
* AllowUsersToChangePassword: true || false,
|
|
46
|
+
* MaxPasswordAge: Number("int"),
|
|
47
|
+
* PasswordReusePrevention: Number("int"),
|
|
48
|
+
* HardExpiry: true || false,
|
|
49
|
+
* };
|
|
39
50
|
* const command = new UpdateAccountPasswordPolicyCommand(input);
|
|
40
51
|
* const response = await client.send(command);
|
|
41
52
|
* ```
|
|
@@ -29,6 +29,10 @@ export interface UpdateAssumeRolePolicyCommandOutput extends __MetadataBearer {
|
|
|
29
29
|
* import { IAMClient, UpdateAssumeRolePolicyCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
30
30
|
* // const { IAMClient, UpdateAssumeRolePolicyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
31
31
|
* const client = new IAMClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* RoleName: "STRING_VALUE", // required
|
|
34
|
+
* PolicyDocument: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
32
36
|
* const command = new UpdateAssumeRolePolicyCommand(input);
|
|
33
37
|
* const response = await client.send(command);
|
|
34
38
|
* ```
|
|
@@ -40,6 +40,11 @@ export interface UpdateGroupCommandOutput extends __MetadataBearer {
|
|
|
40
40
|
* import { IAMClient, UpdateGroupCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
41
41
|
* // const { IAMClient, UpdateGroupCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
42
42
|
* const client = new IAMClient(config);
|
|
43
|
+
* const input = {
|
|
44
|
+
* GroupName: "STRING_VALUE", // required
|
|
45
|
+
* NewPath: "STRING_VALUE",
|
|
46
|
+
* NewGroupName: "STRING_VALUE",
|
|
47
|
+
* };
|
|
43
48
|
* const command = new UpdateGroupCommand(input);
|
|
44
49
|
* const response = await client.send(command);
|
|
45
50
|
* ```
|
|
@@ -32,6 +32,11 @@ export interface UpdateLoginProfileCommandOutput extends __MetadataBearer {
|
|
|
32
32
|
* import { IAMClient, UpdateLoginProfileCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
33
33
|
* // const { IAMClient, UpdateLoginProfileCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
34
34
|
* const client = new IAMClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* UserName: "STRING_VALUE", // required
|
|
37
|
+
* Password: "STRING_VALUE",
|
|
38
|
+
* PasswordResetRequired: true || false,
|
|
39
|
+
* };
|
|
35
40
|
* const command = new UpdateLoginProfileCommand(input);
|
|
36
41
|
* const response = await client.send(command);
|
|
37
42
|
* ```
|
|
@@ -48,6 +48,12 @@ export interface UpdateOpenIDConnectProviderThumbprintCommandOutput extends __Me
|
|
|
48
48
|
* import { IAMClient, UpdateOpenIDConnectProviderThumbprintCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
49
49
|
* // const { IAMClient, UpdateOpenIDConnectProviderThumbprintCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
50
50
|
* const client = new IAMClient(config);
|
|
51
|
+
* const input = {
|
|
52
|
+
* OpenIDConnectProviderArn: "STRING_VALUE", // required
|
|
53
|
+
* ThumbprintList: [ // required
|
|
54
|
+
* "STRING_VALUE",
|
|
55
|
+
* ],
|
|
56
|
+
* };
|
|
51
57
|
* const command = new UpdateOpenIDConnectProviderThumbprintCommand(input);
|
|
52
58
|
* const response = await client.send(command);
|
|
53
59
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface UpdateRoleCommandOutput extends UpdateRoleResponse, __MetadataB
|
|
|
26
26
|
* import { IAMClient, UpdateRoleCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
27
27
|
* // const { IAMClient, UpdateRoleCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
28
28
|
* const client = new IAMClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* RoleName: "STRING_VALUE", // required
|
|
31
|
+
* Description: "STRING_VALUE",
|
|
32
|
+
* MaxSessionDuration: Number("int"),
|
|
33
|
+
* };
|
|
29
34
|
* const command = new UpdateRoleCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface UpdateRoleDescriptionCommandOutput extends UpdateRoleDescriptio
|
|
|
28
28
|
* import { IAMClient, UpdateRoleDescriptionCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
29
29
|
* // const { IAMClient, UpdateRoleDescriptionCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
30
30
|
* const client = new IAMClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* RoleName: "STRING_VALUE", // required
|
|
33
|
+
* Description: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
31
35
|
* const command = new UpdateRoleDescriptionCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -29,6 +29,10 @@ export interface UpdateSAMLProviderCommandOutput extends UpdateSAMLProviderRespo
|
|
|
29
29
|
* import { IAMClient, UpdateSAMLProviderCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
30
30
|
* // const { IAMClient, UpdateSAMLProviderCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
31
31
|
* const client = new IAMClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* SAMLMetadataDocument: "STRING_VALUE", // required
|
|
34
|
+
* SAMLProviderArn: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
32
36
|
* const command = new UpdateSAMLProviderCommand(input);
|
|
33
37
|
* const response = await client.send(command);
|
|
34
38
|
* ```
|
|
@@ -32,6 +32,11 @@ export interface UpdateSSHPublicKeyCommandOutput extends __MetadataBearer {
|
|
|
32
32
|
* import { IAMClient, UpdateSSHPublicKeyCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
33
33
|
* // const { IAMClient, UpdateSSHPublicKeyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
34
34
|
* const client = new IAMClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* UserName: "STRING_VALUE", // required
|
|
37
|
+
* SSHPublicKeyId: "STRING_VALUE", // required
|
|
38
|
+
* Status: "Active" || "Inactive", // required
|
|
39
|
+
* };
|
|
35
40
|
* const command = new UpdateSSHPublicKeyCommand(input);
|
|
36
41
|
* const response = await client.send(command);
|
|
37
42
|
* ```
|
|
@@ -45,6 +45,11 @@ export interface UpdateServerCertificateCommandOutput extends __MetadataBearer {
|
|
|
45
45
|
* import { IAMClient, UpdateServerCertificateCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
46
46
|
* // const { IAMClient, UpdateServerCertificateCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
47
47
|
* const client = new IAMClient(config);
|
|
48
|
+
* const input = {
|
|
49
|
+
* ServerCertificateName: "STRING_VALUE", // required
|
|
50
|
+
* NewPath: "STRING_VALUE",
|
|
51
|
+
* NewServerCertificateName: "STRING_VALUE",
|
|
52
|
+
* };
|
|
48
53
|
* const command = new UpdateServerCertificateCommand(input);
|
|
49
54
|
* const response = await client.send(command);
|
|
50
55
|
* ```
|
|
@@ -29,6 +29,11 @@ export interface UpdateServiceSpecificCredentialCommandOutput extends __Metadata
|
|
|
29
29
|
* import { IAMClient, UpdateServiceSpecificCredentialCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
30
30
|
* // const { IAMClient, UpdateServiceSpecificCredentialCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
31
31
|
* const client = new IAMClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* UserName: "STRING_VALUE",
|
|
34
|
+
* ServiceSpecificCredentialId: "STRING_VALUE", // required
|
|
35
|
+
* Status: "Active" || "Inactive", // required
|
|
36
|
+
* };
|
|
32
37
|
* const command = new UpdateServiceSpecificCredentialCommand(input);
|
|
33
38
|
* const response = await client.send(command);
|
|
34
39
|
* ```
|
|
@@ -33,6 +33,11 @@ export interface UpdateSigningCertificateCommandOutput extends __MetadataBearer
|
|
|
33
33
|
* import { IAMClient, UpdateSigningCertificateCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
34
34
|
* // const { IAMClient, UpdateSigningCertificateCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
35
35
|
* const client = new IAMClient(config);
|
|
36
|
+
* const input = {
|
|
37
|
+
* UserName: "STRING_VALUE",
|
|
38
|
+
* CertificateId: "STRING_VALUE", // required
|
|
39
|
+
* Status: "Active" || "Inactive", // required
|
|
40
|
+
* };
|
|
36
41
|
* const command = new UpdateSigningCertificateCommand(input);
|
|
37
42
|
* const response = await client.send(command);
|
|
38
43
|
* ```
|
|
@@ -38,6 +38,11 @@ export interface UpdateUserCommandOutput extends __MetadataBearer {
|
|
|
38
38
|
* import { IAMClient, UpdateUserCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
39
39
|
* // const { IAMClient, UpdateUserCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
40
40
|
* const client = new IAMClient(config);
|
|
41
|
+
* const input = {
|
|
42
|
+
* UserName: "STRING_VALUE", // required
|
|
43
|
+
* NewPath: "STRING_VALUE",
|
|
44
|
+
* NewUserName: "STRING_VALUE",
|
|
45
|
+
* };
|
|
41
46
|
* const command = new UpdateUserCommand(input);
|
|
42
47
|
* const response = await client.send(command);
|
|
43
48
|
* ```
|
|
@@ -30,6 +30,10 @@ export interface UploadSSHPublicKeyCommandOutput extends UploadSSHPublicKeyRespo
|
|
|
30
30
|
* import { IAMClient, UploadSSHPublicKeyCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
31
31
|
* // const { IAMClient, UploadSSHPublicKeyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
32
32
|
* const client = new IAMClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* UserName: "STRING_VALUE", // required
|
|
35
|
+
* SSHPublicKeyBody: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
33
37
|
* const command = new UploadSSHPublicKeyCommand(input);
|
|
34
38
|
* const response = await client.send(command);
|
|
35
39
|
* ```
|
|
@@ -49,6 +49,19 @@ export interface UploadServerCertificateCommandOutput extends UploadServerCertif
|
|
|
49
49
|
* import { IAMClient, UploadServerCertificateCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
50
50
|
* // const { IAMClient, UploadServerCertificateCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
51
51
|
* const client = new IAMClient(config);
|
|
52
|
+
* const input = {
|
|
53
|
+
* Path: "STRING_VALUE",
|
|
54
|
+
* ServerCertificateName: "STRING_VALUE", // required
|
|
55
|
+
* CertificateBody: "STRING_VALUE", // required
|
|
56
|
+
* PrivateKey: "STRING_VALUE", // required
|
|
57
|
+
* CertificateChain: "STRING_VALUE",
|
|
58
|
+
* Tags: [
|
|
59
|
+
* {
|
|
60
|
+
* Key: "STRING_VALUE", // required
|
|
61
|
+
* Value: "STRING_VALUE", // required
|
|
62
|
+
* },
|
|
63
|
+
* ],
|
|
64
|
+
* };
|
|
52
65
|
* const command = new UploadServerCertificateCommand(input);
|
|
53
66
|
* const response = await client.send(command);
|
|
54
67
|
* ```
|
|
@@ -45,6 +45,10 @@ export interface UploadSigningCertificateCommandOutput extends UploadSigningCert
|
|
|
45
45
|
* import { IAMClient, UploadSigningCertificateCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
46
46
|
* // const { IAMClient, UploadSigningCertificateCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
47
47
|
* const client = new IAMClient(config);
|
|
48
|
+
* const input = {
|
|
49
|
+
* UserName: "STRING_VALUE",
|
|
50
|
+
* CertificateBody: "STRING_VALUE", // required
|
|
51
|
+
* };
|
|
48
52
|
* const command = new UploadSigningCertificateCommand(input);
|
|
49
53
|
* const response = await client.send(command);
|
|
50
54
|
* ```
|
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.300.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",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"@aws-sdk/util-waiter": "3.296.0",
|
|
57
57
|
"fast-xml-parser": "4.1.2",
|