@aws-sdk/client-iam 3.325.0 → 3.326.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 +12 -0
- package/dist-types/commands/CreateAccountAliasCommand.d.ts +4 -0
- package/dist-types/commands/CreateGroupCommand.d.ts +12 -0
- package/dist-types/commands/CreateInstanceProfileCommand.d.ts +44 -0
- package/dist-types/commands/CreateLoginProfileCommand.d.ts +10 -0
- package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +12 -0
- package/dist-types/commands/CreatePolicyCommand.d.ts +24 -0
- package/dist-types/commands/CreatePolicyVersionCommand.d.ts +11 -0
- package/dist-types/commands/CreateRoleCommand.d.ts +29 -0
- package/dist-types/commands/CreateSAMLProviderCommand.d.ts +12 -0
- package/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +29 -0
- package/dist-types/commands/CreateServiceSpecificCredentialCommand.d.ts +14 -0
- package/dist-types/commands/CreateUserCommand.d.ts +23 -0
- package/dist-types/commands/CreateVirtualMFADeviceCommand.d.ts +35 -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 +4 -0
- package/dist-types/commands/DeleteAccountPasswordPolicyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteGroupCommand.d.ts +4 -0
- package/dist-types/commands/DeleteGroupPolicyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +4 -0
- package/dist-types/commands/DeleteLoginProfileCommand.d.ts +4 -0
- package/dist-types/commands/DeleteOpenIDConnectProviderCommand.d.ts +4 -0
- package/dist-types/commands/DeletePolicyCommand.d.ts +4 -0
- package/dist-types/commands/DeletePolicyVersionCommand.d.ts +4 -0
- package/dist-types/commands/DeleteRoleCommand.d.ts +4 -0
- package/dist-types/commands/DeleteRolePermissionsBoundaryCommand.d.ts +4 -0
- package/dist-types/commands/DeleteRolePolicyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteSAMLProviderCommand.d.ts +4 -0
- package/dist-types/commands/DeleteSSHPublicKeyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteServerCertificateCommand.d.ts +4 -0
- package/dist-types/commands/DeleteServiceLinkedRoleCommand.d.ts +6 -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 +4 -0
- package/dist-types/commands/DeleteUserPermissionsBoundaryCommand.d.ts +4 -0
- package/dist-types/commands/DeleteUserPolicyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteVirtualMFADeviceCommand.d.ts +4 -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 +4 -0
- package/dist-types/commands/GenerateCredentialReportCommand.d.ts +7 -0
- package/dist-types/commands/GenerateOrganizationsAccessReportCommand.d.ts +6 -0
- package/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +6 -0
- package/dist-types/commands/GetAccessKeyLastUsedCommand.d.ts +11 -0
- package/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +152 -0
- package/dist-types/commands/GetAccountPasswordPolicyCommand.d.ts +17 -0
- package/dist-types/commands/GetAccountSummaryCommand.d.ts +8 -0
- package/dist-types/commands/GetContextKeysForCustomPolicyCommand.d.ts +8 -0
- package/dist-types/commands/GetContextKeysForPrincipalPolicyCommand.d.ts +8 -0
- package/dist-types/commands/GetCredentialReportCommand.d.ts +8 -0
- package/dist-types/commands/GetGroupCommand.d.ts +34 -0
- package/dist-types/commands/GetGroupPolicyCommand.d.ts +8 -0
- package/dist-types/commands/GetInstanceProfileCommand.d.ts +44 -0
- package/dist-types/commands/GetLoginProfileCommand.d.ts +10 -0
- package/dist-types/commands/GetOpenIDConnectProviderCommand.d.ts +19 -0
- package/dist-types/commands/GetOrganizationsAccessReportCommand.d.ts +26 -0
- package/dist-types/commands/GetPolicyCommand.d.ts +24 -0
- package/dist-types/commands/GetPolicyVersionCommand.d.ts +11 -0
- package/dist-types/commands/GetRoleCommand.d.ts +29 -0
- package/dist-types/commands/GetRolePolicyCommand.d.ts +8 -0
- package/dist-types/commands/GetSAMLProviderCommand.d.ts +14 -0
- package/dist-types/commands/GetSSHPublicKeyCommand.d.ts +13 -0
- package/dist-types/commands/GetServerCertificateCommand.d.ts +23 -0
- package/dist-types/commands/GetServiceLastAccessedDetailsCommand.d.ts +33 -0
- package/dist-types/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +26 -0
- package/dist-types/commands/GetServiceLinkedRoleDeletionStatusCommand.d.ts +17 -0
- package/dist-types/commands/GetUserCommand.d.ts +23 -0
- package/dist-types/commands/GetUserPolicyCommand.d.ts +8 -0
- package/dist-types/commands/ListAccessKeysCommand.d.ts +15 -0
- package/dist-types/commands/ListAccountAliasesCommand.d.ts +10 -0
- package/dist-types/commands/ListAttachedGroupPoliciesCommand.d.ts +13 -0
- package/dist-types/commands/ListAttachedRolePoliciesCommand.d.ts +13 -0
- package/dist-types/commands/ListAttachedUserPoliciesCommand.d.ts +13 -0
- package/dist-types/commands/ListEntitiesForPolicyCommand.d.ts +25 -0
- package/dist-types/commands/ListGroupPoliciesCommand.d.ts +10 -0
- package/dist-types/commands/ListGroupsCommand.d.ts +16 -0
- package/dist-types/commands/ListGroupsForUserCommand.d.ts +16 -0
- package/dist-types/commands/ListInstanceProfileTagsCommand.d.ts +13 -0
- package/dist-types/commands/ListInstanceProfilesCommand.d.ts +48 -0
- package/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +48 -0
- package/dist-types/commands/ListMFADeviceTagsCommand.d.ts +13 -0
- package/dist-types/commands/ListMFADevicesCommand.d.ts +14 -0
- package/dist-types/commands/ListOpenIDConnectProviderTagsCommand.d.ts +13 -0
- package/dist-types/commands/ListOpenIDConnectProvidersCommand.d.ts +10 -0
- package/dist-types/commands/ListPoliciesCommand.d.ts +28 -0
- package/dist-types/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +21 -0
- package/dist-types/commands/ListPolicyTagsCommand.d.ts +13 -0
- package/dist-types/commands/ListPolicyVersionsCommand.d.ts +15 -0
- package/dist-types/commands/ListRolePoliciesCommand.d.ts +10 -0
- package/dist-types/commands/ListRoleTagsCommand.d.ts +13 -0
- package/dist-types/commands/ListRolesCommand.d.ts +33 -0
- package/dist-types/commands/ListSAMLProviderTagsCommand.d.ts +13 -0
- package/dist-types/commands/ListSAMLProvidersCommand.d.ts +12 -0
- package/dist-types/commands/ListSSHPublicKeysCommand.d.ts +15 -0
- package/dist-types/commands/ListServerCertificateTagsCommand.d.ts +13 -0
- package/dist-types/commands/ListServerCertificatesCommand.d.ts +17 -0
- package/dist-types/commands/ListServiceSpecificCredentialsCommand.d.ts +15 -0
- package/dist-types/commands/ListSigningCertificatesCommand.d.ts +16 -0
- package/dist-types/commands/ListUserPoliciesCommand.d.ts +10 -0
- package/dist-types/commands/ListUserTagsCommand.d.ts +13 -0
- package/dist-types/commands/ListUsersCommand.d.ts +27 -0
- package/dist-types/commands/ListVirtualMFADevicesCommand.d.ts +39 -0
- package/dist-types/commands/PutGroupPolicyCommand.d.ts +4 -0
- package/dist-types/commands/PutRolePermissionsBoundaryCommand.d.ts +4 -0
- package/dist-types/commands/PutRolePolicyCommand.d.ts +4 -0
- package/dist-types/commands/PutUserPermissionsBoundaryCommand.d.ts +4 -0
- package/dist-types/commands/PutUserPolicyCommand.d.ts +4 -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 +14 -0
- package/dist-types/commands/ResyncMFADeviceCommand.d.ts +4 -0
- package/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +4 -0
- package/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +4 -0
- package/dist-types/commands/SimulateCustomPolicyCommand.d.ts +69 -0
- package/dist-types/commands/SimulatePrincipalPolicyCommand.d.ts +69 -0
- package/dist-types/commands/TagInstanceProfileCommand.d.ts +4 -0
- package/dist-types/commands/TagMFADeviceCommand.d.ts +4 -0
- package/dist-types/commands/TagOpenIDConnectProviderCommand.d.ts +4 -0
- package/dist-types/commands/TagPolicyCommand.d.ts +4 -0
- package/dist-types/commands/TagRoleCommand.d.ts +4 -0
- package/dist-types/commands/TagSAMLProviderCommand.d.ts +4 -0
- package/dist-types/commands/TagServerCertificateCommand.d.ts +4 -0
- package/dist-types/commands/TagUserCommand.d.ts +4 -0
- package/dist-types/commands/UntagInstanceProfileCommand.d.ts +4 -0
- package/dist-types/commands/UntagMFADeviceCommand.d.ts +4 -0
- package/dist-types/commands/UntagOpenIDConnectProviderCommand.d.ts +4 -0
- package/dist-types/commands/UntagPolicyCommand.d.ts +4 -0
- package/dist-types/commands/UntagRoleCommand.d.ts +4 -0
- package/dist-types/commands/UntagSAMLProviderCommand.d.ts +4 -0
- package/dist-types/commands/UntagServerCertificateCommand.d.ts +4 -0
- package/dist-types/commands/UntagUserCommand.d.ts +4 -0
- package/dist-types/commands/UpdateAccessKeyCommand.d.ts +4 -0
- package/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +4 -0
- package/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +4 -0
- package/dist-types/commands/UpdateGroupCommand.d.ts +4 -0
- package/dist-types/commands/UpdateLoginProfileCommand.d.ts +4 -0
- package/dist-types/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +4 -0
- package/dist-types/commands/UpdateRoleCommand.d.ts +4 -0
- package/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +29 -0
- package/dist-types/commands/UpdateSAMLProviderCommand.d.ts +6 -0
- package/dist-types/commands/UpdateSSHPublicKeyCommand.d.ts +4 -0
- package/dist-types/commands/UpdateServerCertificateCommand.d.ts +4 -0
- package/dist-types/commands/UpdateServiceSpecificCredentialCommand.d.ts +4 -0
- package/dist-types/commands/UpdateSigningCertificateCommand.d.ts +4 -0
- package/dist-types/commands/UpdateUserCommand.d.ts +4 -0
- package/dist-types/commands/UploadSSHPublicKeyCommand.d.ts +13 -0
- package/dist-types/commands/UploadServerCertificateCommand.d.ts +19 -0
- package/dist-types/commands/UploadSigningCertificateCommand.d.ts +12 -0
- package/package.json +3 -3
|
@@ -48,6 +48,156 @@ export interface GetAccountAuthorizationDetailsCommandOutput extends GetAccountA
|
|
|
48
48
|
* };
|
|
49
49
|
* const command = new GetAccountAuthorizationDetailsCommand(input);
|
|
50
50
|
* const response = await client.send(command);
|
|
51
|
+
* // { // GetAccountAuthorizationDetailsResponse
|
|
52
|
+
* // UserDetailList: [ // userDetailListType
|
|
53
|
+
* // { // UserDetail
|
|
54
|
+
* // Path: "STRING_VALUE",
|
|
55
|
+
* // UserName: "STRING_VALUE",
|
|
56
|
+
* // UserId: "STRING_VALUE",
|
|
57
|
+
* // Arn: "STRING_VALUE",
|
|
58
|
+
* // CreateDate: new Date("TIMESTAMP"),
|
|
59
|
+
* // UserPolicyList: [ // policyDetailListType
|
|
60
|
+
* // { // PolicyDetail
|
|
61
|
+
* // PolicyName: "STRING_VALUE",
|
|
62
|
+
* // PolicyDocument: "STRING_VALUE",
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // GroupList: [ // groupNameListType
|
|
66
|
+
* // "STRING_VALUE",
|
|
67
|
+
* // ],
|
|
68
|
+
* // AttachedManagedPolicies: [ // attachedPoliciesListType
|
|
69
|
+
* // { // AttachedPolicy
|
|
70
|
+
* // PolicyName: "STRING_VALUE",
|
|
71
|
+
* // PolicyArn: "STRING_VALUE",
|
|
72
|
+
* // },
|
|
73
|
+
* // ],
|
|
74
|
+
* // PermissionsBoundary: { // AttachedPermissionsBoundary
|
|
75
|
+
* // PermissionsBoundaryType: "PermissionsBoundaryPolicy",
|
|
76
|
+
* // PermissionsBoundaryArn: "STRING_VALUE",
|
|
77
|
+
* // },
|
|
78
|
+
* // Tags: [ // tagListType
|
|
79
|
+
* // { // Tag
|
|
80
|
+
* // Key: "STRING_VALUE", // required
|
|
81
|
+
* // Value: "STRING_VALUE", // required
|
|
82
|
+
* // },
|
|
83
|
+
* // ],
|
|
84
|
+
* // },
|
|
85
|
+
* // ],
|
|
86
|
+
* // GroupDetailList: [ // groupDetailListType
|
|
87
|
+
* // { // GroupDetail
|
|
88
|
+
* // Path: "STRING_VALUE",
|
|
89
|
+
* // GroupName: "STRING_VALUE",
|
|
90
|
+
* // GroupId: "STRING_VALUE",
|
|
91
|
+
* // Arn: "STRING_VALUE",
|
|
92
|
+
* // CreateDate: new Date("TIMESTAMP"),
|
|
93
|
+
* // GroupPolicyList: [
|
|
94
|
+
* // {
|
|
95
|
+
* // PolicyName: "STRING_VALUE",
|
|
96
|
+
* // PolicyDocument: "STRING_VALUE",
|
|
97
|
+
* // },
|
|
98
|
+
* // ],
|
|
99
|
+
* // AttachedManagedPolicies: [
|
|
100
|
+
* // {
|
|
101
|
+
* // PolicyName: "STRING_VALUE",
|
|
102
|
+
* // PolicyArn: "STRING_VALUE",
|
|
103
|
+
* // },
|
|
104
|
+
* // ],
|
|
105
|
+
* // },
|
|
106
|
+
* // ],
|
|
107
|
+
* // RoleDetailList: [ // roleDetailListType
|
|
108
|
+
* // { // RoleDetail
|
|
109
|
+
* // Path: "STRING_VALUE",
|
|
110
|
+
* // RoleName: "STRING_VALUE",
|
|
111
|
+
* // RoleId: "STRING_VALUE",
|
|
112
|
+
* // Arn: "STRING_VALUE",
|
|
113
|
+
* // CreateDate: new Date("TIMESTAMP"),
|
|
114
|
+
* // AssumeRolePolicyDocument: "STRING_VALUE",
|
|
115
|
+
* // InstanceProfileList: [ // instanceProfileListType
|
|
116
|
+
* // { // InstanceProfile
|
|
117
|
+
* // Path: "STRING_VALUE", // required
|
|
118
|
+
* // InstanceProfileName: "STRING_VALUE", // required
|
|
119
|
+
* // InstanceProfileId: "STRING_VALUE", // required
|
|
120
|
+
* // Arn: "STRING_VALUE", // required
|
|
121
|
+
* // CreateDate: new Date("TIMESTAMP"), // required
|
|
122
|
+
* // Roles: [ // roleListType // required
|
|
123
|
+
* // { // Role
|
|
124
|
+
* // Path: "STRING_VALUE", // required
|
|
125
|
+
* // RoleName: "STRING_VALUE", // required
|
|
126
|
+
* // RoleId: "STRING_VALUE", // required
|
|
127
|
+
* // Arn: "STRING_VALUE", // required
|
|
128
|
+
* // CreateDate: new Date("TIMESTAMP"), // required
|
|
129
|
+
* // AssumeRolePolicyDocument: "STRING_VALUE",
|
|
130
|
+
* // Description: "STRING_VALUE",
|
|
131
|
+
* // MaxSessionDuration: Number("int"),
|
|
132
|
+
* // PermissionsBoundary: {
|
|
133
|
+
* // PermissionsBoundaryType: "PermissionsBoundaryPolicy",
|
|
134
|
+
* // PermissionsBoundaryArn: "STRING_VALUE",
|
|
135
|
+
* // },
|
|
136
|
+
* // Tags: [
|
|
137
|
+
* // {
|
|
138
|
+
* // Key: "STRING_VALUE", // required
|
|
139
|
+
* // Value: "STRING_VALUE", // required
|
|
140
|
+
* // },
|
|
141
|
+
* // ],
|
|
142
|
+
* // RoleLastUsed: { // RoleLastUsed
|
|
143
|
+
* // LastUsedDate: new Date("TIMESTAMP"),
|
|
144
|
+
* // Region: "STRING_VALUE",
|
|
145
|
+
* // },
|
|
146
|
+
* // },
|
|
147
|
+
* // ],
|
|
148
|
+
* // Tags: "<tagListType>",
|
|
149
|
+
* // },
|
|
150
|
+
* // ],
|
|
151
|
+
* // RolePolicyList: [
|
|
152
|
+
* // {
|
|
153
|
+
* // PolicyName: "STRING_VALUE",
|
|
154
|
+
* // PolicyDocument: "STRING_VALUE",
|
|
155
|
+
* // },
|
|
156
|
+
* // ],
|
|
157
|
+
* // AttachedManagedPolicies: [
|
|
158
|
+
* // {
|
|
159
|
+
* // PolicyName: "STRING_VALUE",
|
|
160
|
+
* // PolicyArn: "STRING_VALUE",
|
|
161
|
+
* // },
|
|
162
|
+
* // ],
|
|
163
|
+
* // PermissionsBoundary: {
|
|
164
|
+
* // PermissionsBoundaryType: "PermissionsBoundaryPolicy",
|
|
165
|
+
* // PermissionsBoundaryArn: "STRING_VALUE",
|
|
166
|
+
* // },
|
|
167
|
+
* // Tags: "<tagListType>",
|
|
168
|
+
* // RoleLastUsed: {
|
|
169
|
+
* // LastUsedDate: new Date("TIMESTAMP"),
|
|
170
|
+
* // Region: "STRING_VALUE",
|
|
171
|
+
* // },
|
|
172
|
+
* // },
|
|
173
|
+
* // ],
|
|
174
|
+
* // Policies: [ // ManagedPolicyDetailListType
|
|
175
|
+
* // { // ManagedPolicyDetail
|
|
176
|
+
* // PolicyName: "STRING_VALUE",
|
|
177
|
+
* // PolicyId: "STRING_VALUE",
|
|
178
|
+
* // Arn: "STRING_VALUE",
|
|
179
|
+
* // Path: "STRING_VALUE",
|
|
180
|
+
* // DefaultVersionId: "STRING_VALUE",
|
|
181
|
+
* // AttachmentCount: Number("int"),
|
|
182
|
+
* // PermissionsBoundaryUsageCount: Number("int"),
|
|
183
|
+
* // IsAttachable: true || false,
|
|
184
|
+
* // Description: "STRING_VALUE",
|
|
185
|
+
* // CreateDate: new Date("TIMESTAMP"),
|
|
186
|
+
* // UpdateDate: new Date("TIMESTAMP"),
|
|
187
|
+
* // PolicyVersionList: [ // policyDocumentVersionListType
|
|
188
|
+
* // { // PolicyVersion
|
|
189
|
+
* // Document: "STRING_VALUE",
|
|
190
|
+
* // VersionId: "STRING_VALUE",
|
|
191
|
+
* // IsDefaultVersion: true || false,
|
|
192
|
+
* // CreateDate: new Date("TIMESTAMP"),
|
|
193
|
+
* // },
|
|
194
|
+
* // ],
|
|
195
|
+
* // },
|
|
196
|
+
* // ],
|
|
197
|
+
* // IsTruncated: true || false,
|
|
198
|
+
* // Marker: "STRING_VALUE",
|
|
199
|
+
* // };
|
|
200
|
+
*
|
|
51
201
|
* ```
|
|
52
202
|
*
|
|
53
203
|
* @param GetAccountAuthorizationDetailsCommandInput - {@link GetAccountAuthorizationDetailsCommandInput}
|
|
@@ -60,6 +210,8 @@ export interface GetAccountAuthorizationDetailsCommandOutput extends GetAccountA
|
|
|
60
210
|
* <p>The request processing has failed because of an unknown error, exception or
|
|
61
211
|
* failure.</p>
|
|
62
212
|
*
|
|
213
|
+
* @throws {@link IAMServiceException}
|
|
214
|
+
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
63
215
|
*
|
|
64
216
|
*/
|
|
65
217
|
export declare class GetAccountAuthorizationDetailsCommand extends $Command<GetAccountAuthorizationDetailsCommandInput, GetAccountAuthorizationDetailsCommandOutput, IAMClientResolvedConfig> {
|
|
@@ -32,6 +32,21 @@ export interface GetAccountPasswordPolicyCommandOutput extends GetAccountPasswor
|
|
|
32
32
|
* const input = {};
|
|
33
33
|
* const command = new GetAccountPasswordPolicyCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // GetAccountPasswordPolicyResponse
|
|
36
|
+
* // PasswordPolicy: { // PasswordPolicy
|
|
37
|
+
* // MinimumPasswordLength: Number("int"),
|
|
38
|
+
* // RequireSymbols: true || false,
|
|
39
|
+
* // RequireNumbers: true || false,
|
|
40
|
+
* // RequireUppercaseCharacters: true || false,
|
|
41
|
+
* // RequireLowercaseCharacters: true || false,
|
|
42
|
+
* // AllowUsersToChangePassword: true || false,
|
|
43
|
+
* // ExpirePasswords: true || false,
|
|
44
|
+
* // MaxPasswordAge: Number("int"),
|
|
45
|
+
* // PasswordReusePrevention: Number("int"),
|
|
46
|
+
* // HardExpiry: true || false,
|
|
47
|
+
* // },
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
35
50
|
* ```
|
|
36
51
|
*
|
|
37
52
|
* @param GetAccountPasswordPolicyCommandInput - {@link GetAccountPasswordPolicyCommandInput}
|
|
@@ -48,6 +63,8 @@ export interface GetAccountPasswordPolicyCommandOutput extends GetAccountPasswor
|
|
|
48
63
|
* <p>The request processing has failed because of an unknown error, exception or
|
|
49
64
|
* failure.</p>
|
|
50
65
|
*
|
|
66
|
+
* @throws {@link IAMServiceException}
|
|
67
|
+
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
51
68
|
*
|
|
52
69
|
* @example To see the current account password policy
|
|
53
70
|
* ```javascript
|
|
@@ -32,6 +32,12 @@ export interface GetAccountSummaryCommandOutput extends GetAccountSummaryRespons
|
|
|
32
32
|
* const input = {};
|
|
33
33
|
* const command = new GetAccountSummaryCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // GetAccountSummaryResponse
|
|
36
|
+
* // SummaryMap: { // summaryMapType
|
|
37
|
+
* // "<keys>": Number("int"),
|
|
38
|
+
* // },
|
|
39
|
+
* // };
|
|
40
|
+
*
|
|
35
41
|
* ```
|
|
36
42
|
*
|
|
37
43
|
* @param GetAccountSummaryCommandInput - {@link GetAccountSummaryCommandInput}
|
|
@@ -44,6 +50,8 @@ export interface GetAccountSummaryCommandOutput extends GetAccountSummaryRespons
|
|
|
44
50
|
* <p>The request processing has failed because of an unknown error, exception or
|
|
45
51
|
* failure.</p>
|
|
46
52
|
*
|
|
53
|
+
* @throws {@link IAMServiceException}
|
|
54
|
+
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
47
55
|
*
|
|
48
56
|
* @example To get information about IAM entity quotas and usage in the current account
|
|
49
57
|
* ```javascript
|
|
@@ -42,6 +42,12 @@ export interface GetContextKeysForCustomPolicyCommandOutput extends GetContextKe
|
|
|
42
42
|
* };
|
|
43
43
|
* const command = new GetContextKeysForCustomPolicyCommand(input);
|
|
44
44
|
* const response = await client.send(command);
|
|
45
|
+
* // { // GetContextKeysForPolicyResponse
|
|
46
|
+
* // ContextKeyNames: [ // ContextKeyNamesResultListType
|
|
47
|
+
* // "STRING_VALUE",
|
|
48
|
+
* // ],
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
45
51
|
* ```
|
|
46
52
|
*
|
|
47
53
|
* @param GetContextKeysForCustomPolicyCommandInput - {@link GetContextKeysForCustomPolicyCommandInput}
|
|
@@ -54,6 +60,8 @@ export interface GetContextKeysForCustomPolicyCommandOutput extends GetContextKe
|
|
|
54
60
|
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
55
61
|
* input parameter.</p>
|
|
56
62
|
*
|
|
63
|
+
* @throws {@link IAMServiceException}
|
|
64
|
+
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
57
65
|
*
|
|
58
66
|
*/
|
|
59
67
|
export declare class GetContextKeysForCustomPolicyCommand extends $Command<GetContextKeysForCustomPolicyCommandInput, GetContextKeysForCustomPolicyCommandOutput, IAMClientResolvedConfig> {
|
|
@@ -47,6 +47,12 @@ export interface GetContextKeysForPrincipalPolicyCommandOutput extends GetContex
|
|
|
47
47
|
* };
|
|
48
48
|
* const command = new GetContextKeysForPrincipalPolicyCommand(input);
|
|
49
49
|
* const response = await client.send(command);
|
|
50
|
+
* // { // GetContextKeysForPolicyResponse
|
|
51
|
+
* // ContextKeyNames: [ // ContextKeyNamesResultListType
|
|
52
|
+
* // "STRING_VALUE",
|
|
53
|
+
* // ],
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
50
56
|
* ```
|
|
51
57
|
*
|
|
52
58
|
* @param GetContextKeysForPrincipalPolicyCommandInput - {@link GetContextKeysForPrincipalPolicyCommandInput}
|
|
@@ -63,6 +69,8 @@ export interface GetContextKeysForPrincipalPolicyCommandOutput extends GetContex
|
|
|
63
69
|
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
64
70
|
* error message describes the resource.</p>
|
|
65
71
|
*
|
|
72
|
+
* @throws {@link IAMServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
66
74
|
*
|
|
67
75
|
*/
|
|
68
76
|
export declare class GetContextKeysForPrincipalPolicyCommand extends $Command<GetContextKeysForPrincipalPolicyCommandInput, GetContextKeysForPrincipalPolicyCommandOutput, IAMClientResolvedConfig> {
|
|
@@ -31,6 +31,12 @@ export interface GetCredentialReportCommandOutput extends GetCredentialReportRes
|
|
|
31
31
|
* const input = {};
|
|
32
32
|
* const command = new GetCredentialReportCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // { // GetCredentialReportResponse
|
|
35
|
+
* // Content: "BLOB_VALUE",
|
|
36
|
+
* // ReportFormat: "text/csv",
|
|
37
|
+
* // GeneratedTime: new Date("TIMESTAMP"),
|
|
38
|
+
* // };
|
|
39
|
+
*
|
|
34
40
|
* ```
|
|
35
41
|
*
|
|
36
42
|
* @param GetCredentialReportCommandInput - {@link GetCredentialReportCommandInput}
|
|
@@ -56,6 +62,8 @@ export interface GetCredentialReportCommandOutput extends GetCredentialReportRes
|
|
|
56
62
|
* <p>The request processing has failed because of an unknown error, exception or
|
|
57
63
|
* failure.</p>
|
|
58
64
|
*
|
|
65
|
+
* @throws {@link IAMServiceException}
|
|
66
|
+
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
59
67
|
*
|
|
60
68
|
*/
|
|
61
69
|
export declare class GetCredentialReportCommand extends $Command<GetCredentialReportCommandInput, GetCredentialReportCommandOutput, IAMClientResolvedConfig> {
|
|
@@ -34,6 +34,38 @@ export interface GetGroupCommandOutput extends GetGroupResponse, __MetadataBeare
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new GetGroupCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // GetGroupResponse
|
|
38
|
+
* // Group: { // Group
|
|
39
|
+
* // Path: "STRING_VALUE", // required
|
|
40
|
+
* // GroupName: "STRING_VALUE", // required
|
|
41
|
+
* // GroupId: "STRING_VALUE", // required
|
|
42
|
+
* // Arn: "STRING_VALUE", // required
|
|
43
|
+
* // CreateDate: new Date("TIMESTAMP"), // required
|
|
44
|
+
* // },
|
|
45
|
+
* // Users: [ // userListType // required
|
|
46
|
+
* // { // User
|
|
47
|
+
* // Path: "STRING_VALUE", // required
|
|
48
|
+
* // UserName: "STRING_VALUE", // required
|
|
49
|
+
* // UserId: "STRING_VALUE", // required
|
|
50
|
+
* // Arn: "STRING_VALUE", // required
|
|
51
|
+
* // CreateDate: new Date("TIMESTAMP"), // required
|
|
52
|
+
* // PasswordLastUsed: new Date("TIMESTAMP"),
|
|
53
|
+
* // PermissionsBoundary: { // AttachedPermissionsBoundary
|
|
54
|
+
* // PermissionsBoundaryType: "PermissionsBoundaryPolicy",
|
|
55
|
+
* // PermissionsBoundaryArn: "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // Tags: [ // tagListType
|
|
58
|
+
* // { // Tag
|
|
59
|
+
* // Key: "STRING_VALUE", // required
|
|
60
|
+
* // Value: "STRING_VALUE", // required
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // IsTruncated: true || false,
|
|
66
|
+
* // Marker: "STRING_VALUE",
|
|
67
|
+
* // };
|
|
68
|
+
*
|
|
37
69
|
* ```
|
|
38
70
|
*
|
|
39
71
|
* @param GetGroupCommandInput - {@link GetGroupCommandInput}
|
|
@@ -50,6 +82,8 @@ export interface GetGroupCommandOutput extends GetGroupResponse, __MetadataBeare
|
|
|
50
82
|
* <p>The request processing has failed because of an unknown error, exception or
|
|
51
83
|
* failure.</p>
|
|
52
84
|
*
|
|
85
|
+
* @throws {@link IAMServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
53
87
|
*
|
|
54
88
|
*/
|
|
55
89
|
export declare class GetGroupCommand extends $Command<GetGroupCommandInput, GetGroupCommandOutput, IAMClientResolvedConfig> {
|
|
@@ -46,6 +46,12 @@ export interface GetGroupPolicyCommandOutput extends GetGroupPolicyResponse, __M
|
|
|
46
46
|
* };
|
|
47
47
|
* const command = new GetGroupPolicyCommand(input);
|
|
48
48
|
* const response = await client.send(command);
|
|
49
|
+
* // { // GetGroupPolicyResponse
|
|
50
|
+
* // GroupName: "STRING_VALUE", // required
|
|
51
|
+
* // PolicyName: "STRING_VALUE", // required
|
|
52
|
+
* // PolicyDocument: "STRING_VALUE", // required
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
49
55
|
* ```
|
|
50
56
|
*
|
|
51
57
|
* @param GetGroupPolicyCommandInput - {@link GetGroupPolicyCommandInput}
|
|
@@ -62,6 +68,8 @@ export interface GetGroupPolicyCommandOutput extends GetGroupPolicyResponse, __M
|
|
|
62
68
|
* <p>The request processing has failed because of an unknown error, exception or
|
|
63
69
|
* failure.</p>
|
|
64
70
|
*
|
|
71
|
+
* @throws {@link IAMServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
65
73
|
*
|
|
66
74
|
*/
|
|
67
75
|
export declare class GetGroupPolicyCommand extends $Command<GetGroupPolicyCommandInput, GetGroupPolicyCommandOutput, IAMClientResolvedConfig> {
|
|
@@ -34,6 +34,48 @@ export interface GetInstanceProfileCommandOutput extends GetInstanceProfileRespo
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new GetInstanceProfileCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // GetInstanceProfileResponse
|
|
38
|
+
* // InstanceProfile: { // InstanceProfile
|
|
39
|
+
* // Path: "STRING_VALUE", // required
|
|
40
|
+
* // InstanceProfileName: "STRING_VALUE", // required
|
|
41
|
+
* // InstanceProfileId: "STRING_VALUE", // required
|
|
42
|
+
* // Arn: "STRING_VALUE", // required
|
|
43
|
+
* // CreateDate: new Date("TIMESTAMP"), // required
|
|
44
|
+
* // Roles: [ // roleListType // required
|
|
45
|
+
* // { // Role
|
|
46
|
+
* // Path: "STRING_VALUE", // required
|
|
47
|
+
* // RoleName: "STRING_VALUE", // required
|
|
48
|
+
* // RoleId: "STRING_VALUE", // required
|
|
49
|
+
* // Arn: "STRING_VALUE", // required
|
|
50
|
+
* // CreateDate: new Date("TIMESTAMP"), // required
|
|
51
|
+
* // AssumeRolePolicyDocument: "STRING_VALUE",
|
|
52
|
+
* // Description: "STRING_VALUE",
|
|
53
|
+
* // MaxSessionDuration: Number("int"),
|
|
54
|
+
* // PermissionsBoundary: { // AttachedPermissionsBoundary
|
|
55
|
+
* // PermissionsBoundaryType: "PermissionsBoundaryPolicy",
|
|
56
|
+
* // PermissionsBoundaryArn: "STRING_VALUE",
|
|
57
|
+
* // },
|
|
58
|
+
* // Tags: [ // tagListType
|
|
59
|
+
* // { // Tag
|
|
60
|
+
* // Key: "STRING_VALUE", // required
|
|
61
|
+
* // Value: "STRING_VALUE", // required
|
|
62
|
+
* // },
|
|
63
|
+
* // ],
|
|
64
|
+
* // RoleLastUsed: { // RoleLastUsed
|
|
65
|
+
* // LastUsedDate: new Date("TIMESTAMP"),
|
|
66
|
+
* // Region: "STRING_VALUE",
|
|
67
|
+
* // },
|
|
68
|
+
* // },
|
|
69
|
+
* // ],
|
|
70
|
+
* // Tags: [
|
|
71
|
+
* // {
|
|
72
|
+
* // Key: "STRING_VALUE", // required
|
|
73
|
+
* // Value: "STRING_VALUE", // required
|
|
74
|
+
* // },
|
|
75
|
+
* // ],
|
|
76
|
+
* // },
|
|
77
|
+
* // };
|
|
78
|
+
*
|
|
37
79
|
* ```
|
|
38
80
|
*
|
|
39
81
|
* @param GetInstanceProfileCommandInput - {@link GetInstanceProfileCommandInput}
|
|
@@ -50,6 +92,8 @@ export interface GetInstanceProfileCommandOutput extends GetInstanceProfileRespo
|
|
|
50
92
|
* <p>The request processing has failed because of an unknown error, exception or
|
|
51
93
|
* failure.</p>
|
|
52
94
|
*
|
|
95
|
+
* @throws {@link IAMServiceException}
|
|
96
|
+
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
53
97
|
*
|
|
54
98
|
* @example To get information about an instance profile
|
|
55
99
|
* ```javascript
|
|
@@ -40,6 +40,14 @@ export interface GetLoginProfileCommandOutput extends GetLoginProfileResponse, _
|
|
|
40
40
|
* };
|
|
41
41
|
* const command = new GetLoginProfileCommand(input);
|
|
42
42
|
* const response = await client.send(command);
|
|
43
|
+
* // { // GetLoginProfileResponse
|
|
44
|
+
* // LoginProfile: { // LoginProfile
|
|
45
|
+
* // UserName: "STRING_VALUE", // required
|
|
46
|
+
* // CreateDate: new Date("TIMESTAMP"), // required
|
|
47
|
+
* // PasswordResetRequired: true || false,
|
|
48
|
+
* // },
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
43
51
|
* ```
|
|
44
52
|
*
|
|
45
53
|
* @param GetLoginProfileCommandInput - {@link GetLoginProfileCommandInput}
|
|
@@ -56,6 +64,8 @@ export interface GetLoginProfileCommandOutput extends GetLoginProfileResponse, _
|
|
|
56
64
|
* <p>The request processing has failed because of an unknown error, exception or
|
|
57
65
|
* failure.</p>
|
|
58
66
|
*
|
|
67
|
+
* @throws {@link IAMServiceException}
|
|
68
|
+
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
59
69
|
*
|
|
60
70
|
* @example To get password information for an IAM user
|
|
61
71
|
* ```javascript
|
|
@@ -32,6 +32,23 @@ export interface GetOpenIDConnectProviderCommandOutput extends GetOpenIDConnectP
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new GetOpenIDConnectProviderCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // GetOpenIDConnectProviderResponse
|
|
36
|
+
* // Url: "STRING_VALUE",
|
|
37
|
+
* // ClientIDList: [ // clientIDListType
|
|
38
|
+
* // "STRING_VALUE",
|
|
39
|
+
* // ],
|
|
40
|
+
* // ThumbprintList: [ // thumbprintListType
|
|
41
|
+
* // "STRING_VALUE",
|
|
42
|
+
* // ],
|
|
43
|
+
* // CreateDate: new Date("TIMESTAMP"),
|
|
44
|
+
* // Tags: [ // tagListType
|
|
45
|
+
* // { // Tag
|
|
46
|
+
* // Key: "STRING_VALUE", // required
|
|
47
|
+
* // Value: "STRING_VALUE", // required
|
|
48
|
+
* // },
|
|
49
|
+
* // ],
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
35
52
|
* ```
|
|
36
53
|
*
|
|
37
54
|
* @param GetOpenIDConnectProviderCommandInput - {@link GetOpenIDConnectProviderCommandInput}
|
|
@@ -52,6 +69,8 @@ export interface GetOpenIDConnectProviderCommandOutput extends GetOpenIDConnectP
|
|
|
52
69
|
* <p>The request processing has failed because of an unknown error, exception or
|
|
53
70
|
* failure.</p>
|
|
54
71
|
*
|
|
72
|
+
* @throws {@link IAMServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
55
74
|
*
|
|
56
75
|
*/
|
|
57
76
|
export declare class GetOpenIDConnectProviderCommand extends $Command<GetOpenIDConnectProviderCommandInput, GetOpenIDConnectProviderCommandOutput, IAMClientResolvedConfig> {
|
|
@@ -52,6 +52,30 @@ export interface GetOrganizationsAccessReportCommandOutput extends GetOrganizati
|
|
|
52
52
|
* };
|
|
53
53
|
* const command = new GetOrganizationsAccessReportCommand(input);
|
|
54
54
|
* const response = await client.send(command);
|
|
55
|
+
* // { // GetOrganizationsAccessReportResponse
|
|
56
|
+
* // JobStatus: "IN_PROGRESS" || "COMPLETED" || "FAILED", // required
|
|
57
|
+
* // JobCreationDate: new Date("TIMESTAMP"), // required
|
|
58
|
+
* // JobCompletionDate: new Date("TIMESTAMP"),
|
|
59
|
+
* // NumberOfServicesAccessible: Number("int"),
|
|
60
|
+
* // NumberOfServicesNotAccessed: Number("int"),
|
|
61
|
+
* // AccessDetails: [ // AccessDetails
|
|
62
|
+
* // { // AccessDetail
|
|
63
|
+
* // ServiceName: "STRING_VALUE", // required
|
|
64
|
+
* // ServiceNamespace: "STRING_VALUE", // required
|
|
65
|
+
* // Region: "STRING_VALUE",
|
|
66
|
+
* // EntityPath: "STRING_VALUE",
|
|
67
|
+
* // LastAuthenticatedTime: new Date("TIMESTAMP"),
|
|
68
|
+
* // TotalAuthenticatedEntities: Number("int"),
|
|
69
|
+
* // },
|
|
70
|
+
* // ],
|
|
71
|
+
* // IsTruncated: true || false,
|
|
72
|
+
* // Marker: "STRING_VALUE",
|
|
73
|
+
* // ErrorDetails: { // ErrorDetails
|
|
74
|
+
* // Message: "STRING_VALUE", // required
|
|
75
|
+
* // Code: "STRING_VALUE", // required
|
|
76
|
+
* // },
|
|
77
|
+
* // };
|
|
78
|
+
*
|
|
55
79
|
* ```
|
|
56
80
|
*
|
|
57
81
|
* @param GetOrganizationsAccessReportCommandInput - {@link GetOrganizationsAccessReportCommandInput}
|
|
@@ -64,6 +88,8 @@ export interface GetOrganizationsAccessReportCommandOutput extends GetOrganizati
|
|
|
64
88
|
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
65
89
|
* error message describes the resource.</p>
|
|
66
90
|
*
|
|
91
|
+
* @throws {@link IAMServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
67
93
|
*
|
|
68
94
|
* @example To get details from a previously generated organizational unit report
|
|
69
95
|
* ```javascript
|
|
@@ -40,6 +40,28 @@ export interface GetPolicyCommandOutput extends GetPolicyResponse, __MetadataBea
|
|
|
40
40
|
* };
|
|
41
41
|
* const command = new GetPolicyCommand(input);
|
|
42
42
|
* const response = await client.send(command);
|
|
43
|
+
* // { // GetPolicyResponse
|
|
44
|
+
* // Policy: { // Policy
|
|
45
|
+
* // PolicyName: "STRING_VALUE",
|
|
46
|
+
* // PolicyId: "STRING_VALUE",
|
|
47
|
+
* // Arn: "STRING_VALUE",
|
|
48
|
+
* // Path: "STRING_VALUE",
|
|
49
|
+
* // DefaultVersionId: "STRING_VALUE",
|
|
50
|
+
* // AttachmentCount: Number("int"),
|
|
51
|
+
* // PermissionsBoundaryUsageCount: Number("int"),
|
|
52
|
+
* // IsAttachable: true || false,
|
|
53
|
+
* // Description: "STRING_VALUE",
|
|
54
|
+
* // CreateDate: new Date("TIMESTAMP"),
|
|
55
|
+
* // UpdateDate: new Date("TIMESTAMP"),
|
|
56
|
+
* // Tags: [ // tagListType
|
|
57
|
+
* // { // Tag
|
|
58
|
+
* // Key: "STRING_VALUE", // required
|
|
59
|
+
* // Value: "STRING_VALUE", // required
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // },
|
|
63
|
+
* // };
|
|
64
|
+
*
|
|
43
65
|
* ```
|
|
44
66
|
*
|
|
45
67
|
* @param GetPolicyCommandInput - {@link GetPolicyCommandInput}
|
|
@@ -60,6 +82,8 @@ export interface GetPolicyCommandOutput extends GetPolicyResponse, __MetadataBea
|
|
|
60
82
|
* <p>The request processing has failed because of an unknown error, exception or
|
|
61
83
|
* failure.</p>
|
|
62
84
|
*
|
|
85
|
+
* @throws {@link IAMServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
63
87
|
*
|
|
64
88
|
*/
|
|
65
89
|
export declare class GetPolicyCommand extends $Command<GetPolicyCommandInput, GetPolicyCommandOutput, IAMClientResolvedConfig> {
|
|
@@ -47,6 +47,15 @@ export interface GetPolicyVersionCommandOutput extends GetPolicyVersionResponse,
|
|
|
47
47
|
* };
|
|
48
48
|
* const command = new GetPolicyVersionCommand(input);
|
|
49
49
|
* const response = await client.send(command);
|
|
50
|
+
* // { // GetPolicyVersionResponse
|
|
51
|
+
* // PolicyVersion: { // PolicyVersion
|
|
52
|
+
* // Document: "STRING_VALUE",
|
|
53
|
+
* // VersionId: "STRING_VALUE",
|
|
54
|
+
* // IsDefaultVersion: true || false,
|
|
55
|
+
* // CreateDate: new Date("TIMESTAMP"),
|
|
56
|
+
* // },
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
50
59
|
* ```
|
|
51
60
|
*
|
|
52
61
|
* @param GetPolicyVersionCommandInput - {@link GetPolicyVersionCommandInput}
|
|
@@ -67,6 +76,8 @@ export interface GetPolicyVersionCommandOutput extends GetPolicyVersionResponse,
|
|
|
67
76
|
* <p>The request processing has failed because of an unknown error, exception or
|
|
68
77
|
* failure.</p>
|
|
69
78
|
*
|
|
79
|
+
* @throws {@link IAMServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
70
81
|
*
|
|
71
82
|
*/
|
|
72
83
|
export declare class GetPolicyVersionCommand extends $Command<GetPolicyVersionCommandInput, GetPolicyVersionCommandOutput, IAMClientResolvedConfig> {
|
|
@@ -40,6 +40,33 @@ export interface GetRoleCommandOutput extends GetRoleResponse, __MetadataBearer
|
|
|
40
40
|
* };
|
|
41
41
|
* const command = new GetRoleCommand(input);
|
|
42
42
|
* const response = await client.send(command);
|
|
43
|
+
* // { // GetRoleResponse
|
|
44
|
+
* // Role: { // Role
|
|
45
|
+
* // Path: "STRING_VALUE", // required
|
|
46
|
+
* // RoleName: "STRING_VALUE", // required
|
|
47
|
+
* // RoleId: "STRING_VALUE", // required
|
|
48
|
+
* // Arn: "STRING_VALUE", // required
|
|
49
|
+
* // CreateDate: new Date("TIMESTAMP"), // required
|
|
50
|
+
* // AssumeRolePolicyDocument: "STRING_VALUE",
|
|
51
|
+
* // Description: "STRING_VALUE",
|
|
52
|
+
* // MaxSessionDuration: Number("int"),
|
|
53
|
+
* // PermissionsBoundary: { // AttachedPermissionsBoundary
|
|
54
|
+
* // PermissionsBoundaryType: "PermissionsBoundaryPolicy",
|
|
55
|
+
* // PermissionsBoundaryArn: "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // Tags: [ // tagListType
|
|
58
|
+
* // { // Tag
|
|
59
|
+
* // Key: "STRING_VALUE", // required
|
|
60
|
+
* // Value: "STRING_VALUE", // required
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
63
|
+
* // RoleLastUsed: { // RoleLastUsed
|
|
64
|
+
* // LastUsedDate: new Date("TIMESTAMP"),
|
|
65
|
+
* // Region: "STRING_VALUE",
|
|
66
|
+
* // },
|
|
67
|
+
* // },
|
|
68
|
+
* // };
|
|
69
|
+
*
|
|
43
70
|
* ```
|
|
44
71
|
*
|
|
45
72
|
* @param GetRoleCommandInput - {@link GetRoleCommandInput}
|
|
@@ -56,6 +83,8 @@ export interface GetRoleCommandOutput extends GetRoleResponse, __MetadataBearer
|
|
|
56
83
|
* <p>The request processing has failed because of an unknown error, exception or
|
|
57
84
|
* failure.</p>
|
|
58
85
|
*
|
|
86
|
+
* @throws {@link IAMServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
59
88
|
*
|
|
60
89
|
* @example To get information about an IAM role
|
|
61
90
|
* ```javascript
|
|
@@ -48,6 +48,12 @@ export interface GetRolePolicyCommandOutput extends GetRolePolicyResponse, __Met
|
|
|
48
48
|
* };
|
|
49
49
|
* const command = new GetRolePolicyCommand(input);
|
|
50
50
|
* const response = await client.send(command);
|
|
51
|
+
* // { // GetRolePolicyResponse
|
|
52
|
+
* // RoleName: "STRING_VALUE", // required
|
|
53
|
+
* // PolicyName: "STRING_VALUE", // required
|
|
54
|
+
* // PolicyDocument: "STRING_VALUE", // required
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
51
57
|
* ```
|
|
52
58
|
*
|
|
53
59
|
* @param GetRolePolicyCommandInput - {@link GetRolePolicyCommandInput}
|
|
@@ -64,6 +70,8 @@ export interface GetRolePolicyCommandOutput extends GetRolePolicyResponse, __Met
|
|
|
64
70
|
* <p>The request processing has failed because of an unknown error, exception or
|
|
65
71
|
* failure.</p>
|
|
66
72
|
*
|
|
73
|
+
* @throws {@link IAMServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
67
75
|
*
|
|
68
76
|
*/
|
|
69
77
|
export declare class GetRolePolicyCommand extends $Command<GetRolePolicyCommandInput, GetRolePolicyCommandOutput, IAMClientResolvedConfig> {
|