@aws-sdk/client-iam 3.427.0 → 3.429.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.
@@ -107,7 +107,7 @@ export interface AccessKey {
107
107
  * <p>The status of the access key. <code>Active</code> means that the key is valid for API
108
108
  * calls, while <code>Inactive</code> means it is not. </p>
109
109
  */
110
- Status: StatusType | string | undefined;
110
+ Status: StatusType | undefined;
111
111
  /**
112
112
  * @public
113
113
  * <p>The secret key used to sign requests.</p>
@@ -206,7 +206,7 @@ export interface AccessKeyMetadata {
206
206
  * <p>The status of the access key. <code>Active</code> means that the key is valid for API
207
207
  * calls; <code>Inactive</code> means it is not.</p>
208
208
  */
209
- Status?: StatusType | string;
209
+ Status?: StatusType;
210
210
  /**
211
211
  * @public
212
212
  * <p>The date when the access key was created.</p>
@@ -387,7 +387,7 @@ export interface AttachedPermissionsBoundary {
387
387
  * as the permissions boundary for an entity. This data type can only have a value of
388
388
  * <code>Policy</code>.</p>
389
389
  */
390
- PermissionsBoundaryType?: PermissionsBoundaryAttachmentType | string;
390
+ PermissionsBoundaryType?: PermissionsBoundaryAttachmentType;
391
391
  /**
392
392
  * @public
393
393
  * <p> The ARN of the policy used to set the permissions boundary for the user or role.</p>
@@ -1648,7 +1648,7 @@ export interface ServiceSpecificCredential {
1648
1648
  * <p>The status of the service-specific credential. <code>Active</code> means that the key is
1649
1649
  * valid for API calls, while <code>Inactive</code> means it is not.</p>
1650
1650
  */
1651
- Status: StatusType | string | undefined;
1651
+ Status: StatusType | undefined;
1652
1652
  }
1653
1653
  /**
1654
1654
  * @public
@@ -2427,7 +2427,7 @@ export interface GenerateCredentialReportResponse {
2427
2427
  * @public
2428
2428
  * <p>Information about the state of the credential report.</p>
2429
2429
  */
2430
- State?: ReportStateType | string;
2430
+ State?: ReportStateType;
2431
2431
  /**
2432
2432
  * @public
2433
2433
  * <p>Information about the credential report.</p>
@@ -2499,7 +2499,7 @@ export interface GenerateServiceLastAccessedDetailsRequest {
2499
2499
  * specify action-level granularity, it generates service and action data. If you don't
2500
2500
  * include this optional parameter, the operation generates service data.</p>
2501
2501
  */
2502
- Granularity?: AccessAdvisorUsageGranularityType | string;
2502
+ Granularity?: AccessAdvisorUsageGranularityType;
2503
2503
  }
2504
2504
  /**
2505
2505
  * @public
@@ -2572,7 +2572,7 @@ export interface GetAccountAuthorizationDetailsRequest {
2572
2572
  * <p>The format for this parameter is a comma-separated (if more than one) list of strings.
2573
2573
  * Each string value in the list must be one of the valid values listed below.</p>
2574
2574
  */
2575
- Filter?: (EntityType | string)[];
2575
+ Filter?: EntityType[];
2576
2576
  /**
2577
2577
  * @public
2578
2578
  * <p>Use this only when paginating results to indicate the
@@ -3073,7 +3073,7 @@ export interface GetAccountSummaryResponse {
3073
3073
  * <p>A set of key–value pairs containing information about IAM entity usage and
3074
3074
  * IAM quotas.</p>
3075
3075
  */
3076
- SummaryMap?: Record<string, number>;
3076
+ SummaryMap?: Record<SummaryKeyType, number>;
3077
3077
  }
3078
3078
  /**
3079
3079
  * @public
@@ -3219,7 +3219,7 @@ export interface GetCredentialReportResponse {
3219
3219
  * @public
3220
3220
  * <p>The format (MIME type) of the credential report.</p>
3221
3221
  */
3222
- ReportFormat?: ReportFormatType | string;
3222
+ ReportFormat?: ReportFormatType;
3223
3223
  /**
3224
3224
  * @public
3225
3225
  * <p> The date and time when the credential report was created, in <a href="http://www.iso.org/iso/iso8601">ISO 8601 date-time format</a>.</p>
@@ -3527,7 +3527,7 @@ export interface GetOrganizationsAccessReportRequest {
3527
3527
  * are returned in alphabetical order. If you choose the time key, the results are sorted
3528
3528
  * numerically by the date and time.</p>
3529
3529
  */
3530
- SortKey?: SortKeyType | string;
3530
+ SortKey?: SortKeyType;
3531
3531
  }
3532
3532
  /**
3533
3533
  * @public
@@ -3567,7 +3567,7 @@ export interface GetOrganizationsAccessReportResponse {
3567
3567
  * @public
3568
3568
  * <p>The status of the job.</p>
3569
3569
  */
