@aws-sdk/client-iam 3.301.0 → 3.306.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-cjs/models/models_0.js +130 -150
- package/dist-es/models/models_0.js +130 -150
- package/dist-types/models/models_0.d.ts +230 -130
- package/dist-types/ts3.4/models/models_0.d.ts +164 -130
- package/package.json +35 -35
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { IAMServiceException as __BaseException } from "./IAMServiceException";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
StatusType["Inactive"] = "Inactive";
|
|
12
|
-
})(StatusType || (StatusType = {}));
|
|
3
|
+
export const AccessAdvisorUsageGranularityType = {
|
|
4
|
+
ACTION_LEVEL: "ACTION_LEVEL",
|
|
5
|
+
SERVICE_LEVEL: "SERVICE_LEVEL",
|
|
6
|
+
};
|
|
7
|
+
export const StatusType = {
|
|
8
|
+
Active: "Active",
|
|
9
|
+
Inactive: "Inactive",
|
|
10
|
+
};
|
|
13
11
|
export class InvalidInputException extends __BaseException {
|
|
14
12
|
constructor(opts) {
|
|
15
13
|
super({
|
|
@@ -82,16 +80,14 @@ export class UnmodifiableEntityException extends __BaseException {
|
|
|
82
80
|
Object.setPrototypeOf(this, UnmodifiableEntityException.prototype);
|
|
83
81
|
}
|
|
84
82
|
}
|
|
85
|
-
export
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
PermissionsBoundaryAttachmentType["Policy"] = "PermissionsBoundaryPolicy";
|
|
94
|
-
})(PermissionsBoundaryAttachmentType || (PermissionsBoundaryAttachmentType = {}));
|
|
83
|
+
export const AssignmentStatusType = {
|
|
84
|
+
Any: "Any",
|
|
85
|
+
Assigned: "Assigned",
|
|
86
|
+
Unassigned: "Unassigned",
|
|
87
|
+
};
|
|
88
|
+
export const PermissionsBoundaryAttachmentType = {
|
|
89
|
+
Policy: "PermissionsBoundaryPolicy",
|
|
90
|
+
};
|
|
95
91
|
export class PolicyNotAttachableException extends __BaseException {
|
|
96
92
|
constructor(opts) {
|
|
97
93
|
super({
|
|
@@ -200,12 +196,11 @@ export class InvalidAuthenticationCodeException extends __BaseException {
|
|
|
200
196
|
Object.setPrototypeOf(this, InvalidAuthenticationCodeException.prototype);
|
|
201
197
|
}
|
|
202
198
|
}
|
|
203
|
-
export
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
})(ReportStateType || (ReportStateType = {}));
|
|
199
|
+
export const ReportStateType = {
|
|
200
|
+
COMPLETE: "COMPLETE",
|
|
201
|
+
INPROGRESS: "INPROGRESS",
|
|
202
|
+
STARTED: "STARTED",
|
|
203
|
+
};
|
|
209
204
|
export class ReportGenerationLimitExceededException extends __BaseException {
|
|
210
205
|
constructor(opts) {
|
|
211
206
|
super({
|
|
@@ -218,43 +213,41 @@ export class ReportGenerationLimitExceededException extends __BaseException {
|
|
|
218
213
|
Object.setPrototypeOf(this, ReportGenerationLimitExceededException.prototype);
|
|
219
214
|
}
|
|
220
215
|
}
|
|
221
|
-
export
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
SummaryKeyType["VersionsPerPolicyQuota"] = "VersionsPerPolicyQuota";
|
|
257
|
-
})(SummaryKeyType || (SummaryKeyType = {}));
|
|
216
|
+
export const EntityType = {
|
|
217
|
+
AWSManagedPolicy: "AWSManagedPolicy",
|
|
218
|
+
Group: "Group",
|
|
219
|
+
LocalManagedPolicy: "LocalManagedPolicy",
|
|
220
|
+
Role: "Role",
|
|
221
|
+
User: "User",
|
|
222
|
+
};
|
|
223
|
+
export const SummaryKeyType = {
|
|
224
|
+
AccessKeysPerUserQuota: "AccessKeysPerUserQuota",
|
|
225
|
+
AccountAccessKeysPresent: "AccountAccessKeysPresent",
|
|
226
|
+
AccountMFAEnabled: "AccountMFAEnabled",
|
|
227
|
+
AccountSigningCertificatesPresent: "AccountSigningCertificatesPresent",
|
|
228
|
+
AttachedPoliciesPerGroupQuota: "AttachedPoliciesPerGroupQuota",
|
|
229
|
+
AttachedPoliciesPerRoleQuota: "AttachedPoliciesPerRoleQuota",
|
|
230
|
+
AttachedPoliciesPerUserQuota: "AttachedPoliciesPerUserQuota",
|
|
231
|
+
GlobalEndpointTokenVersion: "GlobalEndpointTokenVersion",
|
|
232
|
+
GroupPolicySizeQuota: "GroupPolicySizeQuota",
|
|
233
|
+
Groups: "Groups",
|
|
234
|
+
GroupsPerUserQuota: "GroupsPerUserQuota",
|
|
235
|
+
GroupsQuota: "GroupsQuota",
|
|
236
|
+
MFADevices: "MFADevices",
|
|
237
|
+
MFADevicesInUse: "MFADevicesInUse",
|
|
238
|
+
Policies: "Policies",
|
|
239
|
+
PoliciesQuota: "PoliciesQuota",
|
|
240
|
+
PolicySizeQuota: "PolicySizeQuota",
|
|
241
|
+
PolicyVersionsInUse: "PolicyVersionsInUse",
|
|
242
|
+
PolicyVersionsInUseQuota: "PolicyVersionsInUseQuota",
|
|
243
|
+
ServerCertificates: "ServerCertificates",
|
|
244
|
+
ServerCertificatesQuota: "ServerCertificatesQuota",
|
|
245
|
+
SigningCertificatesPerUserQuota: "SigningCertificatesPerUserQuota",
|
|
246
|
+
UserPolicySizeQuota: "UserPolicySizeQuota",
|
|
247
|
+
Users: "Users",
|
|
248
|
+
UsersQuota: "UsersQuota",
|
|
249
|
+
VersionsPerPolicyQuota: "VersionsPerPolicyQuota",
|
|
250
|
+
};
|
|
258
251
|
export class CredentialReportExpiredException extends __BaseException {
|
|
259
252
|
constructor(opts) {
|
|
260
253
|
super({
|
|
@@ -291,41 +284,35 @@ export class CredentialReportNotReadyException extends __BaseException {
|
|
|
291
284
|
Object.setPrototypeOf(this, CredentialReportNotReadyException.prototype);
|
|
292
285
|
}
|
|
293
286
|
}
|
|
294
|
-
export
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
})(DeletionTaskStatusType || (DeletionTaskStatusType = {}));
|
|
324
|
-
export var EncodingType;
|
|
325
|
-
(function (EncodingType) {
|
|
326
|
-
EncodingType["PEM"] = "PEM";
|
|
327
|
-
EncodingType["SSH"] = "SSH";
|
|
328
|
-
})(EncodingType || (EncodingType = {}));
|
|
287
|
+
export const ReportFormatType = {
|
|
288
|
+
text_csv: "text/csv",
|
|
289
|
+
};
|
|
290
|
+
export const SortKeyType = {
|
|
291
|
+
LAST_AUTHENTICATED_TIME_ASCENDING: "LAST_AUTHENTICATED_TIME_ASCENDING",
|
|
292
|
+
LAST_AUTHENTICATED_TIME_DESCENDING: "LAST_AUTHENTICATED_TIME_DESCENDING",
|
|
293
|
+
SERVICE_NAMESPACE_ASCENDING: "SERVICE_NAMESPACE_ASCENDING",
|
|
294
|
+
SERVICE_NAMESPACE_DESCENDING: "SERVICE_NAMESPACE_DESCENDING",
|
|
295
|
+
};
|
|
296
|
+
export const JobStatusType = {
|
|
297
|
+
COMPLETED: "COMPLETED",
|
|
298
|
+
FAILED: "FAILED",
|
|
299
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
300
|
+
};
|
|
301
|
+
export const PolicyOwnerEntityType = {
|
|
302
|
+
GROUP: "GROUP",
|
|
303
|
+
ROLE: "ROLE",
|
|
304
|
+
USER: "USER",
|
|
305
|
+
};
|
|
306
|
+
export const DeletionTaskStatusType = {
|
|
307
|
+
FAILED: "FAILED",
|
|
308
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
309
|
+
NOT_STARTED: "NOT_STARTED",
|
|
310
|
+
SUCCEEDED: "SUCCEEDED",
|
|
311
|
+
};
|
|
312
|
+
export const EncodingType = {
|
|
313
|
+
PEM: "PEM",
|
|
314
|
+
SSH: "SSH",
|
|
315
|
+
};
|
|
329
316
|
export class UnrecognizedPublicKeyEncodingException extends __BaseException {
|
|
330
317
|
constructor(opts) {
|
|
331
318
|
super({
|
|
@@ -338,27 +325,23 @@ export class UnrecognizedPublicKeyEncodingException extends __BaseException {
|
|
|
338
325
|
Object.setPrototypeOf(this, UnrecognizedPublicKeyEncodingException.prototype);
|
|
339
326
|
}
|
|
340
327
|
}
|
|
341
|
-
export
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
(function (GlobalEndpointTokenVersion) {
|
|
359
|
-
GlobalEndpointTokenVersion["v1Token"] = "v1Token";
|
|
360
|
-
GlobalEndpointTokenVersion["v2Token"] = "v2Token";
|
|
361
|
-
})(GlobalEndpointTokenVersion || (GlobalEndpointTokenVersion = {}));
|
|
328
|
+
export const PolicyUsageType = {
|
|
329
|
+
PermissionsBoundary: "PermissionsBoundary",
|
|
330
|
+
PermissionsPolicy: "PermissionsPolicy",
|
|
331
|
+
};
|
|
332
|
+
export const PolicyScopeType = {
|
|
333
|
+
AWS: "AWS",
|
|
334
|
+
All: "All",
|
|
335
|
+
Local: "Local",
|
|
336
|
+
};
|
|
337
|
+
export const PolicyType = {
|
|
338
|
+
INLINE: "INLINE",
|
|
339
|
+
MANAGED: "MANAGED",
|
|
340
|
+
};
|
|
341
|
+
export const GlobalEndpointTokenVersion = {
|
|
342
|
+
v1Token: "v1Token",
|
|
343
|
+
v2Token: "v2Token",
|
|
344
|
+
};
|
|
362
345
|
export class PolicyEvaluationException extends __BaseException {
|
|
363
346
|
constructor(opts) {
|
|
364
347
|
super({
|
|
@@ -371,37 +354,34 @@ export class PolicyEvaluationException extends __BaseException {
|
|
|
371
354
|
Object.setPrototypeOf(this, PolicyEvaluationException.prototype);
|
|
372
355
|
}
|
|
373
356
|
}
|
|
374
|
-
export
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
PolicySourceType["USER"] = "user";
|
|
403
|
-
PolicySourceType["USER_MANAGED"] = "user-managed";
|
|
404
|
-
})(PolicySourceType || (PolicySourceType = {}));
|
|
357
|
+
export const ContextKeyTypeEnum = {
|
|
358
|
+
BINARY: "binary",
|
|
359
|
+
BINARY_LIST: "binaryList",
|
|
360
|
+
BOOLEAN: "boolean",
|
|
361
|
+
BOOLEAN_LIST: "booleanList",
|
|
362
|
+
DATE: "date",
|
|
363
|
+
DATE_LIST: "dateList",
|
|
364
|
+
IP: "ip",
|
|
365
|
+
IP_LIST: "ipList",
|
|
366
|
+
NUMERIC: "numeric",
|
|
367
|
+
NUMERIC_LIST: "numericList",
|
|
368
|
+
STRING: "string",
|
|
369
|
+
STRING_LIST: "stringList",
|
|
370
|
+
};
|
|
371
|
+
export const PolicyEvaluationDecisionType = {
|
|
372
|
+
ALLOWED: "allowed",
|
|
373
|
+
EXPLICIT_DENY: "explicitDeny",
|
|
374
|
+
IMPLICIT_DENY: "implicitDeny",
|
|
375
|
+
};
|
|
376
|
+
export const PolicySourceType = {
|
|
377
|
+
AWS_MANAGED: "aws-managed",
|
|
378
|
+
GROUP: "group",
|
|
379
|
+
NONE: "none",
|
|
380
|
+
RESOURCE: "resource",
|
|
381
|
+
ROLE: "role",
|
|
382
|
+
USER: "user",
|
|
383
|
+
USER_MANAGED: "user-managed",
|
|
384
|
+
};
|
|
405
385
|
export const AccessKeyFilterSensitiveLog = (obj) => ({
|
|
406
386
|
...obj,
|
|
407
387
|
...(obj.SecretAccessKey && { SecretAccessKey: SENSITIVE_STRING }),
|