@aws-sdk/client-iam 3.300.0 → 3.303.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.
Files changed (156) hide show
  1. package/dist-cjs/models/models_0.js +130 -150
  2. package/dist-es/models/models_0.js +130 -150
  3. package/dist-types/commands/AddClientIDToOpenIDConnectProviderCommand.d.ts +1 -1
  4. package/dist-types/commands/AddRoleToInstanceProfileCommand.d.ts +1 -1
  5. package/dist-types/commands/AddUserToGroupCommand.d.ts +1 -1
  6. package/dist-types/commands/AttachGroupPolicyCommand.d.ts +1 -1
  7. package/dist-types/commands/AttachRolePolicyCommand.d.ts +1 -1
  8. package/dist-types/commands/AttachUserPolicyCommand.d.ts +1 -1
  9. package/dist-types/commands/ChangePasswordCommand.d.ts +1 -1
  10. package/dist-types/commands/CreateAccessKeyCommand.d.ts +1 -1
  11. package/dist-types/commands/CreateAccountAliasCommand.d.ts +1 -1
  12. package/dist-types/commands/CreateGroupCommand.d.ts +1 -1
  13. package/dist-types/commands/CreateInstanceProfileCommand.d.ts +3 -3
  14. package/dist-types/commands/CreateLoginProfileCommand.d.ts +1 -1
  15. package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +5 -5
  16. package/dist-types/commands/CreatePolicyCommand.d.ts +3 -3
  17. package/dist-types/commands/CreatePolicyVersionCommand.d.ts +1 -1
  18. package/dist-types/commands/CreateRoleCommand.d.ts +3 -3
  19. package/dist-types/commands/CreateSAMLProviderCommand.d.ts +3 -3
  20. package/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +1 -1
  21. package/dist-types/commands/CreateServiceSpecificCredentialCommand.d.ts +1 -1
  22. package/dist-types/commands/CreateUserCommand.d.ts +3 -3
  23. package/dist-types/commands/CreateVirtualMFADeviceCommand.d.ts +3 -3
  24. package/dist-types/commands/DeactivateMFADeviceCommand.d.ts +1 -1
  25. package/dist-types/commands/DeleteAccessKeyCommand.d.ts +1 -1
  26. package/dist-types/commands/DeleteAccountAliasCommand.d.ts +1 -1
  27. package/dist-types/commands/DeleteGroupCommand.d.ts +1 -1
  28. package/dist-types/commands/DeleteGroupPolicyCommand.d.ts +1 -1
  29. package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +1 -1
  30. package/dist-types/commands/DeleteLoginProfileCommand.d.ts +1 -1
  31. package/dist-types/commands/DeleteOpenIDConnectProviderCommand.d.ts +1 -1
  32. package/dist-types/commands/DeletePolicyCommand.d.ts +1 -1
  33. package/dist-types/commands/DeletePolicyVersionCommand.d.ts +1 -1
  34. package/dist-types/commands/DeleteRoleCommand.d.ts +1 -1
  35. package/dist-types/commands/DeleteRolePermissionsBoundaryCommand.d.ts +1 -1
  36. package/dist-types/commands/DeleteRolePolicyCommand.d.ts +1 -1
  37. package/dist-types/commands/DeleteSAMLProviderCommand.d.ts +1 -1
  38. package/dist-types/commands/DeleteSSHPublicKeyCommand.d.ts +1 -1
  39. package/dist-types/commands/DeleteServerCertificateCommand.d.ts +1 -1
  40. package/dist-types/commands/DeleteServiceLinkedRoleCommand.d.ts +1 -1
  41. package/dist-types/commands/DeleteServiceSpecificCredentialCommand.d.ts +1 -1
  42. package/dist-types/commands/DeleteSigningCertificateCommand.d.ts +1 -1
  43. package/dist-types/commands/DeleteUserCommand.d.ts +1 -1
  44. package/dist-types/commands/DeleteUserPermissionsBoundaryCommand.d.ts +1 -1
  45. package/dist-types/commands/DeleteUserPolicyCommand.d.ts +1 -1
  46. package/dist-types/commands/DeleteVirtualMFADeviceCommand.d.ts +1 -1
  47. package/dist-types/commands/DetachGroupPolicyCommand.d.ts +1 -1
  48. package/dist-types/commands/DetachRolePolicyCommand.d.ts +1 -1
  49. package/dist-types/commands/DetachUserPolicyCommand.d.ts +1 -1
  50. package/dist-types/commands/EnableMFADeviceCommand.d.ts +1 -1
  51. package/dist-types/commands/GenerateOrganizationsAccessReportCommand.d.ts +1 -1
  52. package/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +1 -1
  53. package/dist-types/commands/GetAccessKeyLastUsedCommand.d.ts +1 -1
  54. package/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +2 -2
  55. package/dist-types/commands/GetContextKeysForCustomPolicyCommand.d.ts +2 -2
  56. package/dist-types/commands/GetContextKeysForPrincipalPolicyCommand.d.ts +2 -2
  57. package/dist-types/commands/GetGroupCommand.d.ts +1 -1
  58. package/dist-types/commands/GetGroupPolicyCommand.d.ts +1 -1
  59. package/dist-types/commands/GetInstanceProfileCommand.d.ts +1 -1
  60. package/dist-types/commands/GetLoginProfileCommand.d.ts +1 -1
  61. package/dist-types/commands/GetOpenIDConnectProviderCommand.d.ts +1 -1
  62. package/dist-types/commands/GetOrganizationsAccessReportCommand.d.ts +1 -1
  63. package/dist-types/commands/GetPolicyCommand.d.ts +1 -1
  64. package/dist-types/commands/GetPolicyVersionCommand.d.ts +1 -1
  65. package/dist-types/commands/GetRoleCommand.d.ts +1 -1
  66. package/dist-types/commands/GetRolePolicyCommand.d.ts +1 -1
  67. package/dist-types/commands/GetSAMLProviderCommand.d.ts +1 -1
  68. package/dist-types/commands/GetSSHPublicKeyCommand.d.ts +1 -1
  69. package/dist-types/commands/GetServerCertificateCommand.d.ts +1 -1
  70. package/dist-types/commands/GetServiceLastAccessedDetailsCommand.d.ts +1 -1
  71. package/dist-types/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +1 -1
  72. package/dist-types/commands/GetServiceLinkedRoleDeletionStatusCommand.d.ts +1 -1
  73. package/dist-types/commands/GetUserCommand.d.ts +1 -1
  74. package/dist-types/commands/GetUserPolicyCommand.d.ts +1 -1
  75. package/dist-types/commands/ListAccessKeysCommand.d.ts +1 -1
  76. package/dist-types/commands/ListAccountAliasesCommand.d.ts +1 -1
  77. package/dist-types/commands/ListAttachedGroupPoliciesCommand.d.ts +1 -1
  78. package/dist-types/commands/ListAttachedRolePoliciesCommand.d.ts +1 -1
  79. package/dist-types/commands/ListAttachedUserPoliciesCommand.d.ts +1 -1
  80. package/dist-types/commands/ListEntitiesForPolicyCommand.d.ts +1 -1
  81. package/dist-types/commands/ListGroupPoliciesCommand.d.ts +1 -1
  82. package/dist-types/commands/ListGroupsCommand.d.ts +1 -1
  83. package/dist-types/commands/ListGroupsForUserCommand.d.ts +1 -1
  84. package/dist-types/commands/ListInstanceProfileTagsCommand.d.ts +1 -1
  85. package/dist-types/commands/ListInstanceProfilesCommand.d.ts +1 -1
  86. package/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +1 -1
  87. package/dist-types/commands/ListMFADeviceTagsCommand.d.ts +1 -1
  88. package/dist-types/commands/ListMFADevicesCommand.d.ts +1 -1
  89. package/dist-types/commands/ListOpenIDConnectProviderTagsCommand.d.ts +1 -1
  90. package/dist-types/commands/ListPoliciesCommand.d.ts +1 -1
  91. package/dist-types/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +2 -2
  92. package/dist-types/commands/ListPolicyTagsCommand.d.ts +1 -1
  93. package/dist-types/commands/ListPolicyVersionsCommand.d.ts +1 -1
  94. package/dist-types/commands/ListRolePoliciesCommand.d.ts +1 -1
  95. package/dist-types/commands/ListRoleTagsCommand.d.ts +1 -1
  96. package/dist-types/commands/ListRolesCommand.d.ts +1 -1
  97. package/dist-types/commands/ListSAMLProviderTagsCommand.d.ts +1 -1
  98. package/dist-types/commands/ListSSHPublicKeysCommand.d.ts +1 -1
  99. package/dist-types/commands/ListServerCertificateTagsCommand.d.ts +1 -1
  100. package/dist-types/commands/ListServerCertificatesCommand.d.ts +1 -1
  101. package/dist-types/commands/ListServiceSpecificCredentialsCommand.d.ts +1 -1
  102. package/dist-types/commands/ListSigningCertificatesCommand.d.ts +1 -1
  103. package/dist-types/commands/ListUserPoliciesCommand.d.ts +1 -1
  104. package/dist-types/commands/ListUserTagsCommand.d.ts +1 -1
  105. package/dist-types/commands/ListUsersCommand.d.ts +1 -1
  106. package/dist-types/commands/ListVirtualMFADevicesCommand.d.ts +1 -1
  107. package/dist-types/commands/PutGroupPolicyCommand.d.ts +1 -1
  108. package/dist-types/commands/PutRolePermissionsBoundaryCommand.d.ts +1 -1
  109. package/dist-types/commands/PutRolePolicyCommand.d.ts +1 -1
  110. package/dist-types/commands/PutUserPermissionsBoundaryCommand.d.ts +1 -1
  111. package/dist-types/commands/PutUserPolicyCommand.d.ts +1 -1
  112. package/dist-types/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +1 -1
  113. package/dist-types/commands/RemoveRoleFromInstanceProfileCommand.d.ts +1 -1
  114. package/dist-types/commands/RemoveUserFromGroupCommand.d.ts +1 -1
  115. package/dist-types/commands/ResetServiceSpecificCredentialCommand.d.ts +1 -1
  116. package/dist-types/commands/ResyncMFADeviceCommand.d.ts +1 -1
  117. package/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +1 -1
  118. package/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +1 -1
  119. package/dist-types/commands/SimulateCustomPolicyCommand.d.ts +7 -7
  120. package/dist-types/commands/SimulatePrincipalPolicyCommand.d.ts +7 -7
  121. package/dist-types/commands/TagInstanceProfileCommand.d.ts +3 -3
  122. package/dist-types/commands/TagMFADeviceCommand.d.ts +3 -3
  123. package/dist-types/commands/TagOpenIDConnectProviderCommand.d.ts +3 -3
  124. package/dist-types/commands/TagPolicyCommand.d.ts +3 -3
  125. package/dist-types/commands/TagRoleCommand.d.ts +3 -3
  126. package/dist-types/commands/TagSAMLProviderCommand.d.ts +3 -3
  127. package/dist-types/commands/TagServerCertificateCommand.d.ts +3 -3
  128. package/dist-types/commands/TagUserCommand.d.ts +3 -3
  129. package/dist-types/commands/UntagInstanceProfileCommand.d.ts +2 -2
  130. package/dist-types/commands/UntagMFADeviceCommand.d.ts +2 -2
  131. package/dist-types/commands/UntagOpenIDConnectProviderCommand.d.ts +2 -2
  132. package/dist-types/commands/UntagPolicyCommand.d.ts +2 -2
  133. package/dist-types/commands/UntagRoleCommand.d.ts +2 -2
  134. package/dist-types/commands/UntagSAMLProviderCommand.d.ts +2 -2
  135. package/dist-types/commands/UntagServerCertificateCommand.d.ts +2 -2
  136. package/dist-types/commands/UntagUserCommand.d.ts +2 -2
  137. package/dist-types/commands/UpdateAccessKeyCommand.d.ts +1 -1
  138. package/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +1 -1
  139. package/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +1 -1
  140. package/dist-types/commands/UpdateGroupCommand.d.ts +1 -1
  141. package/dist-types/commands/UpdateLoginProfileCommand.d.ts +1 -1
  142. package/dist-types/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +2 -2
  143. package/dist-types/commands/UpdateRoleCommand.d.ts +1 -1
  144. package/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +1 -1
  145. package/dist-types/commands/UpdateSAMLProviderCommand.d.ts +1 -1
  146. package/dist-types/commands/UpdateSSHPublicKeyCommand.d.ts +1 -1
  147. package/dist-types/commands/UpdateServerCertificateCommand.d.ts +1 -1
  148. package/dist-types/commands/UpdateServiceSpecificCredentialCommand.d.ts +1 -1
  149. package/dist-types/commands/UpdateSigningCertificateCommand.d.ts +1 -1
  150. package/dist-types/commands/UpdateUserCommand.d.ts +1 -1
  151. package/dist-types/commands/UploadSSHPublicKeyCommand.d.ts +1 -1
  152. package/dist-types/commands/UploadServerCertificateCommand.d.ts +3 -3
  153. package/dist-types/commands/UploadSigningCertificateCommand.d.ts +1 -1
  154. package/dist-types/models/models_0.d.ts +230 -130
  155. package/dist-types/ts3.4/models/models_0.d.ts +164 -130
  156. 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