3570
- JobStatus: JobStatusType | string | undefined;
3570
+ JobStatus: JobStatusType | undefined;
3571
3571
  /**
3572
3572
  * @public
3573
3573
  * <p>The date and time, in <a href="http://www.iso.org/iso/iso8601">ISO 8601 date-time
@@ -4027,14 +4027,14 @@ export interface GetServiceLastAccessedDetailsResponse {
4027
4027
  * @public
4028
4028
  * <p>The status of the job.</p>
4029
4029
  */
4030
- JobStatus: JobStatusType | string | undefined;
4030
+ JobStatus: JobStatusType | undefined;
4031
4031
  /**
4032
4032
  * @public
4033
4033
  * <p>The type of job. Service jobs return information about when each service was last
4034
4034
  * accessed. Action jobs also include information about when tracked actions within the
4035
4035
  * service were last accessed.</p>
4036
4036
  */
4037
- JobType?: AccessAdvisorUsageGranularityType | string;
4037
+ JobType?: AccessAdvisorUsageGranularityType;
4038
4038
  /**
4039
4039
  * @public
4040
4040
  * <p>The date and time, in <a href="http://www.iso.org/iso/iso8601">ISO 8601 date-time
@@ -4156,7 +4156,7 @@ export interface EntityInfo {
4156
4156
  * @public
4157
4157
  * <p>The type of entity (user or role).</p>
4158
4158
  */
4159
- Type: PolicyOwnerEntityType | string | undefined;
4159
+ Type: PolicyOwnerEntityType | undefined;
4160
4160
  /**
4161
4161
  * @public
4162
4162
  * <p>The identifier of the entity (user or role).</p>
@@ -4200,7 +4200,7 @@ export interface GetServiceLastAccessedDetailsWithEntitiesResponse {
4200
4200
  * @public
4201
4201
  * <p>The status of the job.</p>
4202
4202
  */
4203
- JobStatus: JobStatusType | string | undefined;
4203
+ JobStatus: JobStatusType | undefined;
4204
4204
  /**
4205
4205
  * @public
4206
4206
  * <p>The date and time, in <a href="http://www.iso.org/iso/iso8601">ISO 8601 date-time
@@ -4318,7 +4318,7 @@ export interface GetServiceLinkedRoleDeletionStatusResponse {
4318
4318
  * @public
4319
4319
  * <p>The status of the deletion.</p>
4320
4320
  */
4321
- Status: DeletionTaskStatusType | string | undefined;
4321
+ Status: DeletionTaskStatusType | undefined;
4322
4322
  /**
4323
4323
  * @public
4324
4324
  * <p>An object that contains details about the reason the deletion failed.</p>
@@ -4361,7 +4361,7 @@ export interface GetSSHPublicKeyRequest {
4361
4361
  * public key in ssh-rsa format, use <code>SSH</code>. To retrieve the public key in PEM
4362
4362
  * format, use <code>PEM</code>.</p>
4363
4363
  */
4364
- Encoding: EncodingType | string | undefined;
4364
+ Encoding: EncodingType | undefined;
4365
4365
  }
4366
4366
  /**
4367
4367
  * @public
@@ -4396,7 +4396,7 @@ export interface SSHPublicKey {
4396
4396
  * authentication with an CodeCommit repository. <code>Inactive</code> means that the key cannot be
4397
4397
  * used.</p>
4398
4398
  */
4399
- Status: StatusType | string | undefined;
4399
+ Status: StatusType | undefined;
4400
4400
  /**
4401
4401
  * @public
4402
4402
  * <p>The date and time, in <a href="http://www.iso.org/iso/iso8601">ISO 8601 date-time
@@ -4872,7 +4872,7 @@ export interface ListEntitiesForPolicyRequest {
4872
4872
  * not included, all attached entities (users, groups, and roles) are returned. The
4873
4873
  * argument for this parameter must be one of the valid values listed below.</p>
4874
4874
  */
4875
- EntityFilter?: EntityType | string;
4875
+ EntityFilter?: EntityType;
4876
4876
  /**
4877
4877
  * @public
4878
4878
  * <p>The path prefix for filtering the results. This parameter is optional. If it is not
@@ -4892,7 +4892,7 @@ export interface ListEntitiesForPolicyRequest {
4892
4892
  * to <code>PermissionsBoundary</code>.</p>
4893
4893
  * <p>This parameter is optional. If it is not included, all policies are returned. </p>
4894
4894
  */
4895
- PolicyUsageFilter?: PolicyUsageType | string;
4895
+ PolicyUsageFilter?: PolicyUsageType;
4896
4896
  /**
4897
4897
  * @public
4898
4898
  * <p>Use this parameter only when paginating results and only after
@@ -5653,7 +5653,7 @@ export interface ListPoliciesRequest {
5653
5653
  * <p>This parameter is optional. If it is not included, or if it is set to
5654
5654
  * <code>All</code>, all policies are returned.</p>
5655
5655
  */
