@aws-sdk/client-s3-control 3.428.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.
@@ -35,7 +35,7 @@ export interface AccessControlTranslation {
35
35
  * @public
36
36
  * <p>Specifies the replica ownership.</p>
37
37
  */
38
- Owner: OwnerOverride | string | undefined;
38
+ Owner: OwnerOverride | undefined;
39
39
  }
40
40
  /**
41
41
  * @public
@@ -80,7 +80,7 @@ export interface AccessPoint {
80
80
  * the access point allows access from the public internet, subject to the access point and bucket access
81
81
  * policies.</p>
82
82
  */
83
- NetworkOrigin: NetworkOrigin | string | undefined;
83
+ NetworkOrigin: NetworkOrigin | undefined;
84
84
  /**
85
85
  * @public
86
86
  * <p>The virtual private cloud (VPC) configuration for this access point, if one exists.</p>
@@ -533,7 +533,7 @@ export interface AsyncOperation {
533
533
  * @public
534
534
  * <p>The specific operation for the asynchronous request.</p>
535
535
  */
536
- Operation?: AsyncOperationName | string;
536
+ Operation?: AsyncOperationName;
537
537
  /**
538
538
  * @public
539
539
  * <p>The request token associated with the request.</p>
@@ -701,7 +701,7 @@ export interface ObjectLambdaTransformationConfiguration {
701
701
  * <code>GetObject</code>, <code>ListObjects</code>, <code>HeadObject</code>, and
702
702
  * <code>ListObjectsV2</code>.</p>
703
703
  */
704
- Actions: (ObjectLambdaTransformationConfigurationAction | string)[] | undefined;
704
+ Actions: ObjectLambdaTransformationConfigurationAction[] | undefined;
705
705
  /**
706
706
  * @public
707
707
  * <p>A container for the content transformation of an Object Lambda Access Point configuration.</p>
@@ -729,7 +729,7 @@ export interface ObjectLambdaConfiguration {
729
729
  * <code>GetObject-PartNumber</code>, <code>HeadObject-Range</code>, and
730
730
  * <code>HeadObject-PartNumber</code>.</p>
731
731
  */
732
- AllowedFeatures?: (ObjectLambdaAllowedFeature | string)[];
732
+ AllowedFeatures?: ObjectLambdaAllowedFeature[];
733
733
  /**
734
734
  * @public
735
735
  * <p>A container for transformation configurations for an Object Lambda Access Point.</p>
@@ -784,7 +784,7 @@ export interface ObjectLambdaAccessPointAlias {
784
784
  * <p>The status of the Object Lambda Access Point alias. If the status is <code>PROVISIONING</code>, the Object Lambda Access Point is provisioning the alias and the alias is not ready for use yet. If
785
785
  * the status is <code>READY</code>, the Object Lambda Access Point alias is successfully provisioned and ready for use.</p>
786
786
  */
787
- Status?: ObjectLambdaAccessPointAliasStatus | string;
787
+ Status?: ObjectLambdaAccessPointAliasStatus;
788
788
  }
789
789
  /**
790
790
  * @public
@@ -878,7 +878,7 @@ export interface CreateBucketConfiguration {
878
878
  * <p>This is not supported by Amazon S3 on Outposts buckets.</p>
879
879
  * </note>
880
880
  */
881
- LocationConstraint?: BucketLocationConstraint | string;
881
+ LocationConstraint?: BucketLocationConstraint;
882
882
  }
883
883
  /**
884
884
  * @public
@@ -891,7 +891,7 @@ export interface CreateBucketRequest {
891
891
  * <p>This is not supported by Amazon S3 on Outposts buckets.</p>
892
892
  * </note>
893
893
  */
894
- ACL?: BucketCannedACL | string;
894
+ ACL?: BucketCannedACL;
895
895
  /**
896
896
  * @public
897
897
  * <p>The name of the bucket.</p>
@@ -1056,13 +1056,13 @@ export interface JobManifestSpec {
1056
1056
  * @public
1057
1057
  * <p>Indicates which of the available formats the specified manifest uses.</p>
1058
1058
  */
1059
- Format: JobManifestFormat | string | undefined;
1059
+ Format: JobManifestFormat | undefined;
1060
1060
  /**
1061
1061
  * @public
1062
1062
  * <p>If the specified manifest object is in the <code>S3BatchOperations_CSV_20180820</code>
1063
1063
  * format, this element describes which columns contain the required data.</p>
1064
1064
  */
1065
- Fields?: (JobManifestFieldName | string)[];
1065
+ Fields?: JobManifestFieldName[];
1066
1066
  }
1067
1067
  /**
1068
1068
  * @public
@@ -1123,7 +1123,7 @@ export interface JobManifestGeneratorFilter {
1123
1123
  * <p>If provided, the generated manifest should include only source bucket objects that have
1124
1124
  * one of the specified Replication statuses.</p>
1125
1125
  */
1126
- ObjectReplicationStatuses?: (ReplicationStatus | string)[];
1126
+ ObjectReplicationStatuses?: ReplicationStatus[];
1127
1127
  }
1128
1128
  /**
1129
1129
  * @public
@@ -1201,7 +1201,7 @@ export interface S3ManifestOutputLocation {
1201
1201
  * @public
1202
1202
  * <p>The format of the generated manifest.</p>
1203
1203
  */
1204
- ManifestFormat: GeneratedManifestFormat | string | undefined;
1204
+ ManifestFormat: GeneratedManifestFormat | undefined;
1205
1205
  }
1206
1206
  /**
1207
1207
  * @public
@@ -1337,7 +1337,7 @@ export interface S3InitiateRestoreObjectOperation {
1337
1337
  * <p>S3 Batch Operations supports <code>STANDARD</code> and <code>BULK</code> retrieval tiers, but
1338
1338
  * not the <code>EXPEDITED</code> retrieval tier.</p>
1339
1339
  */
