@aws-sdk/client-iam 3.288.0 → 3.289.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 +12 -0
- package/dist-types/commands/AddRoleToInstanceProfileCommand.d.ts +12 -0
- package/dist-types/commands/AddUserToGroupCommand.d.ts +12 -0
- package/dist-types/commands/AttachGroupPolicyCommand.d.ts +12 -0
- package/dist-types/commands/AttachRolePolicyCommand.d.ts +12 -0
- package/dist-types/commands/AttachUserPolicyCommand.d.ts +12 -0
- package/dist-types/commands/ChangePasswordCommand.d.ts +12 -0
- package/dist-types/commands/CreateAccessKeyCommand.d.ts +22 -0
- package/dist-types/commands/CreateAccountAliasCommand.d.ts +11 -0
- package/dist-types/commands/CreateGroupCommand.d.ts +22 -0
- package/dist-types/commands/CreateInstanceProfileCommand.d.ts +23 -0
- package/dist-types/commands/CreateLoginProfileCommand.d.ts +22 -0
- package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +22 -0
- package/dist-types/commands/CreateRoleCommand.d.ts +25 -0
- package/dist-types/commands/CreateUserCommand.d.ts +22 -0
- package/dist-types/commands/DeleteAccessKeyCommand.d.ts +12 -0
- package/dist-types/commands/DeleteAccountAliasCommand.d.ts +11 -0
- package/dist-types/commands/DeleteAccountPasswordPolicyCommand.d.ts +9 -0
- package/dist-types/commands/DeleteGroupPolicyCommand.d.ts +12 -0
- package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +11 -0
- package/dist-types/commands/DeleteLoginProfileCommand.d.ts +11 -0
- package/dist-types/commands/DeleteRoleCommand.d.ts +11 -0
- package/dist-types/commands/DeleteRolePolicyCommand.d.ts +12 -0
- package/dist-types/commands/DeleteSigningCertificateCommand.d.ts +12 -0
- package/dist-types/commands/DeleteUserCommand.d.ts +11 -0
- package/dist-types/commands/DeleteUserPolicyCommand.d.ts +12 -0
- package/dist-types/commands/DeleteVirtualMFADeviceCommand.d.ts +11 -0
- package/dist-types/commands/GenerateOrganizationsAccessReportCommand.d.ts +16 -0
- package/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +16 -0
- package/dist-types/commands/GetAccountPasswordPolicyCommand.d.ts +25 -0
- package/dist-types/commands/GetAccountSummaryCommand.d.ts +41 -0
- package/dist-types/commands/GetInstanceProfileCommand.d.ts +32 -0
- package/dist-types/commands/GetLoginProfileCommand.d.ts +19 -0
- package/dist-types/commands/GetOrganizationsAccessReportCommand.d.ts +44 -0
- package/dist-types/commands/GetRoleCommand.d.ts +28 -0
- package/dist-types/commands/GetServiceLastAccessedDetailsCommand.d.ts +33 -0
- package/dist-types/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +41 -0
- package/dist-types/commands/GetUserCommand.d.ts +22 -0
- package/dist-types/commands/ListAccessKeysCommand.d.ts +29 -0
- package/dist-types/commands/ListAccountAliasesCommand.d.ts +16 -0
- package/dist-types/commands/ListGroupPoliciesCommand.d.ts +19 -0
- package/dist-types/commands/ListGroupsCommand.d.ts +36 -0
- package/dist-types/commands/ListGroupsForUserCommand.d.ts +31 -0
- package/dist-types/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +48 -0
- package/dist-types/commands/ListRoleTagsCommand.d.ts +26 -0
- package/dist-types/commands/ListSigningCertificatesCommand.d.ts +24 -0
- package/dist-types/commands/ListUserTagsCommand.d.ts +26 -0
- package/dist-types/commands/ListUsersCommand.d.ts +31 -0
- package/dist-types/commands/ListVirtualMFADevicesCommand.d.ts +21 -0
- package/dist-types/commands/PutGroupPolicyCommand.d.ts +13 -0
- package/dist-types/commands/PutRolePolicyCommand.d.ts +13 -0
- package/dist-types/commands/PutUserPolicyCommand.d.ts +13 -0
- package/dist-types/commands/RemoveRoleFromInstanceProfileCommand.d.ts +12 -0
- package/dist-types/commands/RemoveUserFromGroupCommand.d.ts +12 -0
- package/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +11 -0
- package/dist-types/commands/TagRoleCommand.d.ts +21 -0
- package/dist-types/commands/TagUserCommand.d.ts +21 -0
- package/dist-types/commands/UntagRoleCommand.d.ts +14 -0
- package/dist-types/commands/UntagUserCommand.d.ts +14 -0
- package/dist-types/commands/UpdateAccessKeyCommand.d.ts +13 -0
- package/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +12 -0
- package/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +12 -0
- package/dist-types/commands/UpdateGroupCommand.d.ts +12 -0
- package/dist-types/commands/UpdateLoginProfileCommand.d.ts +12 -0
- package/dist-types/commands/UpdateSigningCertificateCommand.d.ts +13 -0
- package/dist-types/commands/UpdateUserCommand.d.ts +12 -0
- package/dist-types/commands/UploadServerCertificateCommand.d.ts +26 -0
- package/dist-types/commands/UploadSigningCertificateCommand.d.ts +23 -0
- package/package.json +30 -30
|
@@ -32,6 +32,18 @@ export interface AddClientIDToOpenIDConnectProviderCommandOutput extends __Metad
|
|
|
32
32
|
* @see {@link AddClientIDToOpenIDConnectProviderCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @example To add a client ID (audience) to an Open-ID Connect (OIDC) provider
|
|
36
|
+
* ```javascript
|
|
37
|
+
* // The following add-client-id-to-open-id-connect-provider command adds the client ID my-application-ID to the OIDC provider named server.example.com:
|
|
38
|
+
* const input = {
|
|
39
|
+
* "ClientID": "my-application-ID",
|
|
40
|
+
* "OpenIDConnectProviderArn": "arn:aws:iam::123456789012:oidc-provider/server.example.com"
|
|
41
|
+
* };
|
|
42
|
+
* const command = new AddClientIDToOpenIDConnectProviderCommand(input);
|
|
43
|
+
* await client.send(command);
|
|
44
|
+
* // example id: 028e91f4-e2a6-4d59-9e3b-4965a3fb19be
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
35
47
|
*/
|
|
36
48
|
export declare class AddClientIDToOpenIDConnectProviderCommand extends $Command<AddClientIDToOpenIDConnectProviderCommandInput, AddClientIDToOpenIDConnectProviderCommandOutput, IAMClientResolvedConfig> {
|
|
37
49
|
readonly input: AddClientIDToOpenIDConnectProviderCommandInput;
|
|
@@ -41,6 +41,18 @@ export interface AddRoleToInstanceProfileCommandOutput extends __MetadataBearer
|
|
|
41
41
|
* @see {@link AddRoleToInstanceProfileCommandOutput} for command's `response` shape.
|
|
42
42
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
43
43
|
*
|
|
44
|
+
* @example To add a role to an instance profile
|
|
45
|
+
* ```javascript
|
|
46
|
+
* // The following command adds the role named S3Access to the instance profile named Webserver:
|
|
47
|
+
* const input = {
|
|
48
|
+
* "InstanceProfileName": "Webserver",
|
|
49
|
+
* "RoleName": "S3Access"
|
|
50
|
+
* };
|
|
51
|
+
* const command = new AddRoleToInstanceProfileCommand(input);
|
|
52
|
+
* await client.send(command);
|
|
53
|
+
* // example id: c107fac3-edb6-4827-8a71-8863ec91c81f
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
44
56
|
*/
|
|
45
57
|
export declare class AddRoleToInstanceProfileCommand extends $Command<AddRoleToInstanceProfileCommandInput, AddRoleToInstanceProfileCommandOutput, IAMClientResolvedConfig> {
|
|
46
58
|
readonly input: AddRoleToInstanceProfileCommandInput;
|
|
@@ -29,6 +29,18 @@ export interface AddUserToGroupCommandOutput extends __MetadataBearer {
|
|
|
29
29
|
* @see {@link AddUserToGroupCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @example To add a user to an IAM group
|
|
33
|
+
* ```javascript
|
|
34
|
+
* // The following command adds an IAM user named Bob to the IAM group named Admins:
|
|
35
|
+
* const input = {
|
|
36
|
+
* "GroupName": "Admins",
|
|
37
|
+
* "UserName": "Bob"
|
|
38
|
+
* };
|
|
39
|
+
* const command = new AddUserToGroupCommand(input);
|
|
40
|
+
* await client.send(command);
|
|
41
|
+
* // example id: 619c7e6b-09f8-4036-857b-51a6ea5027ca
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
32
44
|
*/
|
|
33
45
|
export declare class AddUserToGroupCommand extends $Command<AddUserToGroupCommandInput, AddUserToGroupCommandOutput, IAMClientResolvedConfig> {
|
|
34
46
|
readonly input: AddUserToGroupCommandInput;
|
|
@@ -36,6 +36,18 @@ export interface AttachGroupPolicyCommandOutput extends __MetadataBearer {
|
|
|
36
36
|
* @see {@link AttachGroupPolicyCommandOutput} for command's `response` shape.
|
|
37
37
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
38
38
|
*
|
|
39
|
+
* @example To attach a managed policy to an IAM group
|
|
40
|
+
* ```javascript
|
|
41
|
+
* // The following command attaches the AWS managed policy named ReadOnlyAccess to the IAM group named Finance.
|
|
42
|
+
* const input = {
|
|
43
|
+
* "GroupName": "Finance",
|
|
44
|
+
* "PolicyArn": "arn:aws:iam::aws:policy/ReadOnlyAccess"
|
|
45
|
+
* };
|
|
46
|
+
* const command = new AttachGroupPolicyCommand(input);
|
|
47
|
+
* await client.send(command);
|
|
48
|
+
* // example id: 87551489-86f0-45db-9889-759936778f2b
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
39
51
|
*/
|
|
40
52
|
export declare class AttachGroupPolicyCommand extends $Command<AttachGroupPolicyCommandInput, AttachGroupPolicyCommandOutput, IAMClientResolvedConfig> {
|
|
41
53
|
readonly input: AttachGroupPolicyCommandInput;
|
|
@@ -43,6 +43,18 @@ export interface AttachRolePolicyCommandOutput extends __MetadataBearer {
|
|
|
43
43
|
* @see {@link AttachRolePolicyCommandOutput} for command's `response` shape.
|
|
44
44
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
45
45
|
*
|
|
46
|
+
* @example To attach a managed policy to an IAM role
|
|
47
|
+
* ```javascript
|
|
48
|
+
* // The following command attaches the AWS managed policy named ReadOnlyAccess to the IAM role named ReadOnlyRole.
|
|
49
|
+
* const input = {
|
|
50
|
+
* "PolicyArn": "arn:aws:iam::aws:policy/ReadOnlyAccess",
|
|
51
|
+
* "RoleName": "ReadOnlyRole"
|
|
52
|
+
* };
|
|
53
|
+
* const command = new AttachRolePolicyCommand(input);
|
|
54
|
+
* await client.send(command);
|
|
55
|
+
* // example id: 3e1b8c7c-99c8-4fc4-a20c-131fe3f22c7e
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
46
58
|
*/
|
|
47
59
|
export declare class AttachRolePolicyCommand extends $Command<AttachRolePolicyCommandInput, AttachRolePolicyCommandOutput, IAMClientResolvedConfig> {
|
|
48
60
|
readonly input: AttachRolePolicyCommandInput;
|
|
@@ -36,6 +36,18 @@ export interface AttachUserPolicyCommandOutput extends __MetadataBearer {
|
|
|
36
36
|
* @see {@link AttachUserPolicyCommandOutput} for command's `response` shape.
|
|
37
37
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
38
38
|
*
|
|
39
|
+
* @example To attach a managed policy to an IAM user
|
|
40
|
+
* ```javascript
|
|
41
|
+
* // The following command attaches the AWS managed policy named AdministratorAccess to the IAM user named Alice.
|
|
42
|
+
* const input = {
|
|
43
|
+
* "PolicyArn": "arn:aws:iam::aws:policy/AdministratorAccess",
|
|
44
|
+
* "UserName": "Alice"
|
|
45
|
+
* };
|
|
46
|
+
* const command = new AttachUserPolicyCommand(input);
|
|
47
|
+
* await client.send(command);
|
|
48
|
+
* // example id: 1372ebd8-9475-4b1a-a479-23b6fd4b8b3e
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
39
51
|
*/
|
|
40
52
|
export declare class AttachUserPolicyCommand extends $Command<AttachUserPolicyCommandInput, AttachUserPolicyCommandOutput, IAMClientResolvedConfig> {
|
|
41
53
|
readonly input: AttachUserPolicyCommandInput;
|
|
@@ -36,6 +36,18 @@ export interface ChangePasswordCommandOutput extends __MetadataBearer {
|
|
|
36
36
|
* @see {@link ChangePasswordCommandOutput} for command's `response` shape.
|
|
37
37
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
38
38
|
*
|
|
39
|
+
* @example To change the password for your IAM user
|
|
40
|
+
* ```javascript
|
|
41
|
+
* // The following command changes the password for the current IAM user.
|
|
42
|
+
* const input = {
|
|
43
|
+
* "NewPassword": "]35d/{pB9Fo9wJ",
|
|
44
|
+
* "OldPassword": "3s0K_;xh4~8XXI"
|
|
45
|
+
* };
|
|
46
|
+
* const command = new ChangePasswordCommand(input);
|
|
47
|
+
* await client.send(command);
|
|
48
|
+
* // example id: 3a80c66f-bffb-46df-947c-1e8fa583b470
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
39
51
|
*/
|
|
40
52
|
export declare class ChangePasswordCommand extends $Command<ChangePasswordCommandInput, ChangePasswordCommandOutput, IAMClientResolvedConfig> {
|
|
41
53
|
readonly input: ChangePasswordCommandInput;
|
|
@@ -42,6 +42,28 @@ export interface CreateAccessKeyCommandOutput extends CreateAccessKeyResponse, _
|
|
|
42
42
|
* @see {@link CreateAccessKeyCommandOutput} for command's `response` shape.
|
|
43
43
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
44
44
|
*
|
|
45
|
+
* @example To create an access key for an IAM user
|
|
46
|
+
* ```javascript
|
|
47
|
+
* // The following command creates an access key (access key ID and secret access key) for the IAM user named Bob.
|
|
48
|
+
* const input = {
|
|
49
|
+
* "UserName": "Bob"
|
|
50
|
+
* };
|
|
51
|
+
* const command = new CreateAccessKeyCommand(input);
|
|
52
|
+
* const response = await client.send(command);
|
|
53
|
+
* /* response ==
|
|
54
|
+
* {
|
|
55
|
+
* "AccessKey": {
|
|
56
|
+
* "AccessKeyId": "AKIAIOSFODNN7EXAMPLE",
|
|
57
|
+
* "CreateDate": "2015-03-09T18:39:23.411Z",
|
|
58
|
+
* "SecretAccessKey": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYzEXAMPLEKEY",
|
|
59
|
+
* "Status": "Active",
|
|
60
|
+
* "UserName": "Bob"
|
|
61
|
+
* }
|
|
62
|
+
* }
|
|
63
|
+
* *\/
|
|
64
|
+
* // example id: 1fbb3211-4cf2-41db-8c20-ba58d9f5802d
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
45
67
|
*/
|
|
46
68
|
export declare class CreateAccessKeyCommand extends $Command<CreateAccessKeyCommandInput, CreateAccessKeyCommandOutput, IAMClientResolvedConfig> {
|
|
47
69
|
readonly input: CreateAccessKeyCommandInput;
|
|
@@ -32,6 +32,17 @@ export interface CreateAccountAliasCommandOutput extends __MetadataBearer {
|
|
|
32
32
|
* @see {@link CreateAccountAliasCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @example To create an account alias
|
|
36
|
+
* ```javascript
|
|
37
|
+
* // The following command associates the alias examplecorp to your AWS account.
|
|
38
|
+
* const input = {
|
|
39
|
+
* "AccountAlias": "examplecorp"
|
|
40
|
+
* };
|
|
41
|
+
* const command = new CreateAccountAliasCommand(input);
|
|
42
|
+
* await client.send(command);
|
|
43
|
+
* // example id: 5adaf6fb-94fc-4ca2-b825-2fbc2062add1
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
35
46
|
*/
|
|
36
47
|
export declare class CreateAccountAliasCommand extends $Command<CreateAccountAliasCommandInput, CreateAccountAliasCommandOutput, IAMClientResolvedConfig> {
|
|
37
48
|
readonly input: CreateAccountAliasCommandInput;
|
|
@@ -31,6 +31,28 @@ export interface CreateGroupCommandOutput extends CreateGroupResponse, __Metadat
|
|
|
31
31
|
* @see {@link CreateGroupCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @example To create an IAM group
|
|
35
|
+
* ```javascript
|
|
36
|
+
* // The following command creates an IAM group named Admins.
|
|
37
|
+
* const input = {
|
|
38
|
+
* "GroupName": "Admins"
|
|
39
|
+
* };
|
|
40
|
+
* const command = new CreateGroupCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* /* response ==
|
|
43
|
+
* {
|
|
44
|
+
* "Group": {
|
|
45
|
+
* "Arn": "arn:aws:iam::123456789012:group/Admins",
|
|
46
|
+
* "CreateDate": "2015-03-09T20:30:24.940Z",
|
|
47
|
+
* "GroupId": "AIDGPMS9RO4H3FEXAMPLE",
|
|
48
|
+
* "GroupName": "Admins",
|
|
49
|
+
* "Path": "/"
|
|
50
|
+
* }
|
|
51
|
+
* }
|
|
52
|
+
* *\/
|
|
53
|
+
* // example id: d5da2a90-5e69-4ef7-8ae8-4c33dc21fd21
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
34
56
|
*/
|
|
35
57
|
export declare class CreateGroupCommand extends $Command<CreateGroupCommandInput, CreateGroupCommandOutput, IAMClientResolvedConfig> {
|
|
36
58
|
readonly input: CreateGroupCommandInput;
|
|
@@ -33,6 +33,29 @@ export interface CreateInstanceProfileCommandOutput extends CreateInstanceProfil
|
|
|
33
33
|
* @see {@link CreateInstanceProfileCommandOutput} for command's `response` shape.
|
|
34
34
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
35
35
|
*
|
|
36
|
+
* @example To create an instance profile
|
|
37
|
+
* ```javascript
|
|
38
|
+
* // The following command creates an instance profile named Webserver that is ready to have a role attached and then be associated with an EC2 instance.
|
|
39
|
+
* const input = {
|
|
40
|
+
* "InstanceProfileName": "Webserver"
|
|
41
|
+
* };
|
|
42
|
+
* const command = new CreateInstanceProfileCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* /* response ==
|
|
45
|
+
* {
|
|
46
|
+
* "InstanceProfile": {
|
|
47
|
+
* "Arn": "arn:aws:iam::123456789012:instance-profile/Webserver",
|
|
48
|
+
* "CreateDate": "2015-03-09T20:33:19.626Z",
|
|
49
|
+
* "InstanceProfileId": "AIPAJMBYC7DLSPEXAMPLE",
|
|
50
|
+
* "InstanceProfileName": "Webserver",
|
|
51
|
+
* "Path": "/",
|
|
52
|
+
* "Roles": []
|
|
53
|
+
* }
|
|
54
|
+
* }
|
|
55
|
+
* *\/
|
|
56
|
+
* // example id: 5d84e6ae-5921-4e39-8454-10232cd9ff9a
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
36
59
|
*/
|
|
37
60
|
export declare class CreateInstanceProfileCommand extends $Command<CreateInstanceProfileCommandInput, CreateInstanceProfileCommandOutput, IAMClientResolvedConfig> {
|
|
38
61
|
readonly input: CreateInstanceProfileCommandInput;
|
|
@@ -34,6 +34,28 @@ export interface CreateLoginProfileCommandOutput extends CreateLoginProfileRespo
|
|
|
34
34
|
* @see {@link CreateLoginProfileCommandOutput} for command's `response` shape.
|
|
35
35
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
36
36
|
*
|
|
37
|
+
* @example To create an instance profile
|
|
38
|
+
* ```javascript
|
|
39
|
+
* // The following command changes IAM user Bob's password and sets the flag that required Bob to change the password the next time he signs in.
|
|
40
|
+
* const input = {
|
|
41
|
+
* "Password": "h]6EszR}vJ*m",
|
|
42
|
+
* "PasswordResetRequired": true,
|
|
43
|
+
* "UserName": "Bob"
|
|
44
|
+
* };
|
|
45
|
+
* const command = new CreateLoginProfileCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* /* response ==
|
|
48
|
+
* {
|
|
49
|
+
* "LoginProfile": {
|
|
50
|
+
* "CreateDate": "2015-03-10T20:55:40.274Z",
|
|
51
|
+
* "PasswordResetRequired": true,
|
|
52
|
+
* "UserName": "Bob"
|
|
53
|
+
* }
|
|
54
|
+
* }
|
|
55
|
+
* *\/
|
|
56
|
+
* // example id: c63795bc-3444-40b3-89df-83c474ef88be
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
37
59
|
*/
|
|
38
60
|
export declare class CreateLoginProfileCommand extends $Command<CreateLoginProfileCommandInput, CreateLoginProfileCommandOutput, IAMClientResolvedConfig> {
|
|
39
61
|
readonly input: CreateLoginProfileCommandInput;
|
|
@@ -67,6 +67,28 @@ export interface CreateOpenIDConnectProviderCommandOutput extends CreateOpenIDCo
|
|
|
67
67
|
* @see {@link CreateOpenIDConnectProviderCommandOutput} for command's `response` shape.
|
|
68
68
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
69
69
|
*
|
|
70
|
+
* @example To create an instance profile
|
|
71
|
+
* ```javascript
|
|
72
|
+
* // The following example defines a new OIDC provider in IAM with a client ID of my-application-id and pointing at the server with a URL of https://server.example.com.
|
|
73
|
+
* const input = {
|
|
74
|
+
* "ClientIDList": [
|
|
75
|
+
* "my-application-id"
|
|
76
|
+
* ],
|
|
77
|
+
* "ThumbprintList": [
|
|
78
|
+
* "3768084dfb3d2b68b7897bf5f565da8efEXAMPLE"
|
|
79
|
+
* ],
|
|
80
|
+
* "Url": "https://server.example.com"
|
|
81
|
+
* };
|
|
82
|
+
* const command = new CreateOpenIDConnectProviderCommand(input);
|
|
83
|
+
* const response = await client.send(command);
|
|
84
|
+
* /* response ==
|
|
85
|
+
* {
|
|
86
|
+
* "OpenIDConnectProviderArn": "arn:aws:iam::123456789012:oidc-provider/server.example.com"
|
|
87
|
+
* }
|
|
88
|
+
* *\/
|
|
89
|
+
* // example id: 4e4a6bff-cc97-4406-922e-0ab4a82cdb63
|
|
90
|
+
* ```
|
|
91
|
+
*
|
|
70
92
|
*/
|
|
71
93
|
export declare class CreateOpenIDConnectProviderCommand extends $Command<CreateOpenIDConnectProviderCommandInput, CreateOpenIDConnectProviderCommandOutput, IAMClientResolvedConfig> {
|
|
72
94
|
readonly input: CreateOpenIDConnectProviderCommandInput;
|
|
@@ -33,6 +33,31 @@ export interface CreateRoleCommandOutput extends CreateRoleResponse, __MetadataB
|
|
|
33
33
|
* @see {@link CreateRoleCommandOutput} for command's `response` shape.
|
|
34
34
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
35
35
|
*
|
|
36
|
+
* @example To create an IAM role
|
|
37
|
+
* ```javascript
|
|
38
|
+
* // The following command creates a role named Test-Role and attaches a trust policy that you must convert from JSON to a string. Upon success, the response includes the same policy as a URL-encoded JSON string.
|
|
39
|
+
* const input = {
|
|
40
|
+
* "AssumeRolePolicyDocument": "<Stringified-JSON>",
|
|
41
|
+
* "Path": "/",
|
|
42
|
+
* "RoleName": "Test-Role"
|
|
43
|
+
* };
|
|
44
|
+
* const command = new CreateRoleCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* /* response ==
|
|
47
|
+
* {
|
|
48
|
+
* "Role": {
|
|
49
|
+
* "Arn": "arn:aws:iam::123456789012:role/Test-Role",
|
|
50
|
+
* "AssumeRolePolicyDocument": "<URL-encoded-JSON>",
|
|
51
|
+
* "CreateDate": "2013-06-07T20:43:32.821Z",
|
|
52
|
+
* "Path": "/",
|
|
53
|
+
* "RoleId": "AKIAIOSFODNN7EXAMPLE",
|
|
54
|
+
* "RoleName": "Test-Role"
|
|
55
|
+
* }
|
|
56
|
+
* }
|
|
57
|
+
* *\/
|
|
58
|
+
* // example id: eaaa4b5f-51f1-4f73-b0d3-30127040eff8
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
36
61
|
*/
|
|
37
62
|
export declare class CreateRoleCommand extends $Command<CreateRoleCommandInput, CreateRoleCommandOutput, IAMClientResolvedConfig> {
|
|
38
63
|
readonly input: CreateRoleCommandInput;
|
|
@@ -31,6 +31,28 @@ export interface CreateUserCommandOutput extends CreateUserResponse, __MetadataB
|
|
|
31
31
|
* @see {@link CreateUserCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @example To create an IAM user
|
|
35
|
+
* ```javascript
|
|
36
|
+
* // The following create-user command creates an IAM user named Bob in the current account.
|
|
37
|
+
* const input = {
|
|
38
|
+
* "UserName": "Bob"
|
|
39
|
+
* };
|
|
40
|
+
* const command = new CreateUserCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* /* response ==
|
|
43
|
+
* {
|
|
44
|
+
* "User": {
|
|
45
|
+
* "Arn": "arn:aws:iam::123456789012:user/Bob",
|
|
46
|
+
* "CreateDate": "2013-06-08T03:20:41.270Z",
|
|
47
|
+
* "Path": "/",
|
|
48
|
+
* "UserId": "AKIAIOSFODNN7EXAMPLE",
|
|
49
|
+
* "UserName": "Bob"
|
|
50
|
+
* }
|
|
51
|
+
* }
|
|
52
|
+
* *\/
|
|
53
|
+
* // example id: eb15f90b-e5f5-4af8-a594-e4e82b181a62
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
34
56
|
*/
|
|
35
57
|
export declare class CreateUserCommand extends $Command<CreateUserCommandInput, CreateUserCommandOutput, IAMClientResolvedConfig> {
|
|
36
58
|
readonly input: CreateUserCommandInput;
|
|
@@ -33,6 +33,18 @@ export interface DeleteAccessKeyCommandOutput extends __MetadataBearer {
|
|
|
33
33
|
* @see {@link DeleteAccessKeyCommandOutput} for command's `response` shape.
|
|
34
34
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
35
35
|
*
|
|
36
|
+
* @example To delete an access key for an IAM user
|
|
37
|
+
* ```javascript
|
|
38
|
+
* // The following command deletes one access key (access key ID and secret access key) assigned to the IAM user named Bob.
|
|
39
|
+
* const input = {
|
|
40
|
+
* "AccessKeyId": "AKIDPMS9RO4H3FEXAMPLE",
|
|
41
|
+
* "UserName": "Bob"
|
|
42
|
+
* };
|
|
43
|
+
* const command = new DeleteAccessKeyCommand(input);
|
|
44
|
+
* await client.send(command);
|
|
45
|
+
* // example id: 61a785a7-d30a-415a-ae18-ab9236e56871
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
36
48
|
*/
|
|
37
49
|
export declare class DeleteAccessKeyCommand extends $Command<DeleteAccessKeyCommandInput, DeleteAccessKeyCommandOutput, IAMClientResolvedConfig> {
|
|
38
50
|
readonly input: DeleteAccessKeyCommandInput;
|
|
@@ -31,6 +31,17 @@ export interface DeleteAccountAliasCommandOutput extends __MetadataBearer {
|
|
|
31
31
|
* @see {@link DeleteAccountAliasCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @example To delete an account alias
|
|
35
|
+
* ```javascript
|
|
36
|
+
* // The following command removes the alias mycompany from the current AWS account:
|
|
37
|
+
* const input = {
|
|
38
|
+
* "AccountAlias": "mycompany"
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeleteAccountAliasCommand(input);
|
|
41
|
+
* await client.send(command);
|
|
42
|
+
* // example id: 7abeca65-04a8-4500-a890-47f1092bf766
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
34
45
|
*/
|
|
35
46
|
export declare class DeleteAccountAliasCommand extends $Command<DeleteAccountAliasCommandInput, DeleteAccountAliasCommandOutput, IAMClientResolvedConfig> {
|
|
36
47
|
readonly input: DeleteAccountAliasCommandInput;
|
|
@@ -28,6 +28,15 @@ export interface DeleteAccountPasswordPolicyCommandOutput extends __MetadataBear
|
|
|
28
28
|
* @see {@link DeleteAccountPasswordPolicyCommandOutput} for command's `response` shape.
|
|
29
29
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
30
30
|
*
|
|
31
|
+
* @example To delete the current account password policy
|
|
32
|
+
* ```javascript
|
|
33
|
+
* // The following command removes the password policy from the current AWS account:
|
|
34
|
+
* const input = undefined;
|
|
35
|
+
* const command = new DeleteAccountPasswordPolicyCommand(input);
|
|
36
|
+
* await client.send(command);
|
|
37
|
+
* // example id: 9ddf755e-495c-49bc-ae3b-ea6cc9b8ebcf
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
31
40
|
*/
|
|
32
41
|
export declare class DeleteAccountPasswordPolicyCommand extends $Command<DeleteAccountPasswordPolicyCommandInput, DeleteAccountPasswordPolicyCommandOutput, IAMClientResolvedConfig> {
|
|
33
42
|
readonly input: DeleteAccountPasswordPolicyCommandInput;
|
|
@@ -34,6 +34,18 @@ export interface DeleteGroupPolicyCommandOutput extends __MetadataBearer {
|
|
|
34
34
|
* @see {@link DeleteGroupPolicyCommandOutput} for command's `response` shape.
|
|
35
35
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
36
36
|
*
|
|
37
|
+
* @example To delete a policy from an IAM group
|
|
38
|
+
* ```javascript
|
|
39
|
+
* // The following command deletes the policy named ExamplePolicy from the group named Admins:
|
|
40
|
+
* const input = {
|
|
41
|
+
* "GroupName": "Admins",
|
|
42
|
+
* "PolicyName": "ExamplePolicy"
|
|
43
|
+
* };
|
|
44
|
+
* const command = new DeleteGroupPolicyCommand(input);
|
|
45
|
+
* await client.send(command);
|
|
46
|
+
* // example id: e683f2bd-98a4-4fe0-bb66-33169c692d4a
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
37
49
|
*/
|
|
38
50
|
export declare class DeleteGroupPolicyCommand extends $Command<DeleteGroupPolicyCommandInput, DeleteGroupPolicyCommandOutput, IAMClientResolvedConfig> {
|
|
39
51
|
readonly input: DeleteGroupPolicyCommandInput;
|
|
@@ -38,6 +38,17 @@ export interface DeleteInstanceProfileCommandOutput extends __MetadataBearer {
|
|
|
38
38
|
* @see {@link DeleteInstanceProfileCommandOutput} for command's `response` shape.
|
|
39
39
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
40
40
|
*
|
|
41
|
+
* @example To delete an instance profile
|
|
42
|
+
* ```javascript
|
|
43
|
+
* // The following command deletes the instance profile named ExampleInstanceProfile
|
|
44
|
+
* const input = {
|
|
45
|
+
* "InstanceProfileName": "ExampleInstanceProfile"
|
|
46
|
+
* };
|
|
47
|
+
* const command = new DeleteInstanceProfileCommand(input);
|
|
48
|
+
* await client.send(command);
|
|
49
|
+
* // example id: 12d74fb8-3433-49db-8171-a1fc764e354d
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
41
52
|
*/
|
|
42
53
|
export declare class DeleteInstanceProfileCommand extends $Command<DeleteInstanceProfileCommandInput, DeleteInstanceProfileCommandOutput, IAMClientResolvedConfig> {
|
|
43
54
|
readonly input: DeleteInstanceProfileCommandInput;
|
|
@@ -41,6 +41,17 @@ export interface DeleteLoginProfileCommandOutput extends __MetadataBearer {
|
|
|
41
41
|
* @see {@link DeleteLoginProfileCommandOutput} for command's `response` shape.
|
|
42
42
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
43
43
|
*
|
|
44
|
+
* @example To delete a password for an IAM user
|
|
45
|
+
* ```javascript
|
|
46
|
+
* // The following command deletes the password for the IAM user named Bob.
|
|
47
|
+
* const input = {
|
|
48
|
+
* "UserName": "Bob"
|
|
49
|
+
* };
|
|
50
|
+
* const command = new DeleteLoginProfileCommand(input);
|
|
51
|
+
* await client.send(command);
|
|
52
|
+
* // example id: 1fe57059-fc73-42e2-b992-517b7d573b5c
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
44
55
|
*/
|
|
45
56
|
export declare class DeleteLoginProfileCommand extends $Command<DeleteLoginProfileCommandInput, DeleteLoginProfileCommandOutput, IAMClientResolvedConfig> {
|
|
46
57
|
readonly input: DeleteLoginProfileCommandInput;
|
|
@@ -52,6 +52,17 @@ export interface DeleteRoleCommandOutput extends __MetadataBearer {
|
|
|
52
52
|
* @see {@link DeleteRoleCommandOutput} for command's `response` shape.
|
|
53
53
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
54
54
|
*
|
|
55
|
+
* @example To delete an IAM role
|
|
56
|
+
* ```javascript
|
|
57
|
+
* // The following command removes the role named Test-Role.
|
|
58
|
+
* const input = {
|
|
59
|
+
* "RoleName": "Test-Role"
|
|
60
|
+
* };
|
|
61
|
+
* const command = new DeleteRoleCommand(input);
|
|
62
|
+
* await client.send(command);
|
|
63
|
+
* // example id: 053cdf74-9bda-44b8-bdbb-140fd5a32603
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
55
66
|
*/
|
|
56
67
|
export declare class DeleteRoleCommand extends $Command<DeleteRoleCommandInput, DeleteRoleCommandOutput, IAMClientResolvedConfig> {
|
|
57
68
|
readonly input: DeleteRoleCommandInput;
|
|
@@ -34,6 +34,18 @@ export interface DeleteRolePolicyCommandOutput extends __MetadataBearer {
|
|
|
34
34
|
* @see {@link DeleteRolePolicyCommandOutput} for command's `response` shape.
|
|
35
35
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
36
36
|
*
|
|
37
|
+
* @example To remove a policy from an IAM role
|
|
38
|
+
* ```javascript
|
|
39
|
+
* // The following command removes the policy named ExamplePolicy from the role named Test-Role.
|
|
40
|
+
* const input = {
|
|
41
|
+
* "PolicyName": "ExamplePolicy",
|
|
42
|
+
* "RoleName": "Test-Role"
|
|
43
|
+
* };
|
|
44
|
+
* const command = new DeleteRolePolicyCommand(input);
|
|
45
|
+
* await client.send(command);
|
|
46
|
+
* // example id: 9c667336-fde3-462c-b8f3-950800821e27
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
37
49
|
*/
|
|
38
50
|
export declare class DeleteRolePolicyCommand extends $Command<DeleteRolePolicyCommandInput, DeleteRolePolicyCommandOutput, IAMClientResolvedConfig> {
|
|
39
51
|
readonly input: DeleteRolePolicyCommandInput;
|
|
@@ -33,6 +33,18 @@ export interface DeleteSigningCertificateCommandOutput extends __MetadataBearer
|
|
|
33
33
|
* @see {@link DeleteSigningCertificateCommandOutput} for command's `response` shape.
|
|
34
34
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
35
35
|
*
|
|
36
|
+
* @example To delete a signing certificate for an IAM user
|
|
37
|
+
* ```javascript
|
|
38
|
+
* // The following command deletes the specified signing certificate for the IAM user named Anika.
|
|
39
|
+
* const input = {
|
|
40
|
+
* "CertificateId": "TA7SMP42TDN5Z26OBPJE7EXAMPLE",
|
|
41
|
+
* "UserName": "Anika"
|
|
42
|
+
* };
|
|
43
|
+
* const command = new DeleteSigningCertificateCommand(input);
|
|
44
|
+
* await client.send(command);
|
|
45
|
+
* // example id: e3357586-ba9c-4070-b35b-d1a899b71987
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
36
48
|
*/
|
|
37
49
|
export declare class DeleteSigningCertificateCommand extends $Command<DeleteSigningCertificateCommandInput, DeleteSigningCertificateCommandOutput, IAMClientResolvedConfig> {
|
|
38
50
|
readonly input: DeleteSigningCertificateCommandInput;
|
|
@@ -61,6 +61,17 @@ export interface DeleteUserCommandOutput extends __MetadataBearer {
|
|
|
61
61
|
* @see {@link DeleteUserCommandOutput} for command's `response` shape.
|
|
62
62
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
63
63
|
*
|
|
64
|
+
* @example To delete an IAM user
|
|
65
|
+
* ```javascript
|
|
66
|
+
* // The following command removes the IAM user named Bob from the current account.
|
|
67
|
+
* const input = {
|
|
68
|
+
* "UserName": "Bob"
|
|
69
|
+
* };
|
|
70
|
+
* const command = new DeleteUserCommand(input);
|
|
71
|
+
* await client.send(command);
|
|
72
|
+
* // example id: a13dc3f9-59fe-42d9-abbb-fb98b204fdf0
|
|
73
|
+
* ```
|
|
74
|
+
*
|
|
64
75
|
*/
|
|
65
76
|
export declare class DeleteUserCommand extends $Command<DeleteUserCommandInput, DeleteUserCommandOutput, IAMClientResolvedConfig> {
|
|
66
77
|
readonly input: DeleteUserCommandInput;
|
|
@@ -34,6 +34,18 @@ export interface DeleteUserPolicyCommandOutput extends __MetadataBearer {
|
|
|
34
34
|
* @see {@link DeleteUserPolicyCommandOutput} for command's `response` shape.
|
|
35
35
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
36
36
|
*
|
|
37
|
+
* @example To remove a policy from an IAM user
|
|
38
|
+
* ```javascript
|
|
39
|
+
* // The following delete-user-policy command removes the specified policy from the IAM user named Juan:
|
|
40
|
+
* const input = {
|
|
41
|
+
* "PolicyName": "ExamplePolicy",
|
|
42
|
+
* "UserName": "Juan"
|
|
43
|
+
* };
|
|
44
|
+
* const command = new DeleteUserPolicyCommand(input);
|
|
45
|
+
* await client.send(command);
|
|
46
|
+
* // example id: 34f07ddc-9bc1-4f52-bc59-cd0a3ccd06c8
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
37
49
|
*/
|
|
38
50
|
export declare class DeleteUserPolicyCommand extends $Command<DeleteUserPolicyCommandInput, DeleteUserPolicyCommandOutput, IAMClientResolvedConfig> {
|
|
39
51
|
readonly input: DeleteUserPolicyCommandInput;
|
|
@@ -33,6 +33,17 @@ export interface DeleteVirtualMFADeviceCommandOutput extends __MetadataBearer {
|
|
|
33
33
|
* @see {@link DeleteVirtualMFADeviceCommandOutput} for command's `response` shape.
|
|
34
34
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
35
35
|
*
|
|
36
|
+
* @example To remove a virtual MFA device
|
|
37
|
+
* ```javascript
|
|
38
|
+
* // The following delete-virtual-mfa-device command removes the specified MFA device from the current AWS account.
|
|
39
|
+
* const input = {
|
|
40
|
+
* "SerialNumber": "arn:aws:iam::123456789012:mfa/ExampleName"
|
|
41
|
+
* };
|
|
42
|
+
* const command = new DeleteVirtualMFADeviceCommand(input);
|
|
43
|
+
* await client.send(command);
|
|
44
|
+
* // example id: 2933b08b-dbe7-4b89-b8c1-fdf75feea1ee
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
36
47
|
*/
|
|
37
48
|
export declare class DeleteVirtualMFADeviceCommand extends $Command<DeleteVirtualMFADeviceCommandInput, DeleteVirtualMFADeviceCommandOutput, IAMClientResolvedConfig> {
|
|
38
49
|
readonly input: DeleteVirtualMFADeviceCommandInput;
|
|
@@ -160,6 +160,22 @@ export interface GenerateOrganizationsAccessReportCommandOutput extends Generate
|
|
|
160
160
|
* @see {@link GenerateOrganizationsAccessReportCommandOutput} for command's `response` shape.
|
|
161
161
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
162
162
|
*
|
|
163
|
+
* @example To generate a service last accessed data report for an organizational unit
|
|
164
|
+
* ```javascript
|
|
165
|
+
* // The following operation generates a report for the organizational unit ou-rge0-awexample
|
|
166
|
+
* const input = {
|
|
167
|
+
* "EntityPath": "o-a1b2c3d4e5/r-f6g7h8i9j0example/ou-1a2b3c-k9l8m7n6o5example"
|
|
168
|
+
* };
|
|
169
|
+
* const command = new GenerateOrganizationsAccessReportCommand(input);
|
|
170
|
+
* const response = await client.send(command);
|
|
171
|
+
* /* response ==
|
|
172
|
+
* {
|
|
173
|
+
* "JobId": "examplea-1234-b567-cde8-90fg123abcd4"
|
|
174
|
+
* }
|
|
175
|
+
* *\/
|
|
176
|
+
* // example id: generateorganizationsaccessreport-ou
|
|
177
|
+
* ```
|
|
178
|
+
*
|
|
163
179
|
*/
|
|
164
180
|
export declare class GenerateOrganizationsAccessReportCommand extends $Command<GenerateOrganizationsAccessReportCommandInput, GenerateOrganizationsAccessReportCommandOutput, IAMClientResolvedConfig> {
|
|
165
181
|
readonly input: GenerateOrganizationsAccessReportCommandInput;
|
|
@@ -82,6 +82,22 @@ export interface GenerateServiceLastAccessedDetailsCommandOutput extends Generat
|
|
|
82
82
|
* @see {@link GenerateServiceLastAccessedDetailsCommandOutput} for command's `response` shape.
|
|
83
83
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
84
84
|
*
|
|
85
|
+
* @example To generate a service last accessed data report for a policy
|
|
86
|
+
* ```javascript
|
|
87
|
+
* // The following operation generates a report for the policy: ExamplePolicy1
|
|
88
|
+
* const input = {
|
|
89
|
+
* "Arn": "arn:aws:iam::123456789012:policy/ExamplePolicy1"
|
|
90
|
+
* };
|
|
91
|
+
* const command = new GenerateServiceLastAccessedDetailsCommand(input);
|
|
92
|
+
* const response = await client.send(command);
|
|
93
|
+
* /* response ==
|
|
94
|
+
* {
|
|
95
|
+
* "JobId": "examplef-1305-c245-eba4-71fe298bcda7"
|
|
96
|
+
* }
|
|
97
|
+
* *\/
|
|
98
|
+
* // example id: generateaccessdata-policy-1541695178514
|
|
99
|
+
* ```
|
|
100
|
+
*
|
|
85
101
|
*/
|
|
86
102
|
export declare class GenerateServiceLastAccessedDetailsCommand extends $Command<GenerateServiceLastAccessedDetailsCommandInput, GenerateServiceLastAccessedDetailsCommandOutput, IAMClientResolvedConfig> {
|
|
87
103
|
readonly input: GenerateServiceLastAccessedDetailsCommandInput;
|