5656
- Scope?: PolicyScopeType | string;
5656
+ Scope?: PolicyScopeType;
5657
5657
  /**
5658
5658
  * @public
5659
5659
  * <p>A flag to filter the results to only the attached policies.</p>
@@ -5681,7 +5681,7 @@ export interface ListPoliciesRequest {
5681
5681
  * to <code>PermissionsBoundary</code>.</p>
5682
5682
  * <p>This parameter is optional. If it is not included, all policies are returned. </p>
5683
5683
  */
5684
- PolicyUsageFilter?: PolicyUsageType | string;
5684
+ PolicyUsageFilter?: PolicyUsageType;
5685
5685
  /**
5686
5686
  * @public
5687
5687
  * <p>Use this parameter only when paginating results and only after
@@ -5792,7 +5792,7 @@ export interface PolicyGrantingServiceAccess {
5792
5792
  * policies and inline policies</a> in the
5793
5793
  * <i>IAM User Guide</i>.</p>
5794
5794
  */
5795
- PolicyType: PolicyType | string | undefined;
5795
+ PolicyType: PolicyType | undefined;
5796
5796
  /**
5797
5797
  * @public
5798
5798
  * <p>The Amazon Resource Name (ARN). ARNs are unique identifiers for Amazon Web Services resources.</p>
@@ -5808,7 +5808,7 @@ export interface PolicyGrantingServiceAccess {
5808
5808
  * see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_managed-vs-inline.html">Managed policies and inline policies</a> in the
5809
5809
  * <i>IAM User Guide</i>.</p>
5810
5810
  */
5811
- EntityType?: PolicyOwnerEntityType | string;
5811
+ EntityType?: PolicyOwnerEntityType;
5812
5812
  /**
5813
5813
  * @public
5814
5814
  * <p>The name of the entity (user or role) to which the inline policy is attached.</p>
@@ -6440,7 +6440,7 @@ export interface ServiceSpecificCredentialMetadata {
6440
6440
  * <p>The status of the service-specific credential. <code>Active</code> means that the key is
6441
6441
  * valid for API calls, while <code>Inactive</code> means it is not.</p>
6442
6442
  */
6443
- Status: StatusType | string | undefined;
6443
+ Status: StatusType | undefined;
6444
6444
  /**
6445
6445
  * @public
6446
6446
  * <p>The generated user name for the service-specific credential.</p>
@@ -6533,7 +6533,7 @@ export interface SigningCertificate {
6533
6533
  * <p>The status of the signing certificate. <code>Active</code> means that the key is valid
6534
6534
  * for API calls, while <code>Inactive</code> means it is not.</p>
6535
6535
  */
6536
- Status: StatusType | string | undefined;
6536
+ Status: StatusType | undefined;
6537
6537
  /**
6538
6538
  * @public
6539
6539
  * <p>The date when the signing certificate was uploaded.</p>
@@ -6627,7 +6627,7 @@ export interface SSHPublicKeyMetadata {
6627
6627
  * authentication with an CodeCommit repository. <code>Inactive</code> means that the key cannot be
6628
6628
  * used.</p>
6629
6629
  */
6630
- Status: StatusType | string | undefined;
6630
+ Status: StatusType | undefined;
6631
6631
  /**
6632
6632
  * @public
6633
6633
  * <p>The date and time, in <a href="http://www.iso.org/iso/iso8601">ISO 8601 date-time
@@ -6860,7 +6860,7 @@ export interface ListVirtualMFADevicesRequest {
6860
6860
  * <code>Any</code>, which lists both assigned and unassigned virtual MFA
6861
6861
  * devices.,</p>
6862
6862
  */
6863
- AssignmentStatus?: AssignmentStatusType | string;
6863
+ AssignmentStatus?: AssignmentStatusType;
6864
6864
  /**
6865
6865
  * @public
6866
6866
  * <p>Use this parameter only when paginating results and only after
@@ -7257,7 +7257,7 @@ export interface SetSecurityTokenServicePreferencesRequest {
7257
7257
  * deactivating STS in an Amazon Web Services Region</a> in the
7258
7258
  * <i>IAM User Guide</i>.</p>
7259
7259
  */
7260
- GlobalEndpointTokenVersion: GlobalEndpointTokenVersion | string | undefined;
7260
+ GlobalEndpointTokenVersion: GlobalEndpointTokenVersion | undefined;
7261
7261
  }
7262
7262
  /**
7263
7263
  * @public
@@ -7322,7 +7322,7 @@ export interface ContextEntry {
7322
7322
  * <p>The data type of the value (or values) specified in the <code>ContextKeyValues</code>
7323
7323
  * parameter.</p>
7324
7324
  */
7325
- ContextKeyType?: ContextKeyTypeEnum | string;
7325
+ ContextKeyType?: ContextKeyTypeEnum;
7326
7326
  }
7327
7327
  /**
7328
7328
  * @public
@@ -7607,7 +7607,7 @@ export interface Statement {
7607
7607
  * @public
7608
7608
  * <p>The type of the policy.</p>
7609
7609
  */