1340
- GlacierJobTier?: S3GlacierJobTier | string;
1340
+ GlacierJobTier?: S3GlacierJobTier;
1341
1341
  }
1342
1342
  /**
1343
1343
  * @public
@@ -1361,7 +1361,7 @@ export interface S3Grantee {
1361
1361
  * @public
1362
1362
  * <p></p>
1363
1363
  */
1364
- TypeIdentifier?: S3GranteeTypeIdentifier | string;
1364
+ TypeIdentifier?: S3GranteeTypeIdentifier;
1365
1365
  /**
1366
1366
  * @public
1367
1367
  * <p></p>
@@ -1402,7 +1402,7 @@ export interface S3Grant {
1402
1402
  * @public
1403
1403
  * <p></p>
1404
1404
  */
1405
- Permission?: S3Permission | string;
1405
+ Permission?: S3Permission;
1406
1406
  }
1407
1407
  /**
1408
1408
  * @public
@@ -1467,7 +1467,7 @@ export interface S3AccessControlPolicy {
1467
1467
  * @public
1468
1468
  * <p></p>
1469
1469
  */
1470
- CannedAccessControlList?: S3CannedAccessControlList | string;
1470
+ CannedAccessControlList?: S3CannedAccessControlList;
1471
1471
  }
1472
1472
  /**
1473
1473
  * @public
@@ -1583,7 +1583,7 @@ export interface S3ObjectMetadata {
1583
1583
  * @public
1584
1584
  * <p></p>
1585
1585
  */
1586
- SSEAlgorithm?: S3SSEAlgorithm | string;
1586
+ SSEAlgorithm?: S3SSEAlgorithm;
1587
1587
  }
1588
1588
  /**
1589
1589
  * @public
@@ -1667,7 +1667,7 @@ export interface S3CopyObjectOperation {
1667
1667
  * @public
1668
1668
  * <p></p>
1669
1669
  */
1670
- CannedAccessControlList?: S3CannedAccessControlList | string;
1670
+ CannedAccessControlList?: S3CannedAccessControlList;
1671
1671
  /**
1672
1672
  * @public
1673
1673
  * <p></p>
@@ -1677,7 +1677,7 @@ export interface S3CopyObjectOperation {
1677
1677
  * @public
1678
1678
  * <p></p>
1679
1679
  */
1680
- MetadataDirective?: S3MetadataDirective | string;
1680
+ MetadataDirective?: S3MetadataDirective;
1681
1681
  /**
1682
1682
  * @public
1683
1683
  * <p></p>
@@ -1711,7 +1711,7 @@ export interface S3CopyObjectOperation {
1711
1711
  * @public
1712
1712
  * <p></p>
1713
1713
  */
1714
- StorageClass?: S3StorageClass | string;
1714
+ StorageClass?: S3StorageClass;
1715
1715
  /**
1716
1716
  * @public
1717
1717
  * <p></p>
@@ -1741,12 +1741,12 @@ export interface S3CopyObjectOperation {
1741
1741
  * @public
1742
1742
  * <p>The legal hold status to be applied to all objects in the Batch Operations job.</p>
1743
1743
  */
1744
- ObjectLockLegalHoldStatus?: S3ObjectLockLegalHoldStatus | string;
1744
+ ObjectLockLegalHoldStatus?: S3ObjectLockLegalHoldStatus;
1745
1745
  /**
1746
1746
  * @public
1747
1747
  * <p>The retention mode to be applied to all objects in the Batch Operations job.</p>
1748
1748
  */
1749
- ObjectLockMode?: S3ObjectLockMode | string;
1749
+ ObjectLockMode?: S3ObjectLockMode;
1750
1750
  /**
1751
1751
  * @public
1752
1752
  * <p>The date when the applied object retention configuration expires on all objects in the
@@ -1770,7 +1770,7 @@ export interface S3CopyObjectOperation {
1770
1770
  * information,
1771
1771
  * see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/CheckingObjectIntegrity.xml"> Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1772
1772
  */
1773
- ChecksumAlgorithm?: S3ChecksumAlgorithm | string;
1773
+ ChecksumAlgorithm?: S3ChecksumAlgorithm;
1774
1774
  }
1775
1775
  /**
1776
1776
  * @public
@@ -1783,7 +1783,7 @@ export interface S3ObjectLockLegalHold {
1783
1783
  * <p>The Object Lock legal hold status to be applied to all objects in the Batch Operations
1784
1784
  * job.</p>
1785
1785
  */
1786
- Status: S3ObjectLockLegalHoldStatus | string | undefined;
1786
+ Status: S3ObjectLockLegalHoldStatus | undefined;
1787
1787
  }
1788
1788
  /**
1789
1789
  * @public
@@ -1836,7 +1836,7 @@ export interface S3Retention {
1836
1836
  * <p>The Object Lock retention mode to be applied to all objects in the Batch Operations
1837
1837
  * job.</p>
1838
1838
  */
1839
- Mode?: S3ObjectLockRetentionMode | string;
1839
+ Mode?: S3ObjectLockRetentionMode;
1840
1840
  }
1841
1841
  /**
1842
1842
  * @public
@@ -1996,7 +1996,7 @@ export interface JobReport {
1996
1996
  * @public
1997
1997
  * <p>The format of the specified job-completion report.</p>
1998
1998
  */
1999
- Format?: JobReportFormat | string;
1999
+ Format?: JobReportFormat;
2000
2000
  /**
2001
2001
  * @public
2002
2002
  * <p>Indicates whether the specified job will generate a job-completion report.</p>
@@ -2014,7 +2014,7 @@ export interface JobReport {
2014
2014
  * <p>Indicates whether the job-completion report will include details of all tasks or only
2015
2015
  * failed tasks.</p>
2016
2016
  */
2017
- ReportScope?: JobReportScope | string;
2017
+ ReportScope?: JobReportScope;
2018
2018
  }
