@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
@@ -1,9 +1,11 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { IAMServiceException as __BaseException } from "./IAMServiceException";
3
- export declare enum AccessAdvisorUsageGranularityType {
4
- ACTION_LEVEL = "ACTION_LEVEL",
5
- SERVICE_LEVEL = "SERVICE_LEVEL",
6
- }
3
+ export declare const AccessAdvisorUsageGranularityType: {
4
+ readonly ACTION_LEVEL: "ACTION_LEVEL";
5
+ readonly SERVICE_LEVEL: "SERVICE_LEVEL";
6
+ };
7
+ export type AccessAdvisorUsageGranularityType =
8
+ (typeof AccessAdvisorUsageGranularityType)[keyof typeof AccessAdvisorUsageGranularityType];
7
9
  export interface AccessDetail {
8
10
  ServiceName: string | undefined;
9
11
  ServiceNamespace: string | undefined;
@@ -12,10 +14,11 @@ export interface AccessDetail {
12
14
  LastAuthenticatedTime?: Date;
13
15
  TotalAuthenticatedEntities?: number;
14
16
  }
15
- export declare enum StatusType {
16
- Active = "Active",
17
- Inactive = "Inactive",
18
- }
17
+ export declare const StatusType: {
18
+ readonly Active: "Active";
19
+ readonly Inactive: "Inactive";
20
+ };
21
+ export type StatusType = (typeof StatusType)[keyof typeof StatusType];
19
22
  export interface AccessKey {
20
23
  UserName: string | undefined;
21
24
  AccessKeyId: string | undefined;
@@ -88,14 +91,18 @@ export interface AddUserToGroupRequest {
88
91
  GroupName: string | undefined;
89
92
  UserName: string | undefined;
90
93
  }
91
- export declare enum AssignmentStatusType {
92
- Any = "Any",
93
- Assigned = "Assigned",
94
- Unassigned = "Unassigned",
95
- }
96
- export declare enum PermissionsBoundaryAttachmentType {
97
- Policy = "PermissionsBoundaryPolicy",
98
- }
94
+ export declare const AssignmentStatusType: {
95
+ readonly Any: "Any";
96
+ readonly Assigned: "Assigned";
97
+ readonly Unassigned: "Unassigned";
98
+ };
99
+ export type AssignmentStatusType =
100
+ (typeof AssignmentStatusType)[keyof typeof AssignmentStatusType];
101
+ export declare const PermissionsBoundaryAttachmentType: {
102
+ readonly Policy: "PermissionsBoundaryPolicy";
103
+ };
104
+ export type PermissionsBoundaryAttachmentType =
105
+ (typeof PermissionsBoundaryAttachmentType)[keyof typeof PermissionsBoundaryAttachmentType];
99
106
  export interface AttachedPermissionsBoundary {
100
107
  PermissionsBoundaryType?: PermissionsBoundaryAttachmentType | string;
101
108
  PermissionsBoundaryArn?: string;
@@ -499,11 +506,13 @@ export declare class InvalidAuthenticationCodeException extends __BaseException
499
506
  >
500
507
  );
501
508
  }
502
- export declare enum ReportStateType {
503
- COMPLETE = "COMPLETE",
504
- INPROGRESS = "INPROGRESS",
505
- STARTED = "STARTED",
506
- }
509
+ export declare const ReportStateType: {
510
+ readonly COMPLETE: "COMPLETE";
511
+ readonly INPROGRESS: "INPROGRESS";
512
+ readonly STARTED: "STARTED";
513
+ };
514
+ export type ReportStateType =
515
+ (typeof ReportStateType)[keyof typeof ReportStateType];
507
516
  export interface GenerateCredentialReportResponse {
508
517
  State?: ReportStateType | string;
509
518
  Description?: string;
@@ -539,13 +548,14 @@ export interface GetAccessKeyLastUsedResponse {
539
548
  UserName?: string;
540
549
  AccessKeyLastUsed?: AccessKeyLastUsed;
541
550
  }
542
- export declare enum EntityType {
543
- AWSManagedPolicy = "AWSManagedPolicy",
544
- Group = "Group",
545
- LocalManagedPolicy = "LocalManagedPolicy",
546
- Role = "Role",
547
- User = "User",
548
- }
551
+ export declare const EntityType: {
552
+ readonly AWSManagedPolicy: "AWSManagedPolicy";
553
+ readonly Group: "Group";
554
+ readonly LocalManagedPolicy: "LocalManagedPolicy";
555
+ readonly Role: "Role";
556
+ readonly User: "User";
557
+ };
558
+ export type EntityType = (typeof EntityType)[keyof typeof EntityType];
549
559
  export interface GetAccountAuthorizationDetailsRequest {
550
560
  Filter?: (EntityType | string)[];
551
561
  MaxItems?: number;
@@ -627,34 +637,36 @@ export interface PasswordPolicy {
627
637
  export interface GetAccountPasswordPolicyResponse {
628
638
  PasswordPolicy: PasswordPolicy | undefined;
629
639
  }
630
- export declare enum SummaryKeyType {
631
- AccessKeysPerUserQuota = "AccessKeysPerUserQuota",
632
- AccountAccessKeysPresent = "AccountAccessKeysPresent",
633
- AccountMFAEnabled = "AccountMFAEnabled",
634
- AccountSigningCertificatesPresent = "AccountSigningCertificatesPresent",
635
- AttachedPoliciesPerGroupQuota = "AttachedPoliciesPerGroupQuota",
636
- AttachedPoliciesPerRoleQuota = "AttachedPoliciesPerRoleQuota",
637
- AttachedPoliciesPerUserQuota = "AttachedPoliciesPerUserQuota",
638
- GlobalEndpointTokenVersion = "GlobalEndpointTokenVersion",
639
- GroupPolicySizeQuota = "GroupPolicySizeQuota",
640
- Groups = "Groups",
641
- GroupsPerUserQuota = "GroupsPerUserQuota",
642
- GroupsQuota = "GroupsQuota",
643
- MFADevices = "MFADevices",
644
- MFADevicesInUse = "MFADevicesInUse",
645
- Policies = "Policies",
646
- PoliciesQuota = "PoliciesQuota",
647
- PolicySizeQuota = "PolicySizeQuota",
648
- PolicyVersionsInUse = "PolicyVersionsInUse",
649
- PolicyVersionsInUseQuota = "PolicyVersionsInUseQuota",
650
- ServerCertificates = "ServerCertificates",
651
- ServerCertificatesQuota = "ServerCertificatesQuota",
652
- SigningCertificatesPerUserQuota = "SigningCertificatesPerUserQuota",
653
- UserPolicySizeQuota = "UserPolicySizeQuota",
654
- Users = "Users",
655
- UsersQuota = "UsersQuota",
656
- VersionsPerPolicyQuota = "VersionsPerPolicyQuota",
657
- }
640
+ export declare const SummaryKeyType: {
641
+ readonly AccessKeysPerUserQuota: "AccessKeysPerUserQuota";
642
+ readonly AccountAccessKeysPresent: "AccountAccessKeysPresent";
643
+ readonly AccountMFAEnabled: "AccountMFAEnabled";
644
+ readonly AccountSigningCertificatesPresent: "AccountSigningCertificatesPresent";
645
+ readonly AttachedPoliciesPerGroupQuota: "AttachedPoliciesPerGroupQuota";
646
+ readonly AttachedPoliciesPerRoleQuota: "AttachedPoliciesPerRoleQuota";
647
+ readonly AttachedPoliciesPerUserQuota: "AttachedPoliciesPerUserQuota";
648
+ readonly GlobalEndpointTokenVersion: "GlobalEndpointTokenVersion";
649
+ readonly GroupPolicySizeQuota: "GroupPolicySizeQuota";
650
+ readonly Groups: "Groups";
651
+ readonly GroupsPerUserQuota: "GroupsPerUserQuota";
652
+ readonly GroupsQuota: "GroupsQuota";
653
+ readonly MFADevices: "MFADevices";
654
+ readonly MFADevicesInUse: "MFADevicesInUse";
655
+ readonly Policies: "Policies";
656
+ readonly PoliciesQuota: "PoliciesQuota";
657
+ readonly PolicySizeQuota: "PolicySizeQuota";
658
+ readonly PolicyVersionsInUse: "PolicyVersionsInUse";
659
+ readonly PolicyVersionsInUseQuota: "PolicyVersionsInUseQuota";
660
+ readonly ServerCertificates: "ServerCertificates";
661
+ readonly ServerCertificatesQuota: "ServerCertificatesQuota";
662
+ readonly SigningCertificatesPerUserQuota: "SigningCertificatesPerUserQuota";
663
+ readonly UserPolicySizeQuota: "UserPolicySizeQuota";
664
+ readonly Users: "Users";
665
+ readonly UsersQuota: "UsersQuota";
666
+ readonly VersionsPerPolicyQuota: "VersionsPerPolicyQuota";
667
+ };
668
+ export type SummaryKeyType =
669
+ (typeof SummaryKeyType)[keyof typeof SummaryKeyType];
658
670
  export interface GetAccountSummaryResponse {
659
671
  SummaryMap?: Record<string, number>;
660
672
  }
@@ -698,9 +710,11 @@ export declare class CredentialReportNotReadyException extends __BaseException {
698
710
  >
699
711
  );
700
712
  }
701
- export declare enum ReportFormatType {
702
- text_csv = "text/csv",
703
- }
713
+ export declare const ReportFormatType: {
714
+ readonly text_csv: "text/csv";
715
+ };
716
+ export type ReportFormatType =
717
+ (typeof ReportFormatType)[keyof typeof ReportFormatType];
704
718
  export interface GetCredentialReportResponse {
705
719
  Content?: Uint8Array;
706
720
  ReportFormat?: ReportFormatType | string;
@@ -748,12 +762,13 @@ export interface GetOpenIDConnectProviderResponse {
748
762
  CreateDate?: Date;
749
763
  Tags?: Tag[];
750
764
  }
751
- export declare enum SortKeyType {
752
- LAST_AUTHENTICATED_TIME_ASCENDING = "LAST_AUTHENTICATED_TIME_ASCENDING",
753
- LAST_AUTHENTICATED_TIME_DESCENDING = "LAST_AUTHENTICATED_TIME_DESCENDING",
754
- SERVICE_NAMESPACE_ASCENDING = "SERVICE_NAMESPACE_ASCENDING",
755
- SERVICE_NAMESPACE_DESCENDING = "SERVICE_NAMESPACE_DESCENDING",
756
- }
765
+ export declare const SortKeyType: {
766
+ readonly LAST_AUTHENTICATED_TIME_ASCENDING: "LAST_AUTHENTICATED_TIME_ASCENDING";
767
+ readonly LAST_AUTHENTICATED_TIME_DESCENDING: "LAST_AUTHENTICATED_TIME_DESCENDING";
768
+ readonly SERVICE_NAMESPACE_ASCENDING: "SERVICE_NAMESPACE_ASCENDING";
769
+ readonly SERVICE_NAMESPACE_DESCENDING: "SERVICE_NAMESPACE_DESCENDING";
770
+ };
771
+ export type SortKeyType = (typeof SortKeyType)[keyof typeof SortKeyType];
757
772
  export interface GetOrganizationsAccessReportRequest {
758
773
  JobId: string | undefined;
759
774
  MaxItems?: number;
@@ -764,11 +779,12 @@ export interface ErrorDetails {
764
779
  Message: string | undefined;
765
780
  Code: string | undefined;
766
781
  }
767
- export declare enum JobStatusType {
768
- COMPLETED = "COMPLETED",
769
- FAILED = "FAILED",
770
- IN_PROGRESS = "IN_PROGRESS",
771
- }
782
+ export declare const JobStatusType: {
783
+ readonly COMPLETED: "COMPLETED";
784
+ readonly FAILED: "FAILED";
785
+ readonly IN_PROGRESS: "IN_PROGRESS";
786
+ };
787
+ export type JobStatusType = (typeof JobStatusType)[keyof typeof JobStatusType];
772
788
  export interface GetOrganizationsAccessReportResponse {
773
789
  JobStatus: JobStatusType | string | undefined;
774
790
  JobCreationDate: Date | undefined;
@@ -873,11 +889,13 @@ export interface GetServiceLastAccessedDetailsWithEntitiesRequest {
873
889
  MaxItems?: number;
874
890
  Marker?: string;
875
891
  }
876
- export declare enum PolicyOwnerEntityType {
877
- GROUP = "GROUP",
878
- ROLE = "ROLE",
879
- USER = "USER",
880
- }
892
+ export declare const PolicyOwnerEntityType: {
893
+ readonly GROUP: "GROUP";
894
+ readonly ROLE: "ROLE";
895
+ readonly USER: "USER";
896
+ };
897
+ export type PolicyOwnerEntityType =
898
+ (typeof PolicyOwnerEntityType)[keyof typeof PolicyOwnerEntityType];
881
899
  export interface EntityInfo {
882
900
  Arn: string | undefined;
883
901
  Name: string | undefined;
@@ -909,20 +927,23 @@ export interface DeletionTaskFailureReasonType {
909
927
  Reason?: string;
910
928
  RoleUsageList?: RoleUsageType[];
911
929
  }
912
- export declare enum DeletionTaskStatusType {
913
- FAILED = "FAILED",
914
- IN_PROGRESS = "IN_PROGRESS",
915
- NOT_STARTED = "NOT_STARTED",
916
- SUCCEEDED = "SUCCEEDED",
917
- }
930
+ export declare const DeletionTaskStatusType: {
931
+ readonly FAILED: "FAILED";
932
+ readonly IN_PROGRESS: "IN_PROGRESS";
933
+ readonly NOT_STARTED: "NOT_STARTED";
934
+ readonly SUCCEEDED: "SUCCEEDED";
935
+ };
936
+ export type DeletionTaskStatusType =
937
+ (typeof DeletionTaskStatusType)[keyof typeof DeletionTaskStatusType];
918
938
  export interface GetServiceLinkedRoleDeletionStatusResponse {
919
939
  Status: DeletionTaskStatusType | string | undefined;
920
940
  Reason?: DeletionTaskFailureReasonType;
921
941
  }
922
- export declare enum EncodingType {
923
- PEM = "PEM",
924
- SSH = "SSH",
925
- }
942
+ export declare const EncodingType: {
943
+ readonly PEM: "PEM";
944
+ readonly SSH: "SSH";
945
+ };
946
+ export type EncodingType = (typeof EncodingType)[keyof typeof EncodingType];
926
947
  export interface GetSSHPublicKeyRequest {
927
948
  UserName: string | undefined;
928
949
  SSHPublicKeyId: string | undefined;
@@ -1016,10 +1037,12 @@ export interface ListAttachedUserPoliciesResponse {
1016
1037
  IsTruncated?: boolean;
1017
1038
  Marker?: string;
1018
1039
  }
1019
- export declare enum PolicyUsageType {
1020
- PermissionsBoundary = "PermissionsBoundary",
1021
- PermissionsPolicy = "PermissionsPolicy",
1022
- }
1040
+ export declare const PolicyUsageType: {
1041
+ readonly PermissionsBoundary: "PermissionsBoundary";
1042
+ readonly PermissionsPolicy: "PermissionsPolicy";
1043
+ };
1044
+ export type PolicyUsageType =
1045
+ (typeof PolicyUsageType)[keyof typeof PolicyUsageType];
1023
1046
  export interface ListEntitiesForPolicyRequest {
1024
1047
  PolicyArn: string | undefined;
1025
1048
  EntityFilter?: EntityType | string;
@@ -1149,11 +1172,13 @@ export interface ListOpenIDConnectProviderTagsResponse {
1149
1172
  IsTruncated?: boolean;
1150
1173
  Marker?: string;
1151
1174
  }
1152
- export declare enum PolicyScopeType {
1153
- AWS = "AWS",
1154
- All = "All",
1155
- Local = "Local",
1156
- }
1175
+ export declare const PolicyScopeType: {
1176
+ readonly AWS: "AWS";
1177
+ readonly All: "All";
1178
+ readonly Local: "Local";
1179
+ };
1180
+ export type PolicyScopeType =
1181
+ (typeof PolicyScopeType)[keyof typeof PolicyScopeType];
1157
1182
  export interface ListPoliciesRequest {
1158
1183
  Scope?: PolicyScopeType | string;
1159
1184
  OnlyAttached?: boolean;
@@ -1172,10 +1197,11 @@ export interface ListPoliciesGrantingServiceAccessRequest {
1172
1197
  Arn: string | undefined;
1173
1198
  ServiceNamespaces: string[] | undefined;
1174
1199
  }
1175
- export declare enum PolicyType {
1176
- INLINE = "INLINE",
1177
- MANAGED = "MANAGED",
1178
- }
1200
+ export declare const PolicyType: {
1201
+ readonly INLINE: "INLINE";
1202
+ readonly MANAGED: "MANAGED";
1203
+ };
1204
+ export type PolicyType = (typeof PolicyType)[keyof typeof PolicyType];
1179
1205
  export interface PolicyGrantingServiceAccess {
1180
1206
  PolicyName: string | undefined;
1181
1207
  PolicyType: PolicyType | string | undefined;
@@ -1423,10 +1449,12 @@ export interface SetDefaultPolicyVersionRequest {
1423
1449
  PolicyArn: string | undefined;
1424
1450
  VersionId: string | undefined;
1425
1451
  }
1426
- export declare enum GlobalEndpointTokenVersion {
1427
- v1Token = "v1Token",
1428
- v2Token = "v2Token",
1429
- }
1452
+ export declare const GlobalEndpointTokenVersion: {
1453
+ readonly v1Token: "v1Token";
1454
+ readonly v2Token: "v2Token";
1455
+ };
1456
+ export type GlobalEndpointTokenVersion =
1457
+ (typeof GlobalEndpointTokenVersion)[keyof typeof GlobalEndpointTokenVersion];
1430
1458
  export interface SetSecurityTokenServicePreferencesRequest {
1431
1459
  GlobalEndpointTokenVersion: GlobalEndpointTokenVersion | string | undefined;
1432
1460
  }
@@ -1437,20 +1465,22 @@ export declare class PolicyEvaluationException extends __BaseException {
1437
1465
  opts: __ExceptionOptionType<PolicyEvaluationException, __BaseException>
1438
1466
  );
1439
1467
  }
1440
- export declare enum ContextKeyTypeEnum {
1441
- BINARY = "binary",
1442
- BINARY_LIST = "binaryList",
1443
- BOOLEAN = "boolean",
1444
- BOOLEAN_LIST = "booleanList",
1445
- DATE = "date",
1446
- DATE_LIST = "dateList",
1447
- IP = "ip",
1448
- IP_LIST = "ipList",
1449
- NUMERIC = "numeric",
1450
- NUMERIC_LIST = "numericList",
1451
- STRING = "string",
1452
- STRING_LIST = "stringList",
1453
- }
1468
+ export declare const ContextKeyTypeEnum: {
1469
+ readonly BINARY: "binary";
1470
+ readonly BINARY_LIST: "binaryList";
1471
+ readonly BOOLEAN: "boolean";
1472
+ readonly BOOLEAN_LIST: "booleanList";
1473
+ readonly DATE: "date";
1474
+ readonly DATE_LIST: "dateList";
1475
+ readonly IP: "ip";
1476
+ readonly IP_LIST: "ipList";
1477
+ readonly NUMERIC: "numeric";
1478
+ readonly NUMERIC_LIST: "numericList";
1479
+ readonly STRING: "string";
1480
+ readonly STRING_LIST: "stringList";
1481
+ };
1482
+ export type ContextKeyTypeEnum =
1483
+ (typeof ContextKeyTypeEnum)[keyof typeof ContextKeyTypeEnum];
1454
1484
  export interface ContextEntry {
1455
1485
  ContextKeyName?: string;
1456
1486
  ContextKeyValues?: string[];
@@ -1469,24 +1499,28 @@ export interface SimulateCustomPolicyRequest {
1469
1499
  MaxItems?: number;
1470
1500
  Marker?: string;
1471
1501
  }
1472
- export declare enum PolicyEvaluationDecisionType {
1473
- ALLOWED = "allowed",
1474
- EXPLICIT_DENY = "explicitDeny",
1475
- IMPLICIT_DENY = "implicitDeny",
1476
- }
1502
+ export declare const PolicyEvaluationDecisionType: {
1503
+ readonly ALLOWED: "allowed";
1504
+ readonly EXPLICIT_DENY: "explicitDeny";
1505
+ readonly IMPLICIT_DENY: "implicitDeny";
1506
+ };
1507
+ export type PolicyEvaluationDecisionType =
1508
+ (typeof PolicyEvaluationDecisionType)[keyof typeof PolicyEvaluationDecisionType];
1477
1509
  export interface Position {
1478
1510
  Line?: number;
1479
1511
  Column?: number;
1480
1512
  }
1481
- export declare enum PolicySourceType {
1482
- AWS_MANAGED = "aws-managed",
1483
- GROUP = "group",
1484
- NONE = "none",
1485
- RESOURCE = "resource",
1486
- ROLE = "role",
1487
- USER = "user",
1488
- USER_MANAGED = "user-managed",
1489
- }
1513
+ export declare const PolicySourceType: {
1514
+ readonly AWS_MANAGED: "aws-managed";
1515
+ readonly GROUP: "group";
1516
+ readonly NONE: "none";
1517
+ readonly RESOURCE: "resource";
1518
+ readonly ROLE: "role";
1519
+ readonly USER: "user";
1520
+ readonly USER_MANAGED: "user-managed";
1521
+ };
1522
+ export type PolicySourceType =
1523
+ (typeof PolicySourceType)[keyof typeof PolicySourceType];
1490
1524
  export interface Statement {
1491
1525
  SourcePolicyId?: string;
1492
1526
  SourcePolicyType?: PolicySourceType | string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iam",
3
3
  "description": "AWS SDK for JavaScript Iam Client for Node.js, Browser and React Native",
4
- "version": "3.300.0",
4
+ "version": "3.303.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,44 +21,44 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
56
- "@aws-sdk/util-waiter": "3.296.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
+ "@aws-sdk/util-waiter": "3.303.0",
57
57
  "fast-xml-parser": "4.1.2",
58
58
  "tslib": "^2.5.0"
59
59
  },
60
60
  "devDependencies": {
61
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
61
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
62
62
  "@tsconfig/node14": "1.0.3",
63
63
  "@types/node": "^14.14.31",
64
64
  "concurrently": "7.0.0",