7610
- SourcePolicyType?: PolicySourceType | string;
7610
+ SourcePolicyType?: PolicySourceType;
7611
7611
  /**
7612
7612
  * @public
7613
7613
  * <p>The row and column of the beginning of the <code>Statement</code> in an IAM
@@ -7669,7 +7669,7 @@ export interface ResourceSpecificResult {
7669
7669
  * <p>The result of the simulation of the simulated API operation on the resource specified in
7670
7670
  * <code>EvalResourceName</code>.</p>
7671
7671
  */
7672
- EvalResourceDecision: PolicyEvaluationDecisionType | string | undefined;
7672
+ EvalResourceDecision: PolicyEvaluationDecisionType | undefined;
7673
7673
  /**
7674
7674
  * @public
7675
7675
  * <p>A list of the statements in the input policies that determine the result for this part
@@ -7697,7 +7697,7 @@ export interface ResourceSpecificResult {
7697
7697
  * This parameter is returned only for cross-account simulations. This parameter explains how
7698
7698
  * each policy type contributes to the resource-specific evaluation decision.</p>
7699
7699
  */
7700
- EvalDecisionDetails?: Record<string, PolicyEvaluationDecisionType | string>;
7700
+ EvalDecisionDetails?: Record<string, PolicyEvaluationDecisionType>;
7701
7701
  /**
7702
7702
  * @public
7703
7703
  * <p>Contains information about the effect that a permissions boundary has on a policy
@@ -7729,7 +7729,7 @@ export interface EvaluationResult {
7729
7729
  * @public
7730
7730
  * <p>The result of the simulation.</p>
7731
7731
  */
7732
- EvalDecision: PolicyEvaluationDecisionType | string | undefined;
7732
+ EvalDecision: PolicyEvaluationDecisionType | undefined;
7733
7733
  /**
7734
7734
  * @public
7735
7735
  * <p>A list of the statements in the input policies that determine the result for this
@@ -7777,7 +7777,7 @@ export interface EvaluationResult {
7777
7777
  * this case, policy evaluation does not proceed any further and this parameter is not
7778
7778
  * returned.</p>
7779
7779
  */
7780
- EvalDecisionDetails?: Record<string, PolicyEvaluationDecisionType | string>;
7780
+ EvalDecisionDetails?: Record<string, PolicyEvaluationDecisionType>;
7781
7781
  /**
7782
7782
  * @public
7783
7783
  * <p>The individual results of the simulation of the API operation specified in
@@ -154,7 +154,7 @@ export interface UpdateAccessKeyRequest {
154
154
  * that the key can be used for programmatic calls to Amazon Web Services, while <code>Inactive</code>
155
155
  * means that the key cannot be used.</p>
156
156
  */
157
- Status: StatusType | string | undefined;
157
+ Status: StatusType | undefined;
158
158
  }
159
159
  /**
160
160
  * @public
@@ -526,7 +526,7 @@ export interface UpdateServiceSpecificCredentialRequest {
526
526
  * @public
527
527
  * <p>The status to be assigned to the service-specific credential.</p>
528
528
  */
529
- Status: StatusType | string | undefined;
529
+ Status: StatusType | undefined;
530
530
  }
531
531
  /**
532
532
  * @public
@@ -552,7 +552,7 @@ export interface UpdateSigningCertificateRequest {
552
552
  * certificate can be used for programmatic calls to Amazon Web Services <code>Inactive</code> means that
553
553
  * the certificate cannot be used.</p>
554
554
  */
555
- Status: StatusType | string | undefined;
555
+ Status: StatusType | undefined;
556
556
  }
557
557
  /**
558
558
  * @public
@@ -578,7 +578,7 @@ export interface UpdateSSHPublicKeyRequest {
578
578
  * be used for authentication with an CodeCommit repository. <code>Inactive</code> means that
579
579
  * the key cannot be used.</p>
580
580
  */
581
- Status: StatusType | string | undefined;
581
+ Status: StatusType | undefined;
582
582
  }