2019
2019
  /**
2020
2020
  * @public
@@ -2470,7 +2470,7 @@ export interface S3GeneratedManifestDescriptor {
2470
2470
  * @public
2471
2471
  * <p>The format of the generated manifest.</p>
2472
2472
  */
2473
- Format?: GeneratedManifestFormat | string;
2473
+ Format?: GeneratedManifestFormat;
2474
2474
  /**
2475
2475
  * @public
2476
2476
  * <p>Contains the information required to locate a manifest object.</p>
@@ -2570,7 +2570,7 @@ export interface JobDescriptor {
2570
2570
  * @public
2571
2571
  * <p>The current status of the specified job.</p>
2572
2572
  */
2573
- Status?: JobStatus | string;
2573
+ Status?: JobStatus;
2574
2574
  /**
2575
2575
  * @public
2576
2576
  * <p>The configuration information for the specified job's manifest object.</p>
@@ -2731,7 +2731,7 @@ export interface GetAccessPointResult {
2731
2731
  * policies.</p>
2732
2732
  * <p>This will always be true for an Amazon S3 on Outposts access point</p>
2733
2733
  */
2734
- NetworkOrigin?: NetworkOrigin | string;
2734
+ NetworkOrigin?: NetworkOrigin;
2735
2735
  /**
2736
2736
  * @public
2737
2737
  * <p>Contains the virtual private cloud (VPC) configuration for the specified access point.</p>
@@ -3153,7 +3153,7 @@ export interface NoncurrentVersionTransition {
3153
3153
  * @public
3154
3154
  * <p>The class of storage used to store the object.</p>
3155
3155
  */
3156
- StorageClass?: TransitionStorageClass | string;
3156
+ StorageClass?: TransitionStorageClass;
3157
3157
  }
3158
3158
  /**
3159
3159
  * @public
@@ -3191,7 +3191,7 @@ export interface Transition {
3191
3191
  * @public
3192
3192
  * <p>The storage class to which you want the object to transition.</p>
3193
3193
  */
3194
- StorageClass?: TransitionStorageClass | string;
3194
+ StorageClass?: TransitionStorageClass;
3195
3195
  }
3196
3196
  /**
3197
3197
  * @public
@@ -3219,7 +3219,7 @@ export interface LifecycleRule {
3219
3219
  * <p>If 'Enabled', the rule is currently being applied. If 'Disabled', the rule is not
3220
3220
  * currently being applied.</p>
3221
3221
  */
3222
- Status: ExpirationStatus | string | undefined;
3222
+ Status: ExpirationStatus | undefined;
3223
3223
  /**
3224
3224
  * @public
3225
3225
  * <p>Specifies when an Amazon S3 object transitions to a specified storage class.</p>
@@ -3335,7 +3335,7 @@ export interface DeleteMarkerReplication {
3335
3335
  * @public
3336
3336
  * <p>Indicates whether to replicate delete markers.</p>
3337
3337
  */
3338
- Status: DeleteMarkerReplicationStatus | string | undefined;
3338
+ Status: DeleteMarkerReplicationStatus | undefined;
3339
3339
  }
3340
3340
  /**
3341
3341
  * @public
@@ -3395,7 +3395,7 @@ export interface Metrics {
3395
3395
  * @public
3396
3396
  * <p>Specifies whether replication metrics are enabled. </p>
3397
3397
  */
3398
- Status: MetricsStatus | string | undefined;
3398
+ Status: MetricsStatus | undefined;
3399
3399
  /**
3400
3400
  * @public
3401
3401
  * <p>A container that specifies the time threshold for emitting the
@@ -3432,7 +3432,7 @@ export interface ReplicationTime {
3432
3432
  * @public
3433
3433
  * <p>Specifies whether S3 Replication Time Control (S3 RTC) is enabled. </p>
3434
3434
  */
3435
- Status: ReplicationTimeStatus | string | undefined;
3435
+ Status: ReplicationTimeStatus | undefined;
3436
3436
  /**
3437
3437
  * @public
3438
3438
  * <p>A container that specifies the time by which replication should be complete for all
@@ -3521,7 +3521,7 @@ export interface Destination {
3521
3521
  * <p>Values other than <code>OUTPOSTS</code> are not supported by Amazon S3 on Outposts. </p>
3522
3522
  * </note>
3523
3523
  */
3524
- StorageClass?: ReplicationStorageClass | string;
3524
+ StorageClass?: ReplicationStorageClass;
3525
3525
  }
3526
3526
  /**
3527
3527
  * @public
@@ -3547,7 +3547,7 @@ export interface ExistingObjectReplication {
3547
3547
  * @public
3548
3548
  * <p>Specifies whether Amazon S3 replicates existing source bucket objects. </p>
3549
3549
  */
3550
- Status: ExistingObjectReplicationStatus | string | undefined;
3550
+ Status: ExistingObjectReplicationStatus | undefined;
3551
3551
  }
3552
3552
  /**
3553
3553
  * @public
@@ -3653,7 +3653,7 @@ export interface ReplicaModifications {
3653
3653
  * <p>Specifies whether S3 on Outposts replicates modifications to object metadata on
3654
3654
  * replicas.</p>
3655
3655
  */
3656
- Status: ReplicaModificationsStatus | string | undefined;
3656
+ Status: ReplicaModificationsStatus | undefined;
3657
3657
  }
3658
3658
  /**
3659
3659
  * @public
@@ -3681,7 +3681,7 @@ export interface SseKmsEncryptedObjects {
3681
3681
  * <p>Specifies whether Amazon S3 replicates objects that are created with server-side encryption
3682
3682
  * by using an KMS key stored in Key Management Service.</p>
3683
3683
  */
3684
- Status: SseKmsEncryptedObjectsStatus | string | undefined;
3684
+ Status: SseKmsEncryptedObjectsStatus | undefined;
3685
3685
  }