- var AccessAdvisorUsageGranularityType;
8
- (function (AccessAdvisorUsageGranularityType) {
9
- AccessAdvisorUsageGranularityType["ACTION_LEVEL"] = "ACTION_LEVEL";
10
- AccessAdvisorUsageGranularityType["SERVICE_LEVEL"] = "SERVICE_LEVEL";
11
- })(AccessAdvisorUsageGranularityType = exports.AccessAdvisorUsageGranularityType || (exports.AccessAdvisorUsageGranularityType = {}));
12
- var StatusType;
13
- (function (StatusType) {
14
- StatusType["Active"] = "Active";
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
- var AssignmentStatusType;
96
- (function (AssignmentStatusType) {
97
- AssignmentStatusType["Any"] = "Any";
98
- AssignmentStatusType["Assigned"] = "Assigned";
99
- AssignmentStatusType["Unassigned"] = "Unassigned";
100
- })(AssignmentStatusType = exports.AssignmentStatusType || (exports.AssignmentStatusType = {}));
101
- var PermissionsBoundaryAttachmentType;
102
- (function (PermissionsBoundaryAttachmentType) {
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
- var ReportStateType;
223
- (function (ReportStateType) {
224
- ReportStateType["COMPLETE"] = "COMPLETE";
225
- ReportStateType["INPROGRESS"] = "INPROGRESS";
226
- ReportStateType["STARTED"] = "STARTED";
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
- var EntityType;
242
- (function (EntityType) {
243
- EntityType["AWSManagedPolicy"] = "AWSManagedPolicy";
244
- EntityType["Group"] = "Group";
245
- EntityType["LocalManagedPolicy"] = "LocalManagedPolicy";
246
- EntityType["Role"] = "Role";
247
- EntityType["User"] = "User";
248
- })(EntityType = exports.EntityType || (exports.EntityType = {}));
249
- var SummaryKeyType;
250
- (function (SummaryKeyType) {
251
- SummaryKeyType["AccessKeysPerUserQuota"] = "AccessKeysPerUserQuota";
252
- SummaryKeyType["AccountAccessKeysPresent"] = "AccountAccessKeysPresent";
253
- SummaryKeyType["AccountMFAEnabled"] = "AccountMFAEnabled";
254
- SummaryKeyType["AccountSigningCertificatesPresent"] = "AccountSigningCertificatesPresent";
255
- SummaryKeyType["AttachedPoliciesPerGroupQuota"] = "AttachedPoliciesPerGroupQuota";
256
- SummaryKeyType["AttachedPoliciesPerRoleQuota"] = "AttachedPoliciesPerRoleQuota";
257
- SummaryKeyType["AttachedPoliciesPerUserQuota"] = "AttachedPoliciesPerUserQuota";
258
- SummaryKeyType["GlobalEndpointTokenVersion"] = "GlobalEndpointTokenVersion";
259
- SummaryKeyType["GroupPolicySizeQuota"] = "GroupPolicySizeQuota";
260
- SummaryKeyType["Groups"] = "Groups";
261
- SummaryKeyType["GroupsPerUserQuota"] = "GroupsPerUserQuota";
262
- SummaryKeyType["GroupsQuota"] = "GroupsQuota";
263
- SummaryKeyType["MFADevices"] = "MFADevices";
264
- SummaryKeyType["MFADevicesInUse"] = "MFADevicesInUse";
265
- SummaryKeyType["Policies"] = "Policies";
266
- SummaryKeyType["PoliciesQuota"] = "PoliciesQuota";
267
- SummaryKeyType["PolicySizeQuota"] = "PolicySizeQuota";
268
- SummaryKeyType["PolicyVersionsInUse"] = "PolicyVersionsInUse";
269
- SummaryKeyType["PolicyVersionsInUseQuota"] = "PolicyVersionsInUseQuota";
270
- SummaryKeyType["ServerCertificates"] = "ServerCertificates";
271
- SummaryKeyType["ServerCertificatesQuota"] = "ServerCertificatesQuota";
272
- SummaryKeyType["SigningCertificatesPerUserQuota"] = "SigningCertificatesPerUserQuota";
273
- SummaryKeyType["UserPolicySizeQuota"] = "UserPolicySizeQuota";
274
- SummaryKeyType["Users"] = "Users";
275
- SummaryKeyType["UsersQuota"] = "UsersQuota";
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
- var ReportFormatType;
318
- (function (ReportFormatType) {
319
- ReportFormatType["text_csv"] = "text/csv";
320
- })(ReportFormatType = exports.ReportFormatType || (exports.ReportFormatType = {}));
321
- var SortKeyType;
322
- (function (SortKeyType) {
323
- SortKeyType["LAST_AUTHENTICATED_TIME_ASCENDING"] = "LAST_AUTHENTICATED_TIME_ASCENDING";
324
- SortKeyType["LAST_AUTHENTICATED_TIME_DESCENDING"] = "LAST_AUTHENTICATED_TIME_DESCENDING";
325
- SortKeyType["SERVICE_NAMESPACE_ASCENDING"] = "SERVICE_NAMESPACE_ASCENDING";
326
- SortKeyType["SERVICE_NAMESPACE_DESCENDING"] = "SERVICE_NAMESPACE_DESCENDING";
327
- })(SortKeyType = exports.SortKeyType || (exports.SortKeyType = {}));
328
- var JobStatusType;
329
- (function (JobStatusType) {
330
- JobStatusType["COMPLETED"] = "COMPLETED";
331
- JobStatusType["FAILED"] = "FAILED";
332
- JobStatusType["IN_PROGRESS"] = "IN_PROGRESS";
333
- })(JobStatusType = exports.JobStatusType || (exports.JobStatusType = {}));
334
- var PolicyOwnerEntityType;
335
- (function (PolicyOwnerEntityType) {
336
- PolicyOwnerEntityType["GROUP"] = "GROUP";
337
- PolicyOwnerEntityType["ROLE"] = "ROLE";
338
- PolicyOwnerEntityType["USER"] = "USER";
339
- })(PolicyOwnerEntityType = exports.PolicyOwnerEntityType || (exports.PolicyOwnerEntityType = {}));
340
- var DeletionTaskStatusType;
341
- (function (DeletionTaskStatusType) {
342
- DeletionTaskStatusType["FAILED"] = "FAILED";
343
- DeletionTaskStatusType["IN_PROGRESS"] = "IN_PROGRESS";
344
- DeletionTaskStatusType["NOT_STARTED"] = "NOT_STARTED";
345
- DeletionTaskStatusType["SUCCEEDED"] = "SUCCEEDED";
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
- var PolicyUsageType;
366
- (function (PolicyUsageType) {
367
- PolicyUsageType["PermissionsBoundary"] = "PermissionsBoundary";
368
- PolicyUsageType["PermissionsPolicy"] = "PermissionsPolicy";
369
- })(PolicyUsageType = exports.PolicyUsageType || (exports.PolicyUsageType = {}));
370
- var PolicyScopeType;
371
- (function (PolicyScopeType) {
372
- PolicyScopeType["AWS"] = "AWS";
373
- PolicyScopeType["All"] = "All";
374
- PolicyScopeType["Local"] = "Local";
375
- })(PolicyScopeType = exports.PolicyScopeType || (exports.PolicyScopeType = {}));
376
- var PolicyType;
377
- (function (PolicyType) {
378
- PolicyType["INLINE"] = "INLINE";
379
- PolicyType["MANAGED"] = "MANAGED";
380
- })(PolicyType = exports.PolicyType || (exports.PolicyType = {}));
381
- var GlobalEndpointTokenVersion;
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
- var ContextKeyTypeEnum;
400
- (function (ContextKeyTypeEnum) {
401
- ContextKeyTypeEnum["BINARY"] = "binary";
402
- ContextKeyTypeEnum["BINARY_LIST"] = "binaryList";
403
- ContextKeyTypeEnum["BOOLEAN"] = "boolean";
404
- ContextKeyTypeEnum["BOOLEAN_LIST"] = "booleanList";
405
- ContextKeyTypeEnum["DATE"] = "date";
406
- ContextKeyTypeEnum["DATE_LIST"] = "dateList";
407
- ContextKeyTypeEnum["IP"] = "ip";
408
- ContextKeyTypeEnum["IP_LIST"] = "ipList";
409
- ContextKeyTypeEnum["NUMERIC"] = "numeric";
410
- ContextKeyTypeEnum["NUMERIC_LIST"] = "numericList";
411
- ContextKeyTypeEnum["STRING"] = "string";
412
- ContextKeyTypeEnum["STRING_LIST"] = "stringList";
413
- })(ContextKeyTypeEnum = exports.ContextKeyTypeEnum || (exports.ContextKeyTypeEnum = {}));
414
- var PolicyEvaluationDecisionType;
415
- (function (PolicyEvaluationDecisionType) {
416
- PolicyEvaluationDecisionType["ALLOWED"] = "allowed";
417
- PolicyEvaluationDecisionType["EXPLICIT_DENY"] = "explicitDeny";
418
- PolicyEvaluationDecisionType["IMPLICIT_DENY"] = "implicitDeny";
419
- })(PolicyEvaluationDecisionType = exports.PolicyEvaluationDecisionType || (exports.PolicyEvaluationDecisionType = {}));
420
- var PolicySourceType;
421
- (function (PolicySourceType) {
422
- PolicySourceType["AWS_MANAGED"] = "aws-managed";
423
- PolicySourceType["GROUP"] = "group";
424
- PolicySourceType["NONE"] = "none";
425
- PolicySourceType["RESOURCE"] = "resource";
426
- PolicySourceType["ROLE"] = "role";
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 }),