583
583
  /**
584
584
  * @public
@@ -22,7 +22,7 @@ export type StatusType = (typeof StatusType)[keyof typeof StatusType];
22
22
  export interface AccessKey {
23
23
  UserName: string | undefined;
24
24
  AccessKeyId: string | undefined;
25
- Status: StatusType | string | undefined;
25
+ Status: StatusType | undefined;
26
26
  SecretAccessKey: string | undefined;
27
27
  CreateDate?: Date;
28
28
  }
@@ -34,7 +34,7 @@ export interface AccessKeyLastUsed {
34
34
  export interface AccessKeyMetadata {
35
35
  UserName?: string;
36
36
  AccessKeyId?: string;
37
- Status?: StatusType | string;
37
+ Status?: StatusType;
38
38
  CreateDate?: Date;
39
39
  }
40
40
  export interface AddClientIDToOpenIDConnectProviderRequest {
@@ -104,7 +104,7 @@ export declare const PermissionsBoundaryAttachmentType: {
104
104
  export type PermissionsBoundaryAttachmentType =
105
105
  (typeof PermissionsBoundaryAttachmentType)[keyof typeof PermissionsBoundaryAttachmentType];
106
106
  export interface AttachedPermissionsBoundary {
107
- PermissionsBoundaryType?: PermissionsBoundaryAttachmentType | string;
107
+ PermissionsBoundaryType?: PermissionsBoundaryAttachmentType;
108
108
  PermissionsBoundaryArn?: string;
109
109
  }
110
110
  export interface AttachedPolicy {
@@ -343,7 +343,7 @@ export interface ServiceSpecificCredential {
343
343
  ServicePassword: string | undefined;
344
344
  ServiceSpecificCredentialId: string | undefined;
345
345
  UserName: string | undefined;
346
- Status: StatusType | string | undefined;
346
+ Status: StatusType | undefined;
347
347
  }
348
348
  export interface CreateServiceSpecificCredentialResponse {
349
349
  ServiceSpecificCredential?: ServiceSpecificCredential;
@@ -514,7 +514,7 @@ export declare const ReportStateType: {
514
514
  export type ReportStateType =
515
515
  (typeof ReportStateType)[keyof typeof ReportStateType];
516
516
  export interface GenerateCredentialReportResponse {
517
- State?: ReportStateType | string;
517
+ State?: ReportStateType;
518
518
  Description?: string;
519
519
  }
520
520
  export interface GenerateOrganizationsAccessReportRequest {
@@ -536,7 +536,7 @@ export declare class ReportGenerationLimitExceededException extends __BaseExcept
536
536
  }
537
537
  export interface GenerateServiceLastAccessedDetailsRequest {
538
538
  Arn: string | undefined;
539
- Granularity?: AccessAdvisorUsageGranularityType | string;
539
+ Granularity?: AccessAdvisorUsageGranularityType;
540
540
  }
541
541
  export interface GenerateServiceLastAccessedDetailsResponse {
542
542
  JobId?: string;
@@ -557,7 +557,7 @@ export declare const EntityType: {
557
557
  };
558
558
  export type EntityType = (typeof EntityType)[keyof typeof EntityType];
559
559
  export interface GetAccountAuthorizationDetailsRequest {
560
- Filter?: (EntityType | string)[];
560
+ Filter?: EntityType[];
561
561
  MaxItems?: number;
562
562
  Marker?: string;
563
563
  }
@@ -668,7 +668,7 @@ export declare const SummaryKeyType: {
668
668
  export type SummaryKeyType =
669
669
  (typeof SummaryKeyType)[keyof typeof SummaryKeyType];
670
670
  export interface GetAccountSummaryResponse {
671
- SummaryMap?: Record<string, number>;
671
+ SummaryMap?: Record<SummaryKeyType, number>;
672
672
  }
673
673
  export interface GetContextKeysForCustomPolicyRequest {
674
674
  PolicyInputList: string[] | undefined;
@@ -717,7 +717,7 @@ export type ReportFormatType =
717
717
  (typeof ReportFormatType)[keyof typeof ReportFormatType];
718
718
  export interface GetCredentialReportResponse {
719
719
  Content?: Uint8Array;
720
- ReportFormat?: ReportFormatType | string;
720
+ ReportFormat?: ReportFormatType;
721
721
  GeneratedTime?: Date;
722
722
  }
723
723
  export interface GetGroupRequest {
@@ -783,7 +783,7 @@ export interface GetOrganizationsAccessReportRequest {
783
783
  JobId: string | undefined;
784
784
  MaxItems?: number;
785
785
  Marker?: string;
786
- SortKey?: SortKeyType | string;
786
+ SortKey?: SortKeyType;
787
787
  }
788
788
  export interface ErrorDetails {
789
789
  Message: string | undefined;
@@ -796,7 +796,7 @@ export declare const JobStatusType: {
796
796
  };
797
797
  export type JobStatusType = (typeof JobStatusType)[keyof typeof JobStatusType];
798
798
  export interface GetOrganizationsAccessReportResponse {
799
- JobStatus: JobStatusType | string | undefined;
799
+ JobStatus: JobStatusType | undefined;
800
800
  JobCreationDate: Date | undefined;
801
801
  JobCompletionDate?: Date;
802
802
  NumberOfServicesAccessible?: number;
@@ -884,8 +884,8 @@ export interface ServiceLastAccessed {
884
884
  TrackedActionsLastAccessed?: TrackedActionLastAccessed[];
885
885
  }
886
886
  export interface GetServiceLastAccessedDetailsResponse {
887
- JobStatus: JobStatusType | string | undefined;
888
- JobType?: AccessAdvisorUsageGranularityType | string;
887
+ JobStatus: JobStatusType | undefined;
888
+ JobType?: AccessAdvisorUsageGranularityType;
889
889
  JobCreationDate: Date | undefined;
890
890
  ServicesLastAccessed: ServiceLastAccessed[] | undefined;
891
891
  JobCompletionDate: Date | undefined;
@@ -909,7 +909,7 @@ export type PolicyOwnerEntityType =
909
909
  export interface EntityInfo {
910
910
  Arn: string | undefined;
911
911
  Name: string | undefined;
912
- Type: PolicyOwnerEntityType | string | undefined;
912
+ Type: PolicyOwnerEntityType | undefined;
913
913
  Id: string | undefined;
914
914
  Path?: string;
915
915
  }
@@ -918,7 +918,7 @@ export interface EntityDetails {
918
918
  LastAuthenticated?: Date;
919
919
  }
920
920
  export interface GetServiceLastAccessedDetailsWithEntitiesResponse {
921
- JobStatus: JobStatusType | string | undefined;
921
+ JobStatus: JobStatusType | undefined;
922
922
  JobCreationDate: Date | undefined;
923
923
  JobCompletionDate: Date | undefined;
924
924
  EntityDetailsList: EntityDetails[] | undefined;
@@ -946,7 +946,7 @@ export declare const DeletionTaskStatusType: {
946
946
  export type DeletionTaskStatusType =
947
947
  (typeof DeletionTaskStatusType)[keyof typeof DeletionTaskStatusType];
948
948
  export interface GetServiceLinkedRoleDeletionStatusResponse {
949
- Status: DeletionTaskStatusType | string | undefined;
949
+ Status: DeletionTaskStatusType | undefined;
950
950
  Reason?: DeletionTaskFailureReasonType;
951
951
  }
952
952
  export declare const EncodingType: {
@@ -957,14 +957,14 @@ export type EncodingType = (typeof EncodingType)[keyof typeof EncodingType];
957
957
  export interface GetSSHPublicKeyRequest {
958
958
  UserName: string | undefined;
959
959
  SSHPublicKeyId: string | undefined;
960
- Encoding: EncodingType | string | undefined;
960
+ Encoding: EncodingType | undefined;
961
961
  }
962
962
  export interface SSHPublicKey {
963
963
  UserName: string | undefined;
964
964
  SSHPublicKeyId: string | undefined;
965
965
  Fingerprint: string | undefined;
966
966
  SSHPublicKeyBody: string | undefined;
967
- Status: StatusType | string | undefined;
967
+ Status: StatusType | undefined;
968
968
  UploadDate?: Date;
969
969
  }
970
970
  export interface GetSSHPublicKeyResponse {
@@ -1055,9 +1055,9 @@ export type PolicyUsageType =
1055
1055
  (typeof PolicyUsageType)[keyof typeof PolicyUsageType];
1056
1056
  export interface ListEntitiesForPolicyRequest {
1057
1057
  PolicyArn: string | undefined;
1058
- EntityFilter?: EntityType | string;
1058
+ EntityFilter?: EntityType;
1059
1059
  PathPrefix?: string;
1060
- PolicyUsageFilter?: PolicyUsageType | string;
1060
+ PolicyUsageFilter?: PolicyUsageType;
1061
1061
  Marker?: string;
1062
1062
  MaxItems?: number;
1063
1063
  }
@@ -1190,10 +1190,10 @@ export declare const PolicyScopeType: {
1190
1190
  export type PolicyScopeType =
1191
1191
  (typeof PolicyScopeType)[keyof typeof PolicyScopeType];
1192
1192
  export interface ListPoliciesRequest {
1193
- Scope?: PolicyScopeType | string;
1193
+ Scope?: PolicyScopeType;
1194
1194
  OnlyAttached?: boolean;
1195
1195
  PathPrefix?: string;
1196
- PolicyUsageFilter?: PolicyUsageType | string;
1196
+ PolicyUsageFilter?: PolicyUsageType;
1197
1197
  Marker?: string;
1198
1198
  MaxItems?: number;
1199
1199
  }
@@ -1214,9 +1214,9 @@ export declare const PolicyType: {
1214
1214
  export type PolicyType = (typeof PolicyType)[keyof typeof PolicyType];
1215
1215
  export interface PolicyGrantingServiceAccess {
1216
1216
  PolicyName: string | undefined;
1217
- PolicyType: PolicyType | string | undefined;
1217
+ PolicyType: PolicyType | undefined;
1218
1218
  PolicyArn?: string;
1219
- EntityType?: PolicyOwnerEntityType | string;
1219
+ EntityType?: PolicyOwnerEntityType;
1220
1220
  EntityName?: string;
1221
1221
  }
1222
1222
  export interface ListPoliciesGrantingServiceAccessEntry {
@@ -1325,7 +1325,7 @@ export interface ListServiceSpecificCredentialsRequest {
1325
1325
  }
1326
1326
  export interface ServiceSpecificCredentialMetadata {
1327
1327
  UserName: string | undefined;
1328
- Status: StatusType | string | undefined;
1328
+ Status: StatusType | undefined;
1329
1329
  ServiceUserName: string | undefined;
1330
1330
  CreateDate: Date | undefined;
1331
1331
  ServiceSpecificCredentialId: string | undefined;
@@ -1343,7 +1343,7 @@ export interface SigningCertificate {
1343
1343
  UserName: string | undefined;
1344
1344
  CertificateId: string | undefined;
1345
1345
  CertificateBody: string | undefined;
1346
- Status: StatusType | string | undefined;
1346
+ Status: StatusType | undefined;
1347
1347
  UploadDate?: Date;
1348
1348
  }
1349
1349
  export interface ListSigningCertificatesResponse {
@@ -1359,7 +1359,7 @@ export interface ListSSHPublicKeysRequest {
1359
1359
  export interface SSHPublicKeyMetadata {
1360
1360
  UserName: string | undefined;
1361
1361
  SSHPublicKeyId: string | undefined;
1362
- Status: StatusType | string | undefined;
1362
+ Status: StatusType | undefined;
1363
1363
  UploadDate: Date | undefined;
1364
1364
  }
1365
1365
  export interface ListSSHPublicKeysResponse {
@@ -1398,7 +1398,7 @@ export interface ListUserTagsResponse {
1398
1398
  Marker?: string;
1399
1399
  }
1400
1400
  export interface ListVirtualMFADevicesRequest {
1401
- AssignmentStatus?: AssignmentStatusType | string;
1401
+ AssignmentStatus?: AssignmentStatusType;
1402
1402
  Marker?: string;
1403
1403
  MaxItems?: number;
1404
1404
  }
@@ -1466,7 +1466,7 @@ export declare const GlobalEndpointTokenVersion: {
1466
1466
  export type GlobalEndpointTokenVersion =
1467
1467
  (typeof GlobalEndpointTokenVersion)[keyof typeof GlobalEndpointTokenVersion];
1468
1468
  export interface SetSecurityTokenServicePreferencesRequest {
1469
- GlobalEndpointTokenVersion: GlobalEndpointTokenVersion | string | undefined;
1469
+ GlobalEndpointTokenVersion: GlobalEndpointTokenVersion | undefined;
1470
1470
  }
1471
1471
  export declare class PolicyEvaluationException extends __BaseException {
1472
1472
  readonly name: "PolicyEvaluationException";
@@ -1494,7 +1494,7 @@ export type ContextKeyTypeEnum =
1494
1494
  export interface ContextEntry {
1495
1495
  ContextKeyName?: string;
1496
1496
  ContextKeyValues?: string[];
1497
- ContextKeyType?: ContextKeyTypeEnum | string;
1497
+ ContextKeyType?: ContextKeyTypeEnum;
1498
1498
  }
1499
1499
  export interface SimulateCustomPolicyRequest {
1500
1500
  PolicyInputList: string[] | undefined;
@@ -1533,7 +1533,7 @@ export type PolicySourceType =
1533
1533
  (typeof PolicySourceType)[keyof typeof PolicySourceType];
1534
1534
  export interface Statement {
1535
1535
  SourcePolicyId?: string;
1536
- SourcePolicyType?: PolicySourceType | string;
1536
+ SourcePolicyType?: PolicySourceType;
1537
1537
  StartPosition?: Position;
1538
1538
  EndPosition?: Position;
1539
1539
  }
@@ -1545,21 +1545,21 @@ export interface PermissionsBoundaryDecisionDetail {
1545
1545
  }
1546
1546
  export interface ResourceSpecificResult {
1547
1547
  EvalResourceName: string | undefined;
1548
- EvalResourceDecision: PolicyEvaluationDecisionType | string | undefined;
1548
+ EvalResourceDecision: PolicyEvaluationDecisionType | undefined;
1549
1549
  MatchedStatements?: Statement[];
1550
1550
  MissingContextValues?: string[];
1551
- EvalDecisionDetails?: Record<string, PolicyEvaluationDecisionType | string>;
1551
+ EvalDecisionDetails?: Record<string, PolicyEvaluationDecisionType>;
1552
1552
  PermissionsBoundaryDecisionDetail?: PermissionsBoundaryDecisionDetail;
1553
1553
  }
1554
1554
  export interface EvaluationResult {
1555
1555
  EvalActionName: string | undefined;
1556
1556
  EvalResourceName?: string;
1557
- EvalDecision: PolicyEvaluationDecisionType | string | undefined;
1557
+ EvalDecision: PolicyEvaluationDecisionType | undefined;
1558
1558
  MatchedStatements?: Statement[];
1559
1559
  MissingContextValues?: string[];
1560
1560
  OrganizationsDecisionDetail?: OrganizationsDecisionDetail;
1561
1561
  PermissionsBoundaryDecisionDetail?: PermissionsBoundaryDecisionDetail;
1562
- EvalDecisionDetails?: Record<string, PolicyEvaluationDecisionType | string>;
1562
+ EvalDecisionDetails?: Record<string, PolicyEvaluationDecisionType>;
1563
1563
  ResourceSpecificResults?: ResourceSpecificResult[];
1564
1564
  }
1565
1565
  export interface SimulatePolicyResponse {
@@ -39,7 +39,7 @@ export interface UntagUserRequest {
39
39
  export interface UpdateAccessKeyRequest {
40
40
  UserName?: string;
41
41
  AccessKeyId: string | undefined;
42
- Status: StatusType | string | undefined;
42
+ Status: StatusType | undefined;
43
43
  }
44
44
  export interface UpdateAccountPasswordPolicyRequest {
45
45
  MinimumPasswordLength?: number;
@@ -98,17 +98,17 @@ export interface UpdateServerCertificateRequest {
98
98
  export interface UpdateServiceSpecificCredentialRequest {
99
99
  UserName?: string;
100
100
  ServiceSpecificCredentialId: string | undefined;
101
- Status: StatusType | string | undefined;
101
+ Status: StatusType | undefined;
102
102
  }
103
103
  export interface UpdateSigningCertificateRequest {
104
104
  UserName?: string;
105
105
  CertificateId: string | undefined;
106
- Status: StatusType | string | undefined;
106
+ Status: StatusType | undefined;
107
107
  }
108
108
  export interface UpdateSSHPublicKeyRequest {
109
109
  UserName: string | undefined;
110
110
  SSHPublicKeyId: string | undefined;
111
- Status: StatusType | string | undefined;
111
+ Status: StatusType | undefined;
112
112
  }
113
113
  export interface UpdateUserRequest {
114
114
  UserName: string | undefined;
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.427.0",
4
+ "version": "3.429.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,41 +21,41 @@
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.427.0",
25
- "@aws-sdk/credential-provider-node": "3.427.0",
26
- "@aws-sdk/middleware-host-header": "3.425.0",
27
- "@aws-sdk/middleware-logger": "3.425.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.425.0",
29
- "@aws-sdk/middleware-signing": "3.425.0",
30
- "@aws-sdk/middleware-user-agent": "3.427.0",
31
- "@aws-sdk/region-config-resolver": "3.425.0",
32
- "@aws-sdk/types": "3.425.0",
33
- "@aws-sdk/util-endpoints": "3.427.0",
34
- "@aws-sdk/util-user-agent-browser": "3.425.0",
35
- "@aws-sdk/util-user-agent-node": "3.425.0",
36
- "@smithy/config-resolver": "^2.0.11",
37
- "@smithy/fetch-http-handler": "^2.2.1",
38
- "@smithy/hash-node": "^2.0.10",
39
- "@smithy/invalid-dependency": "^2.0.10",
40
- "@smithy/middleware-content-length": "^2.0.12",
41
- "@smithy/middleware-endpoint": "^2.0.10",
42
- "@smithy/middleware-retry": "^2.0.13",
43
- "@smithy/middleware-serde": "^2.0.10",
44
- "@smithy/middleware-stack": "^2.0.4",
45
- "@smithy/node-config-provider": "^2.0.13",
46
- "@smithy/node-http-handler": "^2.1.6",
47
- "@smithy/protocol-http": "^3.0.6",
48
- "@smithy/smithy-client": "^2.1.9",
49
- "@smithy/types": "^2.3.4",
50
- "@smithy/url-parser": "^2.0.10",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
+ "@aws-sdk/middleware-logger": "3.428.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
+ "@aws-sdk/middleware-signing": "3.428.0",
30
+ "@aws-sdk/middleware-user-agent": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.428.0",
32
+ "@aws-sdk/types": "3.428.0",
33
+ "@aws-sdk/util-endpoints": "3.428.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.428.0",
35
+ "@aws-sdk/util-user-agent-node": "3.428.0",
36
+ "@smithy/config-resolver": "^2.0.14",
37
+ "@smithy/fetch-http-handler": "^2.2.3",
38
+ "@smithy/hash-node": "^2.0.11",
39
+ "@smithy/invalid-dependency": "^2.0.11",
40
+ "@smithy/middleware-content-length": "^2.0.13",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
+ "@smithy/middleware-retry": "^2.0.16",
43
+ "@smithy/middleware-serde": "^2.0.11",
44
+ "@smithy/middleware-stack": "^2.0.5",
45
+ "@smithy/node-config-provider": "^2.1.1",
46
+ "@smithy/node-http-handler": "^2.1.7",
47
+ "@smithy/protocol-http": "^3.0.7",
48
+ "@smithy/smithy-client": "^2.1.11",
49
+ "@smithy/types": "^2.3.5",
50
+ "@smithy/url-parser": "^2.0.11",
51
51
  "@smithy/util-base64": "^2.0.0",
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
- "@smithy/util-defaults-mode-browser": "^2.0.13",
55
- "@smithy/util-defaults-mode-node": "^2.0.15",
56
- "@smithy/util-retry": "^2.0.3",
54
+ "@smithy/util-defaults-mode-browser": "^2.0.15",
55
+ "@smithy/util-defaults-mode-node": "^2.0.19",
56
+ "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
- "@smithy/util-waiter": "^2.0.10",
58
+ "@smithy/util-waiter": "^2.0.11",
59
59
  "fast-xml-parser": "4.2.5",
60
60
  "tslib": "^2.5.0"
61
61
  },