3686
3686
  /**
3687
3687
  * @public
@@ -3777,7 +3777,7 @@ export interface ReplicationRule {
3777
3777
  * @public
3778
3778
  * <p>Specifies whether the rule is enabled.</p>
3779
3779
  */
3780
- Status: ReplicationRuleStatus | string | undefined;
3780
+ Status: ReplicationRuleStatus | undefined;
3781
3781
  /**
3782
3782
  * @public
3783
3783
  * <p>A container that describes additional filters for identifying the source Outposts objects that
@@ -3922,14 +3922,14 @@ export interface GetBucketVersioningResult {
3922
3922
  * @public
3923
3923
  * <p>The versioning state of the S3 on Outposts bucket.</p>
3924
3924
  */
3925
- Status?: BucketVersioningStatus | string;
3925
+ Status?: BucketVersioningStatus;
3926
3926
  /**
3927
3927
  * @public
3928
3928
  * <p>Specifies whether MFA delete is enabled in the bucket versioning configuration. This
3929
3929
  * element is returned only if the bucket has been configured with MFA delete. If MFA delete
3930
3930
  * has never been configured for the bucket, this element is not returned.</p>
3931
3931
  */
3932
- MFADelete?: MFADeleteStatus | string;
3932
+ MFADelete?: MFADeleteStatus;
3933
3933
  }
3934
3934
  /**
3935
3935
  * @public
@@ -4051,7 +4051,7 @@ export interface MultiRegionAccessPointReport {
4051
4051
  * Multi-Region Access Point. If a Multi-Region Access Point has a status of <code>PARTIALLY_DELETED</code>, you can retry a delete
4052
4052
  * request to finish the deletion of the Multi-Region Access Point.</p>
4053
4053
  */
4054
- Status?: MultiRegionAccessPointStatus | string;
4054
+ Status?: MultiRegionAccessPointStatus;
4055
4055
  /**
4056
4056
  * @public
4057
4057
  * <p>A collection of the Regions and buckets associated with the Multi-Region Access Point.</p>
@@ -4396,12 +4396,12 @@ export interface S3BucketDestination {
4396
4396
  * @public
4397
4397
  * <p></p>
4398
4398
  */
4399
- Format: Format | string | undefined;
4399
+ Format: Format | undefined;
4400
4400
  /**
4401
4401
  * @public
4402
4402
  * <p>The schema version of the export file.</p>
4403
4403
  */
4404
- OutputSchemaVersion: OutputSchemaVersion | string | undefined;
4404
+ OutputSchemaVersion: OutputSchemaVersion | undefined;
4405
4405
  /**
4406
4406
  * @public
4407
4407
  * <p>The account ID of the owner of the S3 Storage Lens metrics export bucket.</p>
@@ -4739,7 +4739,7 @@ export interface ListJobsRequest {
4739
4739
  * <p>The <code>List Jobs</code> request returns jobs that match the statuses listed in this
4740
4740
  * element.</p>
4741
4741
  */
4742
- JobStatuses?: (JobStatus | string)[];
4742
+ JobStatuses?: JobStatus[];
4743
4743
  /**
4744
4744
  * @public
4745
4745
  * <p>A pagination token to request the next page of results. Use the token that Amazon S3 returned
@@ -4797,7 +4797,7 @@ export interface JobListDescriptor {
4797
4797
  * <p>The operation that the specified job is configured to run on every object listed in the
4798
4798
  * manifest.</p>
4799
4799
  */
4800
- Operation?: OperationName | string;
4800
+ Operation?: OperationName;
4801
4801
  /**
4802
4802
  * @public
4803
4803
  * <p>The current priority for the specified job.</p>
@@ -4807,7 +4807,7 @@ export interface JobListDescriptor {
4807
4807
  * @public
4808
4808
  * <p>The specified job's current status.</p>
4809
4809
  */
4810
- Status?: JobStatus | string;
4810
+ Status?: JobStatus;
4811
4811
  /**
4812
4812
  * @public
4813
4813
  * <p>A timestamp indicating when the specified job was created.</p>
@@ -5224,12 +5224,12 @@ export interface VersioningConfiguration {
5224
5224
  * <p>Specifies whether MFA delete is enabled or disabled in the bucket versioning
5225
5225
  * configuration for the S3 on Outposts bucket.</p>
5226
5226
  */
5227
- MFADelete?: MFADelete | string;
5227
+ MFADelete?: MFADelete;
5228
5228
  /**
5229
5229
  * @public
5230
5230
  * <p>Sets the versioning state of the S3 on Outposts bucket.</p>
5231
5231
  */
5232
- Status?: BucketVersioningStatus | string;
5232
+ Status?: BucketVersioningStatus;
5233
5233
  }
5234
5234
  /**
5235
5235
  * @public
@@ -5504,7 +5504,7 @@ export interface UpdateJobStatusRequest {
5504
5504
  * @public
5505
5505
  * <p>The status that you want to move the specified job to.</p>
5506
5506
  */
5507
- RequestedJobStatus: RequestedJobStatus | string | undefined;
5507
+ RequestedJobStatus: RequestedJobStatus | undefined;
5508
5508
  /**
5509
5509
  * @public
5510
5510
  * <p>A description of the reason why you want to change the specified job's status. This
@@ -5525,7 +5525,7 @@ export interface UpdateJobStatusResult {
5525
5525
  * @public
5526
5526
  * <p>The current status for the specified job.</p>
5527
5527
  */
