@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
|
@@ -4,16 +4,14 @@ exports.ListVirtualMFADevicesResponseFilterSensitiveLog = exports.CreateVirtualM
|
|
|
4
4
|
exports.ResetServiceSpecificCredentialResponseFilterSensitiveLog = void 0;
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const IAMServiceException_1 = require("./IAMServiceException");
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
StatusType["Inactive"] = "Inactive";
|
|
16
|
-
})(StatusType = exports.StatusType || (exports.StatusType = {}));
|
|
7
|
+
exports.AccessAdvisorUsageGranularityType = {
|
|
8
|
+
ACTION_LEVEL: "ACTION_LEVEL",
|
|
9
|
+
SERVICE_LEVEL: "SERVICE_LEVEL",
|
|
10
|
+
};
|
|
11
|
+
exports.StatusType = {
|
|
12
|
+
Active: "Active",
|
|
13
|
+
Inactive: "Inactive",
|
|
14
|
+
};
|
|
17
15
|
class InvalidInputException extends IAMServiceException_1.IAMServiceException {
|
|
18
16
|
constructor(opts) {
|
|
19
17
|
super({
|
|
@@ -92,16 +90,14 @@ class UnmodifiableEntityException extends IAMServiceException_1.IAMServiceExcept
|
|
|
92
90
|
}
|
|
93
91
|
}
|
|
94
92
|
exports.UnmodifiableEntityException = UnmodifiableEntityException;
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
PermissionsBoundaryAttachmentType["Policy"] = "PermissionsBoundaryPolicy";
|
|
104
|
-
})(PermissionsBoundaryAttachmentType = exports.PermissionsBoundaryAttachmentType || (exports.PermissionsBoundaryAttachmentType = {}));
|
|
93
|
+
exports.AssignmentStatusType = {
|
|
94
|
+
Any: "Any",
|
|
95
|
+
Assigned: "Assigned",
|
|
96
|
+
Unassigned: "Unassigned",
|
|
97
|
+
};
|
|
98
|
+
exports.PermissionsBoundaryAttachmentType = {
|
|
99
|
+
Policy: "PermissionsBoundaryPolicy",
|
|
100
|
+
};
|
|
105
101
|
class PolicyNotAttachableException extends IAMServiceException_1.IAMServiceException {
|
|
106
102
|
constructor(opts) {
|
|
107
103
|
super({
|
|
@@ -219,12 +215,11 @@ class InvalidAuthenticationCodeException extends IAMServiceException_1.IAMServic
|
|
|
219
215
|
}
|
|
220
216
|
}
|
|
221
217
|
exports.InvalidAuthenticationCodeException = InvalidAuthenticationCodeException;
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
})(ReportStateType = exports.ReportStateType || (exports.ReportStateType = {}));
|
|
218
|
+
exports.ReportStateType = {
|
|
219
|
+
COMPLETE: "COMPLETE",
|
|
220
|
+
INPROGRESS: "INPROGRESS",
|
|
221
|
+
STARTED: "STARTED",
|
|
222
|
+
};
|
|
228
223
|
class ReportGenerationLimitExceededException extends IAMServiceException_1.IAMServiceException {
|
|
229
224
|
constructor(opts) {
|
|
230
225
|
super({
|
|
@@ -238,43 +233,41 @@ class ReportGenerationLimitExceededException extends IAMServiceException_1.IAMSe
|
|
|
238
233
|
}
|
|
239
234
|
}
|
|
240
235
|
exports.ReportGenerationLimitExceededException = ReportGenerationLimitExceededException;
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
SummaryKeyType["VersionsPerPolicyQuota"] = "VersionsPerPolicyQuota";
|
|
277
|
-
})(SummaryKeyType = exports.SummaryKeyType || (exports.SummaryKeyType = {}));
|
|
236
|
+
exports.EntityType = {
|
|
237
|
+
AWSManagedPolicy: "AWSManagedPolicy",
|
|
238
|
+
Group: "Group",
|
|
239
|
+
LocalManagedPolicy: "LocalManagedPolicy",
|
|
240
|
+
Role: "Role",
|
|
241
|
+
User: "User",
|
|
242
|
+
};
|
|
243
|
+
exports.SummaryKeyType = {
|
|
244
|
+
AccessKeysPerUserQuota: "AccessKeysPerUserQuota",
|
|
245
|
+
AccountAccessKeysPresent: "AccountAccessKeysPresent",
|
|
246
|
+
AccountMFAEnabled: "AccountMFAEnabled",
|
|
247
|
+
AccountSigningCertificatesPresent: "AccountSigningCertificatesPresent",
|
|
248
|
+
AttachedPoliciesPerGroupQuota: "AttachedPoliciesPerGroupQuota",
|
|
249
|
+
AttachedPoliciesPerRoleQuota: "AttachedPoliciesPerRoleQuota",
|
|
250
|
+
AttachedPoliciesPerUserQuota: "AttachedPoliciesPerUserQuota",
|
|
251
|
+
GlobalEndpointTokenVersion: "GlobalEndpointTokenVersion",
|
|
252
|
+
GroupPolicySizeQuota: "GroupPolicySizeQuota",
|
|
253
|
+
Groups: "Groups",
|
|
254
|
+
GroupsPerUserQuota: "GroupsPerUserQuota",
|
|
255
|
+
GroupsQuota: "GroupsQuota",
|
|
256
|
+
MFADevices: "MFADevices",
|
|
257
|
+
MFADevicesInUse: "MFADevicesInUse",
|
|
258
|
+
Policies: "Policies",
|
|
259
|
+
PoliciesQuota: "PoliciesQuota",
|
|
260
|
+
PolicySizeQuota: "PolicySizeQuota",
|
|
261
|
+
PolicyVersionsInUse: "PolicyVersionsInUse",
|
|
262
|
+
PolicyVersionsInUseQuota: "PolicyVersionsInUseQuota",
|
|
263
|
+
ServerCertificates: "ServerCertificates",
|
|
264
|
+
ServerCertificatesQuota: "ServerCertificatesQuota",
|
|
265
|
+
SigningCertificatesPerUserQuota: "SigningCertificatesPerUserQuota",
|
|
266
|
+
UserPolicySizeQuota: "UserPolicySizeQuota",
|
|
267
|
+
Users: "Users",
|
|
268
|
+
UsersQuota: "UsersQuota",
|
|
269
|
+
VersionsPerPolicyQuota: "VersionsPerPolicyQuota",
|
|
270
|
+
};
|
|
278
271
|
class CredentialReportExpiredException extends IAMServiceException_1.IAMServiceException {
|
|
279
272
|
constructor(opts) {
|
|
280
273
|
super({
|
|
@@ -314,41 +307,35 @@ class CredentialReportNotReadyException extends IAMServiceException_1.IAMService
|
|
|
314
307
|
}
|
|
315
308
|
}
|
|
316
309
|
exports.CredentialReportNotReadyException = CredentialReportNotReadyException;
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
})(DeletionTaskStatusType = exports.DeletionTaskStatusType || (exports.DeletionTaskStatusType = {}));
|
|
347
|
-
var EncodingType;
|
|
348
|
-
(function (EncodingType) {
|
|
349
|
-
EncodingType["PEM"] = "PEM";
|
|
350
|
-
EncodingType["SSH"] = "SSH";
|
|
351
|
-
})(EncodingType = exports.EncodingType || (exports.EncodingType = {}));
|
|
310
|
+
exports.ReportFormatType = {
|
|
311
|
+
text_csv: "text/csv",
|
|
312
|
+
};
|
|
313
|
+
exports.SortKeyType = {
|
|
314
|
+
LAST_AUTHENTICATED_TIME_ASCENDING: "LAST_AUTHENTICATED_TIME_ASCENDING",
|
|
315
|
+
LAST_AUTHENTICATED_TIME_DESCENDING: "LAST_AUTHENTICATED_TIME_DESCENDING",
|
|
316
|
+
SERVICE_NAMESPACE_ASCENDING: "SERVICE_NAMESPACE_ASCENDING",
|
|
317
|
+
SERVICE_NAMESPACE_DESCENDING: "SERVICE_NAMESPACE_DESCENDING",
|
|
318
|
+
};
|
|
319
|
+
exports.JobStatusType = {
|
|
320
|
+
COMPLETED: "COMPLETED",
|
|
321
|
+
FAILED: "FAILED",
|
|
322
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
323
|
+
};
|
|
324
|
+
exports.PolicyOwnerEntityType = {
|
|
325
|
+
GROUP: "GROUP",
|
|
326
|
+
ROLE: "ROLE",
|
|
327
|
+
USER: "USER",
|
|
328
|
+
};
|
|
329
|
+
exports.DeletionTaskStatusType = {
|
|
330
|
+
FAILED: "FAILED",
|
|
331
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
332
|
+
NOT_STARTED: "NOT_STARTED",
|
|
333
|
+
SUCCEEDED: "SUCCEEDED",
|
|
334
|
+
};
|
|
335
|
+
exports.EncodingType = {
|
|
336
|
+
PEM: "PEM",
|
|
337
|
+
SSH: "SSH",
|
|
338
|
+
};
|
|
352
339
|
class UnrecognizedPublicKeyEncodingException extends IAMServiceException_1.IAMServiceException {
|
|
353
340
|
constructor(opts) {
|
|
354
341
|
super({
|
|
@@ -362,27 +349,23 @@ class UnrecognizedPublicKeyEncodingException extends IAMServiceException_1.IAMSe
|
|
|
362
349
|
}
|
|
363
350
|
}
|
|
364
351
|
exports.UnrecognizedPublicKeyEncodingException = UnrecognizedPublicKeyEncodingException;
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
(function (GlobalEndpointTokenVersion) {
|
|
383
|
-
GlobalEndpointTokenVersion["v1Token"] = "v1Token";
|
|
384
|
-
GlobalEndpointTokenVersion["v2Token"] = "v2Token";
|
|
385
|
-
})(GlobalEndpointTokenVersion = exports.GlobalEndpointTokenVersion || (exports.GlobalEndpointTokenVersion = {}));
|
|
352
|
+
exports.PolicyUsageType = {
|
|
353
|
+
PermissionsBoundary: "PermissionsBoundary",
|
|
354
|
+
PermissionsPolicy: "PermissionsPolicy",
|
|
355
|
+
};
|
|
356
|
+
exports.PolicyScopeType = {
|
|
357
|
+
AWS: "AWS",
|
|
358
|
+
All: "All",
|
|
359
|
+
Local: "Local",
|
|
360
|
+
};
|
|
361
|
+
exports.PolicyType = {
|
|
362
|
+
INLINE: "INLINE",
|
|
363
|
+
MANAGED: "MANAGED",
|
|
364
|
+
};
|
|
365
|
+
exports.GlobalEndpointTokenVersion = {
|
|
366
|
+
v1Token: "v1Token",
|
|
367
|
+
v2Token: "v2Token",
|
|
368
|
+
};
|
|
386
369
|
class PolicyEvaluationException extends IAMServiceException_1.IAMServiceException {
|
|
387
370
|
constructor(opts) {
|
|
388
371
|
super({
|
|
@@ -396,37 +379,34 @@ class PolicyEvaluationException extends IAMServiceException_1.IAMServiceExceptio
|
|
|
396
379
|
}
|
|
397
380
|
}
|
|
398
381
|
exports.PolicyEvaluationException = PolicyEvaluationException;
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
PolicySourceType["USER"] = "user";
|
|
428
|
-
PolicySourceType["USER_MANAGED"] = "user-managed";
|
|
429
|
-
})(PolicySourceType = exports.PolicySourceType || (exports.PolicySourceType = {}));
|
|
382
|
+
exports.ContextKeyTypeEnum = {
|
|
383
|
+
BINARY: "binary",
|
|
384
|
+
BINARY_LIST: "binaryList",
|
|
385
|
+
BOOLEAN: "boolean",
|
|
386
|
+
BOOLEAN_LIST: "booleanList",
|
|
387
|
+
DATE: "date",
|
|
388
|
+
DATE_LIST: "dateList",
|
|
389
|
+
IP: "ip",
|
|
390
|
+
IP_LIST: "ipList",
|
|
391
|
+
NUMERIC: "numeric",
|
|
392
|
+
NUMERIC_LIST: "numericList",
|
|
393
|
+
STRING: "string",
|
|
394
|
+
STRING_LIST: "stringList",
|
|
395
|
+
};
|
|
396
|
+
exports.PolicyEvaluationDecisionType = {
|
|
397
|
+
ALLOWED: "allowed",
|
|
398
|
+
EXPLICIT_DENY: "explicitDeny",
|
|
399
|
+
IMPLICIT_DENY: "implicitDeny",
|
|
400
|
+
};
|
|
401
|
+
exports.PolicySourceType = {
|
|
402
|
+
AWS_MANAGED: "aws-managed",
|
|
403
|
+
GROUP: "group",
|
|
404
|
+
NONE: "none",
|
|
405
|
+
RESOURCE: "resource",
|
|
406
|
+
ROLE: "role",
|
|
407
|
+
USER: "user",
|
|
408
|
+
USER_MANAGED: "user-managed",
|
|
409
|
+
};
|
|
430
410
|
const AccessKeyFilterSensitiveLog = (obj) => ({
|
|
431
411
|
...obj,
|
|
432
412
|
...(obj.SecretAccessKey && { SecretAccessKey: smithy_client_1.SENSITIVE_STRING }),
|