@aws-sdk/client-iam 3.298.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 +12 -12
|
@@ -28,6 +28,12 @@ export interface EnableMFADeviceCommandOutput extends __MetadataBearer {
|
|
|
28
28
|
* import { IAMClient, EnableMFADeviceCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
29
29
|
* // const { IAMClient, EnableMFADeviceCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
30
30
|
* const client = new IAMClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* UserName: "STRING_VALUE", // required
|
|
33
|
+
* SerialNumber: "STRING_VALUE", // required
|
|
34
|
+
* AuthenticationCode1: "STRING_VALUE", // required
|
|
35
|
+
* AuthenticationCode2: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
31
37
|
* const command = new EnableMFADeviceCommand(input);
|
|
32
38
|
* const response = await client.send(command);
|
|
33
39
|
* ```
|
|
@@ -28,6 +28,7 @@ export interface GenerateCredentialReportCommandOutput extends GenerateCredentia
|
|
|
28
28
|
* import { IAMClient, GenerateCredentialReportCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
29
29
|
* // const { IAMClient, GenerateCredentialReportCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
30
30
|
* const client = new IAMClient(config);
|
|
31
|
+
* const input = {};
|
|
31
32
|
* const command = new GenerateCredentialReportCommand(input);
|
|
32
33
|
* const response = await client.send(command);
|
|
33
34
|
* ```
|
|
@@ -156,6 +156,10 @@ export interface GenerateOrganizationsAccessReportCommandOutput extends Generate
|
|
|
156
156
|
* import { IAMClient, GenerateOrganizationsAccessReportCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
157
157
|
* // const { IAMClient, GenerateOrganizationsAccessReportCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
158
158
|
* const client = new IAMClient(config);
|
|
159
|
+
* const input = {
|
|
160
|
+
* EntityPath: "STRING_VALUE", // required
|
|
161
|
+
* OrganizationsPolicyId: "STRING_VALUE",
|
|
162
|
+
* };
|
|
159
163
|
* const command = new GenerateOrganizationsAccessReportCommand(input);
|
|
160
164
|
* const response = await client.send(command);
|
|
161
165
|
* ```
|
|
@@ -79,6 +79,10 @@ export interface GenerateServiceLastAccessedDetailsCommandOutput extends Generat
|
|
|
79
79
|
* import { IAMClient, GenerateServiceLastAccessedDetailsCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
80
80
|
* // const { IAMClient, GenerateServiceLastAccessedDetailsCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
81
81
|
* const client = new IAMClient(config);
|
|
82
|
+
* const input = {
|
|
83
|
+
* Arn: "STRING_VALUE", // required
|
|
84
|
+
* Granularity: "SERVICE_LEVEL" || "ACTION_LEVEL",
|
|
85
|
+
* };
|
|
82
86
|
* const command = new GenerateServiceLastAccessedDetailsCommand(input);
|
|
83
87
|
* const response = await client.send(command);
|
|
84
88
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface GetAccessKeyLastUsedCommandOutput extends GetAccessKeyLastUsedR
|
|
|
28
28
|
* import { IAMClient, GetAccessKeyLastUsedCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
29
29
|
* // const { IAMClient, GetAccessKeyLastUsedCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
30
30
|
* const client = new IAMClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* AccessKeyId: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new GetAccessKeyLastUsedCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -39,6 +39,13 @@ export interface GetAccountAuthorizationDetailsCommandOutput extends GetAccountA
|
|
|
39
39
|
* import { IAMClient, GetAccountAuthorizationDetailsCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
40
40
|
* // const { IAMClient, GetAccountAuthorizationDetailsCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
41
41
|
* const client = new IAMClient(config);
|
|
42
|
+
* const input = {
|
|
43
|
+
* Filter: [
|
|
44
|
+
* "User" || "Role" || "Group" || "LocalManagedPolicy" || "AWSManagedPolicy",
|
|
45
|
+
* ],
|
|
46
|
+
* MaxItems: Number("int"),
|
|
47
|
+
* Marker: "STRING_VALUE",
|
|
48
|
+
* };
|
|
42
49
|
* const command = new GetAccountAuthorizationDetailsCommand(input);
|
|
43
50
|
* const response = await client.send(command);
|
|
44
51
|
* ```
|
|
@@ -29,6 +29,7 @@ export interface GetAccountPasswordPolicyCommandOutput extends GetAccountPasswor
|
|
|
29
29
|
* import { IAMClient, GetAccountPasswordPolicyCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
30
30
|
* // const { IAMClient, GetAccountPasswordPolicyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
31
31
|
* const client = new IAMClient(config);
|
|
32
|
+
* const input = {};
|
|
32
33
|
* const command = new GetAccountPasswordPolicyCommand(input);
|
|
33
34
|
* const response = await client.send(command);
|
|
34
35
|
* ```
|
|
@@ -29,6 +29,7 @@ export interface GetAccountSummaryCommandOutput extends GetAccountSummaryRespons
|
|
|
29
29
|
* import { IAMClient, GetAccountSummaryCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
30
30
|
* // const { IAMClient, GetAccountSummaryCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
31
31
|
* const client = new IAMClient(config);
|
|
32
|
+
* const input = {};
|
|
32
33
|
* const command = new GetAccountSummaryCommand(input);
|
|
33
34
|
* const response = await client.send(command);
|
|
34
35
|
* ```
|
|
@@ -35,6 +35,11 @@ export interface GetContextKeysForCustomPolicyCommandOutput extends GetContextKe
|
|
|
35
35
|
* import { IAMClient, GetContextKeysForCustomPolicyCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
36
36
|
* // const { IAMClient, GetContextKeysForCustomPolicyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
37
37
|
* const client = new IAMClient(config);
|
|
38
|
+
* const input = {
|
|
39
|
+
* PolicyInputList: [ // required
|
|
40
|
+
* "STRING_VALUE",
|
|
41
|
+
* ],
|
|
42
|
+
* };
|
|
38
43
|
* const command = new GetContextKeysForCustomPolicyCommand(input);
|
|
39
44
|
* const response = await client.send(command);
|
|
40
45
|
* ```
|
|
@@ -39,6 +39,12 @@ export interface GetContextKeysForPrincipalPolicyCommandOutput extends GetContex
|
|
|
39
39
|
* import { IAMClient, GetContextKeysForPrincipalPolicyCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
40
40
|
* // const { IAMClient, GetContextKeysForPrincipalPolicyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
41
41
|
* const client = new IAMClient(config);
|
|
42
|
+
* const input = {
|
|
43
|
+
* PolicySourceArn: "STRING_VALUE", // required
|
|
44
|
+
* PolicyInputList: [
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* };
|
|
42
48
|
* const command = new GetContextKeysForPrincipalPolicyCommand(input);
|
|
43
49
|
* const response = await client.send(command);
|
|
44
50
|
* ```
|
|
@@ -28,6 +28,7 @@ export interface GetCredentialReportCommandOutput extends GetCredentialReportRes
|
|
|
28
28
|
* import { IAMClient, GetCredentialReportCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
29
29
|
* // const { IAMClient, GetCredentialReportCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
30
30
|
* const client = new IAMClient(config);
|
|
31
|
+
* const input = {};
|
|
31
32
|
* const command = new GetCredentialReportCommand(input);
|
|
32
33
|
* const response = await client.send(command);
|
|
33
34
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface GetGroupCommandOutput extends GetGroupResponse, __MetadataBeare
|
|
|
27
27
|
* import { IAMClient, GetGroupCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
28
28
|
* // const { IAMClient, GetGroupCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
29
29
|
* const client = new IAMClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* GroupName: "STRING_VALUE", // required
|
|
32
|
+
* Marker: "STRING_VALUE",
|
|
33
|
+
* MaxItems: Number("int"),
|
|
34
|
+
* };
|
|
30
35
|
* const command = new GetGroupCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -40,6 +40,10 @@ export interface GetGroupPolicyCommandOutput extends GetGroupPolicyResponse, __M
|
|
|
40
40
|
* import { IAMClient, GetGroupPolicyCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
41
41
|
* // const { IAMClient, GetGroupPolicyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
42
42
|
* const client = new IAMClient(config);
|
|
43
|
+
* const input = {
|
|
44
|
+
* GroupName: "STRING_VALUE", // required
|
|
45
|
+
* PolicyName: "STRING_VALUE", // required
|
|
46
|
+
* };
|
|
43
47
|
* const command = new GetGroupPolicyCommand(input);
|
|
44
48
|
* const response = await client.send(command);
|
|
45
49
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface GetInstanceProfileCommandOutput extends GetInstanceProfileRespo
|
|
|
29
29
|
* import { IAMClient, GetInstanceProfileCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
30
30
|
* // const { IAMClient, GetInstanceProfileCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
31
31
|
* const client = new IAMClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* InstanceProfileName: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new GetInstanceProfileCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -35,6 +35,9 @@ export interface GetLoginProfileCommandOutput extends GetLoginProfileResponse, _
|
|
|
35
35
|
* import { IAMClient, GetLoginProfileCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
36
36
|
* // const { IAMClient, GetLoginProfileCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
37
37
|
* const client = new IAMClient(config);
|
|
38
|
+
* const input = {
|
|
39
|
+
* UserName: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
38
41
|
* const command = new GetLoginProfileCommand(input);
|
|
39
42
|
* const response = await client.send(command);
|
|
40
43
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface GetOpenIDConnectProviderCommandOutput extends GetOpenIDConnectP
|
|
|
27
27
|
* import { IAMClient, GetOpenIDConnectProviderCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
28
28
|
* // const { IAMClient, GetOpenIDConnectProviderCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
29
29
|
* const client = new IAMClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* OpenIDConnectProviderArn: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new GetOpenIDConnectProviderCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -44,6 +44,12 @@ export interface GetOrganizationsAccessReportCommandOutput extends GetOrganizati
|
|
|
44
44
|
* import { IAMClient, GetOrganizationsAccessReportCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
45
45
|
* // const { IAMClient, GetOrganizationsAccessReportCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
46
46
|
* const client = new IAMClient(config);
|
|
47
|
+
* const input = {
|
|
48
|
+
* JobId: "STRING_VALUE", // required
|
|
49
|
+
* MaxItems: Number("int"),
|
|
50
|
+
* Marker: "STRING_VALUE",
|
|
51
|
+
* SortKey: "SERVICE_NAMESPACE_ASCENDING" || "SERVICE_NAMESPACE_DESCENDING" || "LAST_AUTHENTICATED_TIME_ASCENDING" || "LAST_AUTHENTICATED_TIME_DESCENDING",
|
|
52
|
+
* };
|
|
47
53
|
* const command = new GetOrganizationsAccessReportCommand(input);
|
|
48
54
|
* const response = await client.send(command);
|
|
49
55
|
* ```
|
|
@@ -35,6 +35,9 @@ export interface GetPolicyCommandOutput extends GetPolicyResponse, __MetadataBea
|
|
|
35
35
|
* import { IAMClient, GetPolicyCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
36
36
|
* // const { IAMClient, GetPolicyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
37
37
|
* const client = new IAMClient(config);
|
|
38
|
+
* const input = {
|
|
39
|
+
* PolicyArn: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
38
41
|
* const command = new GetPolicyCommand(input);
|
|
39
42
|
* const response = await client.send(command);
|
|
40
43
|
* ```
|
|
@@ -41,6 +41,10 @@ export interface GetPolicyVersionCommandOutput extends GetPolicyVersionResponse,
|
|
|
41
41
|
* import { IAMClient, GetPolicyVersionCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
42
42
|
* // const { IAMClient, GetPolicyVersionCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
43
43
|
* const client = new IAMClient(config);
|
|
44
|
+
* const input = {
|
|
45
|
+
* PolicyArn: "STRING_VALUE", // required
|
|
46
|
+
* VersionId: "STRING_VALUE", // required
|
|
47
|
+
* };
|
|
44
48
|
* const command = new GetPolicyVersionCommand(input);
|
|
45
49
|
* const response = await client.send(command);
|
|
46
50
|
* ```
|
|
@@ -35,6 +35,9 @@ export interface GetRoleCommandOutput extends GetRoleResponse, __MetadataBearer
|
|
|
35
35
|
* import { IAMClient, GetRoleCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
36
36
|
* // const { IAMClient, GetRoleCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
37
37
|
* const client = new IAMClient(config);
|
|
38
|
+
* const input = {
|
|
39
|
+
* RoleName: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
38
41
|
* const command = new GetRoleCommand(input);
|
|
39
42
|
* const response = await client.send(command);
|
|
40
43
|
* ```
|
|
@@ -42,6 +42,10 @@ export interface GetRolePolicyCommandOutput extends GetRolePolicyResponse, __Met
|
|
|
42
42
|
* import { IAMClient, GetRolePolicyCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
43
43
|
* // const { IAMClient, GetRolePolicyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
44
44
|
* const client = new IAMClient(config);
|
|
45
|
+
* const input = {
|
|
46
|
+
* RoleName: "STRING_VALUE", // required
|
|
47
|
+
* PolicyName: "STRING_VALUE", // required
|
|
48
|
+
* };
|
|
45
49
|
* const command = new GetRolePolicyCommand(input);
|
|
46
50
|
* const response = await client.send(command);
|
|
47
51
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface GetSAMLProviderCommandOutput extends GetSAMLProviderResponse, _
|
|
|
30
30
|
* import { IAMClient, GetSAMLProviderCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
31
31
|
* // const { IAMClient, GetSAMLProviderCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
32
32
|
* const client = new IAMClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* SAMLProviderArn: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
33
36
|
* const command = new GetSAMLProviderCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -30,6 +30,11 @@ export interface GetSSHPublicKeyCommandOutput extends GetSSHPublicKeyResponse, _
|
|
|
30
30
|
* import { IAMClient, GetSSHPublicKeyCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
31
31
|
* // const { IAMClient, GetSSHPublicKeyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
32
32
|
* const client = new IAMClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* UserName: "STRING_VALUE", // required
|
|
35
|
+
* SSHPublicKeyId: "STRING_VALUE", // required
|
|
36
|
+
* Encoding: "SSH" || "PEM", // required
|
|
37
|
+
* };
|
|
33
38
|
* const command = new GetSSHPublicKeyCommand(input);
|
|
34
39
|
* const response = await client.send(command);
|
|
35
40
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface GetServerCertificateCommandOutput extends GetServerCertificateR
|
|
|
30
30
|
* import { IAMClient, GetServerCertificateCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
31
31
|
* // const { IAMClient, GetServerCertificateCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
32
32
|
* const client = new IAMClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* ServerCertificateName: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
33
36
|
* const command = new GetServerCertificateCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -77,6 +77,11 @@ export interface GetServiceLastAccessedDetailsCommandOutput extends GetServiceLa
|
|
|
77
77
|
* import { IAMClient, GetServiceLastAccessedDetailsCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
78
78
|
* // const { IAMClient, GetServiceLastAccessedDetailsCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
79
79
|
* const client = new IAMClient(config);
|
|
80
|
+
* const input = {
|
|
81
|
+
* JobId: "STRING_VALUE", // required
|
|
82
|
+
* MaxItems: Number("int"),
|
|
83
|
+
* Marker: "STRING_VALUE",
|
|
84
|
+
* };
|
|
80
85
|
* const command = new GetServiceLastAccessedDetailsCommand(input);
|
|
81
86
|
* const response = await client.send(command);
|
|
82
87
|
* ```
|
|
@@ -51,6 +51,12 @@ export interface GetServiceLastAccessedDetailsWithEntitiesCommandOutput extends
|
|
|
51
51
|
* import { IAMClient, GetServiceLastAccessedDetailsWithEntitiesCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
52
52
|
* // const { IAMClient, GetServiceLastAccessedDetailsWithEntitiesCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
53
53
|
* const client = new IAMClient(config);
|
|
54
|
+
* const input = {
|
|
55
|
+
* JobId: "STRING_VALUE", // required
|
|
56
|
+
* ServiceNamespace: "STRING_VALUE", // required
|
|
57
|
+
* MaxItems: Number("int"),
|
|
58
|
+
* Marker: "STRING_VALUE",
|
|
59
|
+
* };
|
|
54
60
|
* const command = new GetServiceLastAccessedDetailsWithEntitiesCommand(input);
|
|
55
61
|
* const response = await client.send(command);
|
|
56
62
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface GetServiceLinkedRoleDeletionStatusCommandOutput extends GetServ
|
|
|
30
30
|
* import { IAMClient, GetServiceLinkedRoleDeletionStatusCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
31
31
|
* // const { IAMClient, GetServiceLinkedRoleDeletionStatusCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
32
32
|
* const client = new IAMClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* DeletionTaskId: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
33
36
|
* const command = new GetServiceLinkedRoleDeletionStatusCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface GetUserCommandOutput extends GetUserResponse, __MetadataBearer
|
|
|
29
29
|
* import { IAMClient, GetUserCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
30
30
|
* // const { IAMClient, GetUserCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
31
31
|
* const client = new IAMClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* UserName: "STRING_VALUE",
|
|
34
|
+
* };
|
|
32
35
|
* const command = new GetUserCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -40,6 +40,10 @@ export interface GetUserPolicyCommandOutput extends GetUserPolicyResponse, __Met
|
|
|
40
40
|
* import { IAMClient, GetUserPolicyCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
41
41
|
* // const { IAMClient, GetUserPolicyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
42
42
|
* const client = new IAMClient(config);
|
|
43
|
+
* const input = {
|
|
44
|
+
* UserName: "STRING_VALUE", // required
|
|
45
|
+
* PolicyName: "STRING_VALUE", // required
|
|
46
|
+
* };
|
|
43
47
|
* const command = new GetUserPolicyCommand(input);
|
|
44
48
|
* const response = await client.send(command);
|
|
45
49
|
* ```
|
|
@@ -39,6 +39,11 @@ export interface ListAccessKeysCommandOutput extends ListAccessKeysResponse, __M
|
|
|
39
39
|
* import { IAMClient, ListAccessKeysCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
40
40
|
* // const { IAMClient, ListAccessKeysCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
41
41
|
* const client = new IAMClient(config);
|
|
42
|
+
* const input = {
|
|
43
|
+
* UserName: "STRING_VALUE",
|
|
44
|
+
* Marker: "STRING_VALUE",
|
|
45
|
+
* MaxItems: Number("int"),
|
|
46
|
+
* };
|
|
42
47
|
* const command = new ListAccessKeysCommand(input);
|
|
43
48
|
* const response = await client.send(command);
|
|
44
49
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface ListAccountAliasesCommandOutput extends ListAccountAliasesRespo
|
|
|
28
28
|
* import { IAMClient, ListAccountAliasesCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
29
29
|
* // const { IAMClient, ListAccountAliasesCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
30
30
|
* const client = new IAMClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* Marker: "STRING_VALUE",
|
|
33
|
+
* MaxItems: Number("int"),
|
|
34
|
+
* };
|
|
31
35
|
* const command = new ListAccountAliasesCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -35,6 +35,12 @@ export interface ListAttachedGroupPoliciesCommandOutput extends ListAttachedGrou
|
|
|
35
35
|
* import { IAMClient, ListAttachedGroupPoliciesCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
36
36
|
* // const { IAMClient, ListAttachedGroupPoliciesCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
37
37
|
* const client = new IAMClient(config);
|
|
38
|
+
* const input = {
|
|
39
|
+
* GroupName: "STRING_VALUE", // required
|
|
40
|
+
* PathPrefix: "STRING_VALUE",
|
|
41
|
+
* Marker: "STRING_VALUE",
|
|
42
|
+
* MaxItems: Number("int"),
|
|
43
|
+
* };
|
|
38
44
|
* const command = new ListAttachedGroupPoliciesCommand(input);
|
|
39
45
|
* const response = await client.send(command);
|
|
40
46
|
* ```
|
|
@@ -35,6 +35,12 @@ export interface ListAttachedRolePoliciesCommandOutput extends ListAttachedRoleP
|
|
|
35
35
|
* import { IAMClient, ListAttachedRolePoliciesCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
36
36
|
* // const { IAMClient, ListAttachedRolePoliciesCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
37
37
|
* const client = new IAMClient(config);
|
|
38
|
+
* const input = {
|
|
39
|
+
* RoleName: "STRING_VALUE", // required
|
|
40
|
+
* PathPrefix: "STRING_VALUE",
|
|
41
|
+
* Marker: "STRING_VALUE",
|
|
42
|
+
* MaxItems: Number("int"),
|
|
43
|
+
* };
|
|
38
44
|
* const command = new ListAttachedRolePoliciesCommand(input);
|
|
39
45
|
* const response = await client.send(command);
|
|
40
46
|
* ```
|
|
@@ -35,6 +35,12 @@ export interface ListAttachedUserPoliciesCommandOutput extends ListAttachedUserP
|
|
|
35
35
|
* import { IAMClient, ListAttachedUserPoliciesCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
36
36
|
* // const { IAMClient, ListAttachedUserPoliciesCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
37
37
|
* const client = new IAMClient(config);
|
|
38
|
+
* const input = {
|
|
39
|
+
* UserName: "STRING_VALUE", // required
|
|
40
|
+
* PathPrefix: "STRING_VALUE",
|
|
41
|
+
* Marker: "STRING_VALUE",
|
|
42
|
+
* MaxItems: Number("int"),
|
|
43
|
+
* };
|
|
38
44
|
* const command = new ListAttachedUserPoliciesCommand(input);
|
|
39
45
|
* const response = await client.send(command);
|
|
40
46
|
* ```
|
|
@@ -33,6 +33,14 @@ export interface ListEntitiesForPolicyCommandOutput extends ListEntitiesForPolic
|
|
|
33
33
|
* import { IAMClient, ListEntitiesForPolicyCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
34
34
|
* // const { IAMClient, ListEntitiesForPolicyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
35
35
|
* const client = new IAMClient(config);
|
|
36
|
+
* const input = {
|
|
37
|
+
* PolicyArn: "STRING_VALUE", // required
|
|
38
|
+
* EntityFilter: "User" || "Role" || "Group" || "LocalManagedPolicy" || "AWSManagedPolicy",
|
|
39
|
+
* PathPrefix: "STRING_VALUE",
|
|
40
|
+
* PolicyUsageFilter: "PermissionsPolicy" || "PermissionsBoundary",
|
|
41
|
+
* Marker: "STRING_VALUE",
|
|
42
|
+
* MaxItems: Number("int"),
|
|
43
|
+
* };
|
|
36
44
|
* const command = new ListEntitiesForPolicyCommand(input);
|
|
37
45
|
* const response = await client.send(command);
|
|
38
46
|
* ```
|
|
@@ -34,6 +34,11 @@ export interface ListGroupPoliciesCommandOutput extends ListGroupPoliciesRespons
|
|
|
34
34
|
* import { IAMClient, ListGroupPoliciesCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
35
35
|
* // const { IAMClient, ListGroupPoliciesCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
36
36
|
* const client = new IAMClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* GroupName: "STRING_VALUE", // required
|
|
39
|
+
* Marker: "STRING_VALUE",
|
|
40
|
+
* MaxItems: Number("int"),
|
|
41
|
+
* };
|
|
37
42
|
* const command = new ListGroupPoliciesCommand(input);
|
|
38
43
|
* const response = await client.send(command);
|
|
39
44
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface ListGroupsCommandOutput extends ListGroupsResponse, __MetadataB
|
|
|
28
28
|
* import { IAMClient, ListGroupsCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
29
29
|
* // const { IAMClient, ListGroupsCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
30
30
|
* const client = new IAMClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* PathPrefix: "STRING_VALUE",
|
|
33
|
+
* Marker: "STRING_VALUE",
|
|
34
|
+
* MaxItems: Number("int"),
|
|
35
|
+
* };
|
|
31
36
|
* const command = new ListGroupsCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface ListGroupsForUserCommandOutput extends ListGroupsForUserRespons
|
|
|
28
28
|
* import { IAMClient, ListGroupsForUserCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
29
29
|
* // const { IAMClient, ListGroupsForUserCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
30
30
|
* const client = new IAMClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* UserName: "STRING_VALUE", // required
|
|
33
|
+
* Marker: "STRING_VALUE",
|
|
34
|
+
* MaxItems: Number("int"),
|
|
35
|
+
* };
|
|
31
36
|
* const command = new ListGroupsForUserCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface ListInstanceProfileTagsCommandOutput extends ListInstanceProfil
|
|
|
28
28
|
* import { IAMClient, ListInstanceProfileTagsCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
29
29
|
* // const { IAMClient, ListInstanceProfileTagsCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
30
30
|
* const client = new IAMClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* InstanceProfileName: "STRING_VALUE", // required
|
|
33
|
+
* Marker: "STRING_VALUE",
|
|
34
|
+
* MaxItems: Number("int"),
|
|
35
|
+
* };
|
|
31
36
|
* const command = new ListInstanceProfileTagsCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -35,6 +35,11 @@ export interface ListInstanceProfilesCommandOutput extends ListInstanceProfilesR
|
|
|
35
35
|
* import { IAMClient, ListInstanceProfilesCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
36
36
|
* // const { IAMClient, ListInstanceProfilesCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
37
37
|
* const client = new IAMClient(config);
|
|
38
|
+
* const input = {
|
|
39
|
+
* PathPrefix: "STRING_VALUE",
|
|
40
|
+
* Marker: "STRING_VALUE",
|
|
41
|
+
* MaxItems: Number("int"),
|
|
42
|
+
* };
|
|
38
43
|
* const command = new ListInstanceProfilesCommand(input);
|
|
39
44
|
* const response = await client.send(command);
|
|
40
45
|
* ```
|
|
@@ -31,6 +31,11 @@ export interface ListInstanceProfilesForRoleCommandOutput extends ListInstancePr
|
|
|
31
31
|
* import { IAMClient, ListInstanceProfilesForRoleCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
32
32
|
* // const { IAMClient, ListInstanceProfilesForRoleCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
33
33
|
* const client = new IAMClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* RoleName: "STRING_VALUE", // required
|
|
36
|
+
* Marker: "STRING_VALUE",
|
|
37
|
+
* MaxItems: Number("int"),
|
|
38
|
+
* };
|
|
34
39
|
* const command = new ListInstanceProfilesForRoleCommand(input);
|
|
35
40
|
* const response = await client.send(command);
|
|
36
41
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface ListMFADeviceTagsCommandOutput extends ListMFADeviceTagsRespons
|
|
|
28
28
|
* import { IAMClient, ListMFADeviceTagsCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
29
29
|
* // const { IAMClient, ListMFADeviceTagsCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
30
30
|
* const client = new IAMClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* SerialNumber: "STRING_VALUE", // required
|
|
33
|
+
* Marker: "STRING_VALUE",
|
|
34
|
+
* MaxItems: Number("int"),
|
|
35
|
+
* };
|
|
31
36
|
* const command = new ListMFADeviceTagsCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -31,6 +31,11 @@ export interface ListMFADevicesCommandOutput extends ListMFADevicesResponse, __M
|
|
|
31
31
|
* import { IAMClient, ListMFADevicesCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
32
32
|
* // const { IAMClient, ListMFADevicesCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
33
33
|
* const client = new IAMClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* UserName: "STRING_VALUE",
|
|
36
|
+
* Marker: "STRING_VALUE",
|
|
37
|
+
* MaxItems: Number("int"),
|
|
38
|
+
* };
|
|
34
39
|
* const command = new ListMFADevicesCommand(input);
|
|
35
40
|
* const response = await client.send(command);
|
|
36
41
|
* ```
|
|
@@ -30,6 +30,11 @@ export interface ListOpenIDConnectProviderTagsCommandOutput extends ListOpenIDCo
|
|
|
30
30
|
* import { IAMClient, ListOpenIDConnectProviderTagsCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
31
31
|
* // const { IAMClient, ListOpenIDConnectProviderTagsCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
32
32
|
* const client = new IAMClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* OpenIDConnectProviderArn: "STRING_VALUE", // required
|
|
35
|
+
* Marker: "STRING_VALUE",
|
|
36
|
+
* MaxItems: Number("int"),
|
|
37
|
+
* };
|
|
33
38
|
* const command = new ListOpenIDConnectProviderTagsCommand(input);
|
|
34
39
|
* const response = await client.send(command);
|
|
35
40
|
* ```
|
|
@@ -31,6 +31,7 @@ export interface ListOpenIDConnectProvidersCommandOutput extends ListOpenIDConne
|
|
|
31
31
|
* import { IAMClient, ListOpenIDConnectProvidersCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
32
32
|
* // const { IAMClient, ListOpenIDConnectProvidersCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
33
33
|
* const client = new IAMClient(config);
|
|
34
|
+
* const input = {};
|
|
34
35
|
* const command = new ListOpenIDConnectProvidersCommand(input);
|
|
35
36
|
* const response = await client.send(command);
|
|
36
37
|
* ```
|
|
@@ -41,6 +41,14 @@ export interface ListPoliciesCommandOutput extends ListPoliciesResponse, __Metad
|
|
|
41
41
|
* import { IAMClient, ListPoliciesCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
42
42
|
* // const { IAMClient, ListPoliciesCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
43
43
|
* const client = new IAMClient(config);
|
|
44
|
+
* const input = {
|
|
45
|
+
* Scope: "All" || "AWS" || "Local",
|
|
46
|
+
* OnlyAttached: true || false,
|
|
47
|
+
* PathPrefix: "STRING_VALUE",
|
|
48
|
+
* PolicyUsageFilter: "PermissionsPolicy" || "PermissionsBoundary",
|
|
49
|
+
* Marker: "STRING_VALUE",
|
|
50
|
+
* MaxItems: Number("int"),
|
|
51
|
+
* };
|
|
44
52
|
* const command = new ListPoliciesCommand(input);
|
|
45
53
|
* const response = await client.send(command);
|
|
46
54
|
* ```
|
|
@@ -65,6 +65,13 @@ export interface ListPoliciesGrantingServiceAccessCommandOutput extends ListPoli
|
|
|
65
65
|
* import { IAMClient, ListPoliciesGrantingServiceAccessCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
66
66
|
* // const { IAMClient, ListPoliciesGrantingServiceAccessCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
67
67
|
* const client = new IAMClient(config);
|
|
68
|
+
* const input = {
|
|
69
|
+
* Marker: "STRING_VALUE",
|
|
70
|
+
* Arn: "STRING_VALUE", // required
|
|
71
|
+
* ServiceNamespaces: [ // required
|
|
72
|
+
* "STRING_VALUE",
|
|
73
|
+
* ],
|
|
74
|
+
* };
|
|
68
75
|
* const command = new ListPoliciesGrantingServiceAccessCommand(input);
|
|
69
76
|
* const response = await client.send(command);
|
|
70
77
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface ListPolicyTagsCommandOutput extends ListPolicyTagsResponse, __M
|
|
|
28
28
|
* import { IAMClient, ListPolicyTagsCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
29
29
|
* // const { IAMClient, ListPolicyTagsCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
30
30
|
* const client = new IAMClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* PolicyArn: "STRING_VALUE", // required
|
|
33
|
+
* Marker: "STRING_VALUE",
|
|
34
|
+
* MaxItems: Number("int"),
|
|
35
|
+
* };
|
|
31
36
|
* const command = new ListPolicyTagsCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -29,6 +29,11 @@ export interface ListPolicyVersionsCommandOutput extends ListPolicyVersionsRespo
|
|
|
29
29
|
* import { IAMClient, ListPolicyVersionsCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
30
30
|
* // const { IAMClient, ListPolicyVersionsCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
31
31
|
* const client = new IAMClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* PolicyArn: "STRING_VALUE", // required
|
|
34
|
+
* Marker: "STRING_VALUE",
|
|
35
|
+
* MaxItems: Number("int"),
|
|
36
|
+
* };
|
|
32
37
|
* const command = new ListPolicyVersionsCommand(input);
|
|
33
38
|
* const response = await client.send(command);
|
|
34
39
|
* ```
|