5528
- Status?: JobStatus | string;
5528
+ Status?: JobStatus;
5529
5529
  /**
5530
5530
  * @public
5531
5531
  * <p>The reason that the specified job's status was updated.</p>
@@ -8,7 +8,7 @@ export declare const OwnerOverride: {
8
8
  };
9
9
  export type OwnerOverride = (typeof OwnerOverride)[keyof typeof OwnerOverride];
10
10
  export interface AccessControlTranslation {
11
- Owner: OwnerOverride | string | undefined;
11
+ Owner: OwnerOverride | undefined;
12
12
  }
13
13
  export declare const NetworkOrigin: {
14
14
  readonly Internet: "Internet";
@@ -20,7 +20,7 @@ export interface VpcConfiguration {
20
20
  }
21
21
  export interface AccessPoint {
22
22
  Name: string | undefined;
23
- NetworkOrigin: NetworkOrigin | string | undefined;
23
+ NetworkOrigin: NetworkOrigin | undefined;
24
24
  VpcConfiguration?: VpcConfiguration;
25
25
  Bucket: string | undefined;
26
26
  AccessPointArn?: string;
@@ -118,7 +118,7 @@ export interface AsyncResponseDetails {
118
118
  }
119
119
  export interface AsyncOperation {
120
120
  CreationTime?: Date;
121
- Operation?: AsyncOperationName | string;
121
+ Operation?: AsyncOperationName;
122
122
  RequestTokenARN?: string;
123
123
  RequestParameters?: AsyncRequestParameters;
124
124
  RequestStatus?: string;
@@ -178,15 +178,13 @@ export declare namespace ObjectLambdaContentTransformation {
178
178
  ) => T;
179
179
  }
180
180
  export interface ObjectLambdaTransformationConfiguration {
181
- Actions:
182
- | (ObjectLambdaTransformationConfigurationAction | string)[]
183
- | undefined;
181
+ Actions: ObjectLambdaTransformationConfigurationAction[] | undefined;
184
182
  ContentTransformation: ObjectLambdaContentTransformation | undefined;
185
183
  }
186
184
  export interface ObjectLambdaConfiguration {
187
185
  SupportingAccessPoint: string | undefined;
188
186
  CloudWatchMetricsEnabled?: boolean;
189
- AllowedFeatures?: (ObjectLambdaAllowedFeature | string)[];
187
+ AllowedFeatures?: ObjectLambdaAllowedFeature[];
190
188
  TransformationConfigurations:
191
189
  | ObjectLambdaTransformationConfiguration[]
192
190
  | undefined;
@@ -204,7 +202,7 @@ export type ObjectLambdaAccessPointAliasStatus =
204
202
  (typeof ObjectLambdaAccessPointAliasStatus)[keyof typeof ObjectLambdaAccessPointAliasStatus];
205
203
  export interface ObjectLambdaAccessPointAlias {
206
204
  Value?: string;
207
- Status?: ObjectLambdaAccessPointAliasStatus | string;
205
+ Status?: ObjectLambdaAccessPointAliasStatus;
208
206
  }
209
207
  export interface CreateAccessPointForObjectLambdaResult {
210
208
  ObjectLambdaAccessPointArn?: string;
@@ -248,10 +246,10 @@ export declare const BucketLocationConstraint: {
248
246
  export type BucketLocationConstraint =
249
247
  (typeof BucketLocationConstraint)[keyof typeof BucketLocationConstraint];
250
248
  export interface CreateBucketConfiguration {
251
- LocationConstraint?: BucketLocationConstraint | string;
249
+ LocationConstraint?: BucketLocationConstraint;
252
250
  }
253
251
  export interface CreateBucketRequest {
254
- ACL?: BucketCannedACL | string;
252
+ ACL?: BucketCannedACL;
255
253
  Bucket: string | undefined;
256
254
  CreateBucketConfiguration?: CreateBucketConfiguration;
257
255
  GrantFullControl?: string;
@@ -294,8 +292,8 @@ export declare const JobManifestFormat: {
294
292
  export type JobManifestFormat =
295
293
  (typeof JobManifestFormat)[keyof typeof JobManifestFormat];
296
294
  export interface JobManifestSpec {
297
- Format: JobManifestFormat | string | undefined;
298
- Fields?: (JobManifestFieldName | string)[];
295
+ Format: JobManifestFormat | undefined;
296
+ Fields?: JobManifestFieldName[];
299
297
  }
300
298
  export interface JobManifest {
301
299
  Spec: JobManifestSpec | undefined;
@@ -313,7 +311,7 @@ export interface JobManifestGeneratorFilter {
313
311
  EligibleForReplication?: boolean;
314
312
  CreatedAfter?: Date;
315
313
  CreatedBefore?: Date;
316
- ObjectReplicationStatuses?: (ReplicationStatus | string)[];
314
+ ObjectReplicationStatuses?: ReplicationStatus[];
317
315
  }
318
316
  export interface SSEKMSEncryption {
319
317
  KeyId: string | undefined;
@@ -333,7 +331,7 @@ export interface S3ManifestOutputLocation {
333
331
  Bucket: string | undefined;
334
332
  ManifestPrefix?: string;
335
333
  ManifestEncryption?: GeneratedManifestEncryption;
336
- ManifestFormat: GeneratedManifestFormat | string | undefined;
334
+ ManifestFormat: GeneratedManifestFormat | undefined;
337
335
  }
338
336
  export interface S3JobManifestGenerator {
339
337
  ExpectedBucketOwner?: string;
@@ -372,7 +370,7 @@ export type S3GlacierJobTier =
372
370
  (typeof S3GlacierJobTier)[keyof typeof S3GlacierJobTier];
373
371
  export interface S3InitiateRestoreObjectOperation {
374
372
  ExpirationInDays?: number;
375
- GlacierJobTier?: S3GlacierJobTier | string;
373
+ GlacierJobTier?: S3GlacierJobTier;
376
374
  }
377
375
  export declare const S3GranteeTypeIdentifier: {
378
376
  readonly CANONICAL: "id";
@@ -382,7 +380,7 @@ export declare const S3GranteeTypeIdentifier: {
382
380
  export type S3GranteeTypeIdentifier =
383
381
  (typeof S3GranteeTypeIdentifier)[keyof typeof S3GranteeTypeIdentifier];
384
382
  export interface S3Grantee {
385
- TypeIdentifier?: S3GranteeTypeIdentifier | string;
383
+ TypeIdentifier?: S3GranteeTypeIdentifier;
386
384
  Identifier?: string;
387
385
  DisplayName?: string;
388
386
  }
@@ -396,7 +394,7 @@ export declare const S3Permission: {
396
394
  export type S3Permission = (typeof S3Permission)[keyof typeof S3Permission];
397
395
  export interface S3Grant {
398
396
  Grantee?: S3Grantee;
399
- Permission?: S3Permission | string;
397
+ Permission?: S3Permission;
400
398
  }
401
399
  export interface S3ObjectOwner {
402
400
  ID?: string;
@@ -419,7 +417,7 @@ export type S3CannedAccessControlList =
419
417
  (typeof S3CannedAccessControlList)[keyof typeof S3CannedAccessControlList];
420
418
  export interface S3AccessControlPolicy {
421
419
  AccessControlList?: S3AccessControlList;
422
- CannedAccessControlList?: S3CannedAccessControlList | string;
420
+ CannedAccessControlList?: S3CannedAccessControlList;
423
421
  }
424
422
  export interface S3SetObjectAclOperation {
425
423
  AccessControlPolicy?: S3AccessControlPolicy;
@@ -455,7 +453,7 @@ export interface S3ObjectMetadata {
455
453
  ContentType?: string;
456
454
  HttpExpiresDate?: Date;
457
455
  RequesterCharged?: boolean;
458
- SSEAlgorithm?: S3SSEAlgorithm | string;
456
+ SSEAlgorithm?: S3SSEAlgorithm;
459
457
  }
460
458
  export interface S3Tag {
461
459
  Key: string | undefined;
@@ -486,26 +484,26 @@ export type S3StorageClass =
486
484
  (typeof S3StorageClass)[keyof typeof S3StorageClass];
487
485
  export interface S3CopyObjectOperation {
488
486
  TargetResource?: string;
489
- CannedAccessControlList?: S3CannedAccessControlList | string;
487
+ CannedAccessControlList?: S3CannedAccessControlList;
490
488
  AccessControlGrants?: S3Grant[];
491
- MetadataDirective?: S3MetadataDirective | string;
489
+ MetadataDirective?: S3MetadataDirective;
492
490
  ModifiedSinceConstraint?: Date;
493
491
  NewObjectMetadata?: S3ObjectMetadata;
494
492
  NewObjectTagging?: S3Tag[];
495
493
  RedirectLocation?: string;
496
494
  RequesterPays?: boolean;
497
- StorageClass?: S3StorageClass | string;
495
+ StorageClass?: S3StorageClass;
498
496
  UnModifiedSinceConstraint?: Date;
499
497
  SSEAwsKmsKeyId?: string;
500
498
  TargetKeyPrefix?: string;
501
- ObjectLockLegalHoldStatus?: S3ObjectLockLegalHoldStatus | string;
502
- ObjectLockMode?: S3ObjectLockMode | string;
499
+ ObjectLockLegalHoldStatus?: S3ObjectLockLegalHoldStatus;
500
+ ObjectLockMode?: S3ObjectLockMode;
503
501
  ObjectLockRetainUntilDate?: Date;
504
502
  BucketKeyEnabled?: boolean;
505
- ChecksumAlgorithm?: S3ChecksumAlgorithm | string;
503
+ ChecksumAlgorithm?: S3ChecksumAlgorithm;
506
504
  }
507
505
  export interface S3ObjectLockLegalHold {
508
- Status: S3ObjectLockLegalHoldStatus | string | undefined;
506
+ Status: S3ObjectLockLegalHoldStatus | undefined;
509
507
  }
510
508
  export interface S3SetObjectLegalHoldOperation {
511
509
  LegalHold: S3ObjectLockLegalHold | undefined;
@@ -518,7 +516,7 @@ export type S3ObjectLockRetentionMode =
518
516
  (typeof S3ObjectLockRetentionMode)[keyof typeof S3ObjectLockRetentionMode];
519
517
  export interface S3Retention {
520
518
  RetainUntilDate?: Date;
521
- Mode?: S3ObjectLockRetentionMode | string;
519
+ Mode?: S3ObjectLockRetentionMode;
522
520
  }
523
521
  export interface S3SetObjectRetentionOperation {
524
522
  BypassGovernanceRetention?: boolean;
@@ -552,10 +550,10 @@ export type JobReportScope =
552
550
  (typeof JobReportScope)[keyof typeof JobReportScope];
553
551
  export interface JobReport {
554
552
  Bucket?: string;
555
- Format?: JobReportFormat | string;
553
+ Format?: JobReportFormat;
556
554
  Enabled: boolean | undefined;
557
555
  Prefix?: string;
558
- ReportScope?: JobReportScope | string;
556
+ ReportScope?: JobReportScope;
559
557
  }
560
558
  export interface CreateJobRequest {
561
559
  AccountId?: string;
@@ -681,7 +679,7 @@ export interface JobFailure {
681
679
  FailureReason?: string;
682
680
  }
683
681
  export interface S3GeneratedManifestDescriptor {
684
- Format?: GeneratedManifestFormat | string;
682
+ Format?: GeneratedManifestFormat;
685
683
  Location?: JobManifestLocation;
686
684
  }
687
685
  export interface JobTimers {
@@ -714,7 +712,7 @@ export interface JobDescriptor {
714
712
  ConfirmationRequired?: boolean;
715
713
  Description?: string;
716
714
  JobArn?: string;
717
- Status?: JobStatus | string;
715
+ Status?: JobStatus;
718
716
  Manifest?: JobManifest;
719
717
  Operation?: JobOperation;
720
718
  Priority?: number;
@@ -747,7 +745,7 @@ export interface GetAccessPointRequest {
747
745
  export interface GetAccessPointResult {
748
746
  Name?: string;
749
747
  Bucket?: string;
750
- NetworkOrigin?: NetworkOrigin | string;
748
+ NetworkOrigin?: NetworkOrigin;
751
749
  VpcConfiguration?: VpcConfiguration;
752
750
  PublicAccessBlockConfiguration?: PublicAccessBlockConfiguration;
753
751
  CreationDate?: Date;
@@ -850,7 +848,7 @@ export type TransitionStorageClass =
850
848
  (typeof TransitionStorageClass)[keyof typeof TransitionStorageClass];
851
849
  export interface NoncurrentVersionTransition {
852
850
  NoncurrentDays?: number;
853
- StorageClass?: TransitionStorageClass | string;
851
+ StorageClass?: TransitionStorageClass;
854
852
  }
855
853
  export declare const ExpirationStatus: {
856
854
  readonly Disabled: "Disabled";
@@ -861,13 +859,13 @@ export type ExpirationStatus =
861
859
  export interface Transition {
862
860
  Date?: Date;
863
861
  Days?: number;
864
- StorageClass?: TransitionStorageClass | string;
862
+ StorageClass?: TransitionStorageClass;
865
863
  }
866
864
  export interface LifecycleRule {
867
865
  Expiration?: LifecycleExpiration;
868
866
  ID?: string;
869
867
  Filter?: LifecycleRuleFilter;
870
- Status: ExpirationStatus | string | undefined;
868
+ Status: ExpirationStatus | undefined;
871
869
  Transitions?: Transition[];
872
870
  NoncurrentVersionTransitions?: NoncurrentVersionTransition[];
873
871
  NoncurrentVersionExpiration?: NoncurrentVersionExpiration;
@@ -894,7 +892,7 @@ export declare const DeleteMarkerReplicationStatus: {
894
892
  export type DeleteMarkerReplicationStatus =
895
893
  (typeof DeleteMarkerReplicationStatus)[keyof typeof DeleteMarkerReplicationStatus];
896
894
  export interface DeleteMarkerReplication {
897
- Status: DeleteMarkerReplicationStatus | string | undefined;
895
+ Status: DeleteMarkerReplicationStatus | undefined;
898
896
  }
899
897
  export interface EncryptionConfiguration {
900
898
  ReplicaKmsKeyID?: string;
@@ -908,7 +906,7 @@ export declare const MetricsStatus: {
908
906
  };
909
907
  export type MetricsStatus = (typeof MetricsStatus)[keyof typeof MetricsStatus];
910
908
  export interface Metrics {
911
- Status: MetricsStatus | string | undefined;
909
+ Status: MetricsStatus | undefined;
912
910
  EventThreshold?: ReplicationTimeValue;
913
911
  }
914
912
  export declare const ReplicationTimeStatus: {
@@ -918,7 +916,7 @@ export declare const ReplicationTimeStatus: {
918
916
  export type ReplicationTimeStatus =
919
917
  (typeof ReplicationTimeStatus)[keyof typeof ReplicationTimeStatus];
920
918
  export interface ReplicationTime {
921
- Status: ReplicationTimeStatus | string | undefined;
919
+ Status: ReplicationTimeStatus | undefined;
922
920
  Time: ReplicationTimeValue | undefined;
923
921
  }
924
922
  export declare const ReplicationStorageClass: {
@@ -941,7 +939,7 @@ export interface Destination {
941
939
  AccessControlTranslation?: AccessControlTranslation;
942
940
  EncryptionConfiguration?: EncryptionConfiguration;
943
941
  Metrics?: Metrics;
944
- StorageClass?: ReplicationStorageClass | string;
942
+ StorageClass?: ReplicationStorageClass;
945
943
  }
946
944
  export declare const ExistingObjectReplicationStatus: {
947
945
  readonly Disabled: "Disabled";
@@ -950,7 +948,7 @@ export declare const ExistingObjectReplicationStatus: {
950
948
  export type ExistingObjectReplicationStatus =
951
949
  (typeof ExistingObjectReplicationStatus)[keyof typeof ExistingObjectReplicationStatus];
952
950
  export interface ExistingObjectReplication {
953
- Status: ExistingObjectReplicationStatus | string | undefined;
951
+ Status: ExistingObjectReplicationStatus | undefined;
954
952
  }
955
953
  export interface ReplicationRuleAndOperator {
956
954
  Prefix?: string;
@@ -968,7 +966,7 @@ export declare const ReplicaModificationsStatus: {
968
966
  export type ReplicaModificationsStatus =
969
967
  (typeof ReplicaModificationsStatus)[keyof typeof ReplicaModificationsStatus];
970
968
  export interface ReplicaModifications {
971
- Status: ReplicaModificationsStatus | string | undefined;
969
+ Status: ReplicaModificationsStatus | undefined;
972
970
  }
973
971
  export declare const SseKmsEncryptedObjectsStatus: {
974
972
  readonly Disabled: "Disabled";
@@ -977,7 +975,7 @@ export declare const SseKmsEncryptedObjectsStatus: {
977
975
  export type SseKmsEncryptedObjectsStatus =
978
976
  (typeof SseKmsEncryptedObjectsStatus)[keyof typeof SseKmsEncryptedObjectsStatus];
979
977
  export interface SseKmsEncryptedObjects {
980
- Status: SseKmsEncryptedObjectsStatus | string | undefined;
978
+ Status: SseKmsEncryptedObjectsStatus | undefined;
981
979
  }
982
980
  export interface SourceSelectionCriteria {
983
981
  SseKmsEncryptedObjects?: SseKmsEncryptedObjects;
@@ -994,7 +992,7 @@ export interface ReplicationRule {
994
992
  Priority?: number;
995
993
  Prefix?: string;
996
994
  Filter?: ReplicationRuleFilter;
997
- Status: ReplicationRuleStatus | string | undefined;
995
+ Status: ReplicationRuleStatus | undefined;
998
996
  SourceSelectionCriteria?: SourceSelectionCriteria;
999
997
  ExistingObjectReplication?: ExistingObjectReplication;
1000
998
  Destination: Destination | undefined;
@@ -1032,8 +1030,8 @@ export declare const BucketVersioningStatus: {
1032
1030
  export type BucketVersioningStatus =
1033
1031
  (typeof BucketVersioningStatus)[keyof typeof BucketVersioningStatus];
1034
1032
  export interface GetBucketVersioningResult {
1035
- Status?: BucketVersioningStatus | string;
1036
- MFADelete?: MFADeleteStatus | string;
1033
+ Status?: BucketVersioningStatus;
1034
+ MFADelete?: MFADeleteStatus;
1037
1035
  }
1038
1036
  export interface GetJobTaggingRequest {
1039
1037
  AccountId?: string;
@@ -1066,7 +1064,7 @@ export interface MultiRegionAccessPointReport {
1066
1064
  Alias?: string;
1067
1065
  CreatedAt?: Date;
1068
1066
  PublicAccessBlock?: PublicAccessBlockConfiguration;
1069
- Status?: MultiRegionAccessPointStatus | string;
1067
+ Status?: MultiRegionAccessPointStatus;
1070
1068
  Regions?: RegionReport[];
1071
1069
  }
1072
1070
  export interface GetMultiRegionAccessPointResult {
@@ -1155,8 +1153,8 @@ export declare const OutputSchemaVersion: {
1155
1153
  export type OutputSchemaVersion =
1156
1154
  (typeof OutputSchemaVersion)[keyof typeof OutputSchemaVersion];
1157
1155
  export interface S3BucketDestination {
1158
- Format: Format | string | undefined;
1159
- OutputSchemaVersion: OutputSchemaVersion | string | undefined;
1156
+ Format: Format | undefined;
1157
+ OutputSchemaVersion: OutputSchemaVersion | undefined;
1160
1158
  AccountId?: string;
1161
1159
  Arn: string | undefined;
1162
1160
  Prefix?: string;
@@ -1240,7 +1238,7 @@ export declare class InvalidRequestException extends __BaseException {
1240
1238
  }
1241
1239
  export interface ListJobsRequest {
1242
1240
  AccountId?: string;
1243
- JobStatuses?: (JobStatus | string)[];
1241
+ JobStatuses?: JobStatus[];
1244
1242
  NextToken?: string;
1245
1243
  MaxResults?: number;
1246
1244
  }
@@ -1259,9 +1257,9 @@ export type OperationName = (typeof OperationName)[keyof typeof OperationName];
1259
1257
  export interface JobListDescriptor {
1260
1258
  JobId?: string;
1261
1259
  Description?: string;
1262
- Operation?: OperationName | string;
1260
+ Operation?: OperationName;
1263
1261
  Priority?: number;
1264
- Status?: JobStatus | string;
1262
+ Status?: JobStatus;
1265
1263
  CreationTime?: Date;
1266
1264
  TerminationDate?: Date;
1267
1265
  ProgressSummary?: JobProgressSummary;
@@ -1358,8 +1356,8 @@ export declare const MFADelete: {
1358
1356
  };
1359
1357
  export type MFADelete = (typeof MFADelete)[keyof typeof MFADelete];
1360
1358
  export interface VersioningConfiguration {
1361
- MFADelete?: MFADelete | string;
1362
- Status?: BucketVersioningStatus | string;
1359
+ MFADelete?: MFADelete;
1360
+ Status?: BucketVersioningStatus;
1363
1361
  }
1364
1362
  export interface PutBucketVersioningRequest {
1365
1363
  AccountId?: string;
@@ -1435,11 +1433,11 @@ export type RequestedJobStatus =
1435
1433
  export interface UpdateJobStatusRequest {
1436
1434
  AccountId?: string;
1437
1435
  JobId: string | undefined;
1438
- RequestedJobStatus: RequestedJobStatus | string | undefined;
1436
+ RequestedJobStatus: RequestedJobStatus | undefined;
1439
1437
  StatusUpdateReason?: string;
1440
1438
  }
1441
1439
  export interface UpdateJobStatusResult {
1442
1440
  JobId?: string;
1443
- Status?: JobStatus | string;
1441
+ Status?: JobStatus;
1444
1442
  StatusUpdateReason?: string;
1445
1443
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-s3-control",
3
3
  "description": "AWS SDK for JavaScript S3 Control Client for Node.js, Browser and React Native",
4
- "version": "3.428.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",
@@ -23,9 +23,9 @@
23
23
  "dependencies": {
24
24
  "@aws-crypto/sha256-browser": "3.0.0",
25
25
  "@aws-crypto/sha256-js": "3.0.0",
26
- "@aws-sdk/client-sts": "3.428.0",
27
- "@aws-sdk/credential-provider-node": "3.428.0",
28
- "@aws-sdk/middleware-host-header": "3.428.0",
26
+ "@aws-sdk/client-sts": "3.429.0",
27
+ "@aws-sdk/credential-provider-node": "3.429.0",
28
+ "@aws-sdk/middleware-host-header": "3.429.0",
29
29
  "@aws-sdk/middleware-logger": "3.428.0",
30
30
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
31
31
  "@aws-sdk/middleware-sdk-s3-control": "3.428.0",
@@ -46,7 +46,7 @@
46
46
  "@smithy/md5-js": "^2.0.11",
47
47
  "@smithy/middleware-apply-body-checksum": "^2.0.13",
48
48
  "@smithy/middleware-content-length": "^2.0.13",
49
- "@smithy/middleware-endpoint": "^2.1.0",
49
+ "@smithy/middleware-endpoint": "^2.1.1",
50
50
  "@smithy/middleware-retry": "^2.0.16",
51
51
  "@smithy/middleware-serde": "^2.0.11",
52
52
  "@smithy/middleware-stack": "^2.0.5",