@aws-sdk/client-s3-control 3.288.0 → 3.290.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/dist-cjs/S3Control.js +45 -0
- package/dist-cjs/commands/DeleteBucketReplicationCommand.js +52 -0
- package/dist-cjs/commands/GetBucketReplicationCommand.js +52 -0
- package/dist-cjs/commands/PutBucketReplicationCommand.js +54 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/endpoint/ruleset.js +2 -2
- package/dist-cjs/models/models_0.js +133 -5
- package/dist-cjs/protocols/Aws_restXml.js +654 -3
- package/dist-es/S3Control.js +45 -0
- package/dist-es/commands/DeleteBucketReplicationCommand.js +48 -0
- package/dist-es/commands/GetBucketReplicationCommand.js +48 -0
- package/dist-es/commands/PutBucketReplicationCommand.js +50 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/endpoint/ruleset.js +2 -2
- package/dist-es/models/models_0.js +108 -0
- package/dist-es/protocols/Aws_restXml.js +645 -0
- package/dist-types/S3Control.d.ts +222 -29
- package/dist-types/S3ControlClient.d.ts +5 -2
- package/dist-types/commands/CreateAccessPointCommand.d.ts +1 -0
- package/dist-types/commands/CreateAccessPointForObjectLambdaCommand.d.ts +1 -0
- package/dist-types/commands/CreateBucketCommand.d.ts +9 -0
- package/dist-types/commands/CreateJobCommand.d.ts +13 -0
- package/dist-types/commands/CreateMultiRegionAccessPointCommand.d.ts +1 -0
- package/dist-types/commands/DeleteAccessPointCommand.d.ts +1 -0
- package/dist-types/commands/DeleteAccessPointForObjectLambdaCommand.d.ts +1 -0
- package/dist-types/commands/DeleteAccessPointPolicyCommand.d.ts +1 -0
- package/dist-types/commands/DeleteAccessPointPolicyForObjectLambdaCommand.d.ts +1 -0
- package/dist-types/commands/DeleteBucketCommand.d.ts +1 -0
- package/dist-types/commands/DeleteBucketLifecycleConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +1 -0
- package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +78 -0
- package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +1 -0
- package/dist-types/commands/DeleteJobTaggingCommand.d.ts +14 -3
- package/dist-types/commands/DeleteMultiRegionAccessPointCommand.d.ts +1 -0
- package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +1 -0
- package/dist-types/commands/DeleteStorageLensConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/DeleteStorageLensConfigurationTaggingCommand.d.ts +1 -0
- package/dist-types/commands/DescribeJobCommand.d.ts +13 -0
- package/dist-types/commands/DescribeMultiRegionAccessPointOperationCommand.d.ts +1 -0
- package/dist-types/commands/GetAccessPointCommand.d.ts +1 -0
- package/dist-types/commands/GetAccessPointConfigurationForObjectLambdaCommand.d.ts +1 -0
- package/dist-types/commands/GetAccessPointForObjectLambdaCommand.d.ts +1 -0
- package/dist-types/commands/GetAccessPointPolicyCommand.d.ts +1 -0
- package/dist-types/commands/GetAccessPointPolicyForObjectLambdaCommand.d.ts +1 -0
- package/dist-types/commands/GetAccessPointPolicyStatusCommand.d.ts +1 -0
- package/dist-types/commands/GetAccessPointPolicyStatusForObjectLambdaCommand.d.ts +1 -0
- package/dist-types/commands/GetBucketCommand.d.ts +1 -0
- package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/GetBucketPolicyCommand.d.ts +1 -0
- package/dist-types/commands/GetBucketReplicationCommand.d.ts +85 -0
- package/dist-types/commands/GetBucketTaggingCommand.d.ts +1 -0
- package/dist-types/commands/GetBucketVersioningCommand.d.ts +12 -6
- package/dist-types/commands/GetJobTaggingCommand.d.ts +14 -3
- package/dist-types/commands/GetMultiRegionAccessPointCommand.d.ts +1 -0
- package/dist-types/commands/GetMultiRegionAccessPointPolicyCommand.d.ts +1 -0
- package/dist-types/commands/GetMultiRegionAccessPointPolicyStatusCommand.d.ts +1 -0
- package/dist-types/commands/GetMultiRegionAccessPointRoutesCommand.d.ts +1 -0
- package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +6 -0
- package/dist-types/commands/GetStorageLensConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/GetStorageLensConfigurationTaggingCommand.d.ts +1 -0
- package/dist-types/commands/ListAccessPointsCommand.d.ts +9 -4
- package/dist-types/commands/ListAccessPointsForObjectLambdaCommand.d.ts +1 -0
- package/dist-types/commands/ListJobsCommand.d.ts +10 -0
- package/dist-types/commands/ListMultiRegionAccessPointsCommand.d.ts +1 -0
- package/dist-types/commands/ListRegionalBucketsCommand.d.ts +1 -0
- package/dist-types/commands/ListStorageLensConfigurationsCommand.d.ts +1 -0
- package/dist-types/commands/PutAccessPointConfigurationForObjectLambdaCommand.d.ts +1 -0
- package/dist-types/commands/PutAccessPointPolicyCommand.d.ts +1 -0
- package/dist-types/commands/PutAccessPointPolicyForObjectLambdaCommand.d.ts +1 -0
- package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/PutBucketPolicyCommand.d.ts +1 -0
- package/dist-types/commands/PutBucketReplicationCommand.d.ts +122 -0
- package/dist-types/commands/PutBucketTaggingCommand.d.ts +1 -0
- package/dist-types/commands/PutBucketVersioningCommand.d.ts +16 -9
- package/dist-types/commands/PutJobTaggingCommand.d.ts +17 -2
- package/dist-types/commands/PutMultiRegionAccessPointPolicyCommand.d.ts +1 -0
- package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -0
- package/dist-types/commands/PutStorageLensConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/PutStorageLensConfigurationTaggingCommand.d.ts +1 -0
- package/dist-types/commands/SubmitMultiRegionAccessPointRoutesCommand.d.ts +1 -0
- package/dist-types/commands/UpdateJobPriorityCommand.d.ts +13 -0
- package/dist-types/commands/UpdateJobStatusCommand.d.ts +16 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +680 -73
- package/dist-types/protocols/Aws_restXml.d.ts +9 -0
- package/dist-types/ts3.4/S3Control.d.ts +51 -0
- package/dist-types/ts3.4/S3ControlClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +180 -0
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +36 -0
- package/package.json +34 -34
|
@@ -10,6 +10,21 @@ export interface AbortIncompleteMultipartUpload {
|
|
|
10
10
|
*/
|
|
11
11
|
DaysAfterInitiation?: number;
|
|
12
12
|
}
|
|
13
|
+
export declare enum OwnerOverride {
|
|
14
|
+
Destination = "Destination"
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* <p>A container for information about access control for replicas.</p>
|
|
18
|
+
* <note>
|
|
19
|
+
* <p>This is not supported by Amazon S3 on Outposts buckets.</p>
|
|
20
|
+
* </note>
|
|
21
|
+
*/
|
|
22
|
+
export interface AccessControlTranslation {
|
|
23
|
+
/**
|
|
24
|
+
* <p>Specifies the replica ownership.</p>
|
|
25
|
+
*/
|
|
26
|
+
Owner: OwnerOverride | string | undefined;
|
|
27
|
+
}
|
|
13
28
|
export declare enum NetworkOrigin {
|
|
14
29
|
Internet = "Internet",
|
|
15
30
|
VPC = "VPC"
|
|
@@ -67,9 +82,9 @@ export interface AccessPoint {
|
|
|
67
82
|
BucketAccountId?: string;
|
|
68
83
|
}
|
|
69
84
|
/**
|
|
70
|
-
* <p>The container element for Amazon S3 Storage Lens activity metrics. Activity metrics show details
|
|
71
|
-
* how your storage is requested, such as requests (for example, All requests, Get
|
|
72
|
-
* Put requests), bytes uploaded or downloaded, and errors.</p>
|
|
85
|
+
* <p>The container element for Amazon S3 Storage Lens activity metrics. Activity metrics show details
|
|
86
|
+
* about how your storage is requested, such as requests (for example, All requests, Get
|
|
87
|
+
* requests, Put requests), bytes uploaded or downloaded, and errors.</p>
|
|
73
88
|
* <p>For more information about S3 Storage Lens, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens.html">Assessing your storage activity and usage with S3 Storage Lens</a> in the <i>Amazon S3 User Guide</i>. For a complete list of S3 Storage Lens metrics, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_metrics_glossary.html">S3 Storage Lens metrics glossary</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
74
89
|
*/
|
|
75
90
|
export interface ActivityMetrics {
|
|
@@ -301,6 +316,11 @@ export interface Region {
|
|
|
301
316
|
* <p>The name of the associated bucket for the Region.</p>
|
|
302
317
|
*/
|
|
303
318
|
Bucket: string | undefined;
|
|
319
|
+
/**
|
|
320
|
+
* <p>The Amazon Web Services account ID that owns the Amazon S3 bucket that's associated with this
|
|
321
|
+
* Multi-Region Access Point.</p>
|
|
322
|
+
*/
|
|
323
|
+
BucketAccountId?: string;
|
|
304
324
|
}
|
|
305
325
|
/**
|
|
306
326
|
* <p>A container for the information associated with a <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateMultiRegionAccessPoint.html">CreateMultiRegionAccessPoint</a> request. </p>
|
|
@@ -453,7 +473,7 @@ export interface CreateAccessPointRequest {
|
|
|
453
473
|
/**
|
|
454
474
|
* <p>The name of the bucket that you want to associate this access point with.</p>
|
|
455
475
|
* <p>For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.</p>
|
|
456
|
-
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name></code>. For example, to access the bucket <code>reports</code> through
|
|
476
|
+
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name></code>. For example, to access the bucket <code>reports</code> through Outpost <code>my-outpost</code> owned by account <code>123456789012</code> in Region <code>us-west-2</code>, use the URL encoding of <code>arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports</code>. The value must be URL encoded. </p>
|
|
457
477
|
*/
|
|
458
478
|
Bucket: string | undefined;
|
|
459
479
|
/**
|
|
@@ -716,7 +736,7 @@ export interface CreateBucketResult {
|
|
|
716
736
|
/**
|
|
717
737
|
* <p>The Amazon Resource Name (ARN) of the bucket.</p>
|
|
718
738
|
* <p>For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.</p>
|
|
719
|
-
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name></code>. For example, to access the bucket <code>reports</code> through
|
|
739
|
+
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name></code>. For example, to access the bucket <code>reports</code> through Outpost <code>my-outpost</code> owned by account <code>123456789012</code> in Region <code>us-west-2</code>, use the URL encoding of <code>arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports</code>. The value must be URL encoded. </p>
|
|
720
740
|
*/
|
|
721
741
|
BucketArn?: string;
|
|
722
742
|
}
|
|
@@ -739,9 +759,10 @@ export interface JobManifestLocation {
|
|
|
739
759
|
/**
|
|
740
760
|
* <p>The Amazon Resource Name (ARN) for a manifest object.</p>
|
|
741
761
|
* <important>
|
|
742
|
-
* <p>
|
|
743
|
-
*
|
|
744
|
-
*
|
|
762
|
+
* <p>When you're using XML requests, you must
|
|
763
|
+
* replace special characters (such as carriage returns) in object keys with their equivalent XML entity codes.
|
|
764
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints">
|
|
765
|
+
* XML-related object key constraints</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
745
766
|
* </important>
|
|
746
767
|
*/
|
|
747
768
|
ObjectArn: string | undefined;
|
|
@@ -943,8 +964,14 @@ export interface LambdaInvokeOperation {
|
|
|
943
964
|
FunctionArn?: string;
|
|
944
965
|
}
|
|
945
966
|
/**
|
|
946
|
-
* <p>Contains no configuration parameters because the DELETE Object tagging
|
|
947
|
-
*
|
|
967
|
+
* <p>Contains no configuration parameters because the DELETE Object tagging
|
|
968
|
+
* (<code>DeleteObjectTagging</code>)
|
|
969
|
+
* API
|
|
970
|
+
* operation
|
|
971
|
+
* accepts
|
|
972
|
+
* only
|
|
973
|
+
* the bucket name and key name as parameters, which are defined in the
|
|
974
|
+
* job's manifest.</p>
|
|
948
975
|
*/
|
|
949
976
|
export interface S3DeleteObjectTaggingOperation {
|
|
950
977
|
}
|
|
@@ -953,9 +980,14 @@ export declare enum S3GlacierJobTier {
|
|
|
953
980
|
STANDARD = "STANDARD"
|
|
954
981
|
}
|
|
955
982
|
/**
|
|
956
|
-
* <p>Contains the configuration parameters for
|
|
957
|
-
*
|
|
958
|
-
*
|
|
983
|
+
* <p>Contains the configuration parameters for
|
|
984
|
+
* a
|
|
985
|
+
* POST Object restore job. S3 Batch Operations passes every object to the
|
|
986
|
+
* underlying
|
|
987
|
+
* <code>RestoreObject</code>
|
|
988
|
+
* API
|
|
989
|
+
* operation. For more information about the parameters for this operation,
|
|
990
|
+
* see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPOSTrestore.html#RESTObjectPOSTrestore-restore-request">RestoreObject</a>.</p>
|
|
959
991
|
*/
|
|
960
992
|
export interface S3InitiateRestoreObjectOperation {
|
|
961
993
|
/**
|
|
@@ -1070,11 +1102,13 @@ export interface S3AccessControlPolicy {
|
|
|
1070
1102
|
CannedAccessControlList?: S3CannedAccessControlList | string;
|
|
1071
1103
|
}
|
|
1072
1104
|
/**
|
|
1073
|
-
* <p>Contains the configuration parameters for a
|
|
1074
|
-
*
|
|
1075
|
-
*
|
|
1076
|
-
*
|
|
1077
|
-
*
|
|
1105
|
+
* <p>Contains the configuration parameters for a
|
|
1106
|
+
* PUT
|
|
1107
|
+
* Object ACL operation. S3 Batch Operations passes every object to the underlying
|
|
1108
|
+
* <code>PutObjectAcl</code>
|
|
1109
|
+
* API
|
|
1110
|
+
* operation. For more information about the parameters for this operation,
|
|
1111
|
+
* see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPUTacl.html">PutObjectAcl</a>.</p>
|
|
1078
1112
|
*/
|
|
1079
1113
|
export interface S3SetObjectAclOperation {
|
|
1080
1114
|
/**
|
|
@@ -1176,16 +1210,22 @@ export declare enum S3StorageClass {
|
|
|
1176
1210
|
STANDARD_IA = "STANDARD_IA"
|
|
1177
1211
|
}
|
|
1178
1212
|
/**
|
|
1179
|
-
* <p>Contains
|
|
1180
|
-
*
|
|
1181
|
-
*
|
|
1213
|
+
* <p>Contains
|
|
1214
|
+
* the configuration parameters for a PUT Copy object operation. S3 Batch Operations passes every
|
|
1215
|
+
* object to the underlying
|
|
1216
|
+
* <code>CopyObject</code>
|
|
1217
|
+
* API
|
|
1218
|
+
* operation. For more information about the parameters for this operation,
|
|
1219
|
+
* see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectCOPY.html">CopyObject</a>.</p>
|
|
1182
1220
|
*/
|
|
1183
1221
|
export interface S3CopyObjectOperation {
|
|
1184
1222
|
/**
|
|
1185
|
-
* <p>Specifies the destination bucket
|
|
1186
|
-
*
|
|
1187
|
-
*
|
|
1188
|
-
*
|
|
1223
|
+
* <p>Specifies the destination bucket
|
|
1224
|
+
* Amazon Resource Name
|
|
1225
|
+
* (ARN)
|
|
1226
|
+
* for the batch copy operation. For example, to copy objects to a bucket named
|
|
1227
|
+
* <code>destinationBucket</code>, set the <code>TargetResource</code> property to
|
|
1228
|
+
* <code>arn:aws:s3:::destinationBucket</code>.</p>
|
|
1189
1229
|
*/
|
|
1190
1230
|
TargetResource?: string;
|
|
1191
1231
|
/**
|
|
@@ -1237,9 +1277,17 @@ export interface S3CopyObjectOperation {
|
|
|
1237
1277
|
*/
|
|
1238
1278
|
SSEAwsKmsKeyId?: string;
|
|
1239
1279
|
/**
|
|
1240
|
-
* <p>Specifies the folder prefix
|
|
1241
|
-
*
|
|
1242
|
-
*
|
|
1280
|
+
* <p>Specifies the folder prefix
|
|
1281
|
+
* that
|
|
1282
|
+
* you
|
|
1283
|
+
* want
|
|
1284
|
+
* the objects to be
|
|
1285
|
+
* copied
|
|
1286
|
+
* into. For example, to copy objects into a folder named
|
|
1287
|
+
* <code>Folder1</code> in the destination bucket, set the
|
|
1288
|
+
* <code>TargetKeyPrefix</code>
|
|
1289
|
+
* property
|
|
1290
|
+
* to <code>Folder1</code>.</p>
|
|
1243
1291
|
*/
|
|
1244
1292
|
TargetKeyPrefix?: string;
|
|
1245
1293
|
/**
|
|
@@ -1264,9 +1312,11 @@ export interface S3CopyObjectOperation {
|
|
|
1264
1312
|
*/
|
|
1265
1313
|
BucketKeyEnabled?: boolean;
|
|
1266
1314
|
/**
|
|
1267
|
-
* <p>Indicates the algorithm
|
|
1268
|
-
*
|
|
1269
|
-
*
|
|
1315
|
+
* <p>Indicates the algorithm
|
|
1316
|
+
* that
|
|
1317
|
+
* you want Amazon S3 to use to create the checksum. For more
|
|
1318
|
+
* information,
|
|
1319
|
+
* 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>
|
|
1270
1320
|
*/
|
|
1271
1321
|
ChecksumAlgorithm?: S3ChecksumAlgorithm | string;
|
|
1272
1322
|
}
|
|
@@ -1283,8 +1333,12 @@ export interface S3ObjectLockLegalHold {
|
|
|
1283
1333
|
}
|
|
1284
1334
|
/**
|
|
1285
1335
|
* <p>Contains the configuration for an S3 Object Lock legal hold operation that an
|
|
1286
|
-
* S3 Batch Operations job passes
|
|
1287
|
-
*
|
|
1336
|
+
* S3 Batch Operations job passes
|
|
1337
|
+
* to
|
|
1338
|
+
* every object to the underlying
|
|
1339
|
+
* <code>PutObjectLegalHold</code>
|
|
1340
|
+
* API
|
|
1341
|
+
* operation. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/batch-ops-legal-hold.html">Using S3 Object Lock legal hold
|
|
1288
1342
|
* with S3 Batch Operations</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1289
1343
|
*/
|
|
1290
1344
|
export interface S3SetObjectLegalHoldOperation {
|
|
@@ -1320,9 +1374,10 @@ export interface S3Retention {
|
|
|
1320
1374
|
/**
|
|
1321
1375
|
* <p>Contains the configuration parameters for the Object Lock retention action for an
|
|
1322
1376
|
* S3 Batch Operations job. Batch Operations passes every object to the underlying
|
|
1323
|
-
* <code>PutObjectRetention</code>
|
|
1324
|
-
*
|
|
1325
|
-
*
|
|
1377
|
+
* <code>PutObjectRetention</code>
|
|
1378
|
+
* API
|
|
1379
|
+
* operation. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/batch-ops-retention-date.html">Using S3 Object Lock retention
|
|
1380
|
+
* with S3 Batch Operations</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1326
1381
|
*/
|
|
1327
1382
|
export interface S3SetObjectRetentionOperation {
|
|
1328
1383
|
/**
|
|
@@ -1338,9 +1393,13 @@ export interface S3SetObjectRetentionOperation {
|
|
|
1338
1393
|
Retention: S3Retention | undefined;
|
|
1339
1394
|
}
|
|
1340
1395
|
/**
|
|
1341
|
-
* <p>Contains the configuration parameters for a
|
|
1342
|
-
*
|
|
1343
|
-
*
|
|
1396
|
+
* <p>Contains the configuration parameters for a
|
|
1397
|
+
* PUT
|
|
1398
|
+
* Object Tagging operation. S3 Batch Operations passes every object to the underlying
|
|
1399
|
+
* <code>PutObjectTagging</code>
|
|
1400
|
+
* API
|
|
1401
|
+
* operation. For more information about the parameters for this operation,
|
|
1402
|
+
* see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPUTtagging.html">PutObjectTagging</a>.</p>
|
|
1344
1403
|
*/
|
|
1345
1404
|
export interface S3SetObjectTaggingOperation {
|
|
1346
1405
|
/**
|
|
@@ -1392,17 +1451,22 @@ export interface JobOperation {
|
|
|
1392
1451
|
S3InitiateRestoreObject?: S3InitiateRestoreObjectOperation;
|
|
1393
1452
|
/**
|
|
1394
1453
|
* <p>Contains the configuration for an S3 Object Lock legal hold operation that an
|
|
1395
|
-
* S3 Batch Operations job passes
|
|
1396
|
-
*
|
|
1454
|
+
* S3 Batch Operations job passes
|
|
1455
|
+
* to
|
|
1456
|
+
* every object to the underlying
|
|
1457
|
+
* <code>PutObjectLegalHold</code>
|
|
1458
|
+
* API
|
|
1459
|
+
* operation. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/batch-ops-legal-hold.html">Using S3 Object Lock legal hold
|
|
1397
1460
|
* with S3 Batch Operations</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1398
1461
|
*/
|
|
1399
1462
|
S3PutObjectLegalHold?: S3SetObjectLegalHoldOperation;
|
|
1400
1463
|
/**
|
|
1401
1464
|
* <p>Contains the configuration parameters for the Object Lock retention action for an
|
|
1402
1465
|
* S3 Batch Operations job. Batch Operations passes every object to the underlying
|
|
1403
|
-
* <code>PutObjectRetention</code>
|
|
1404
|
-
*
|
|
1405
|
-
*
|
|
1466
|
+
* <code>PutObjectRetention</code>
|
|
1467
|
+
* API
|
|
1468
|
+
* operation. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/batch-ops-retention-date.html">Using S3 Object Lock retention
|
|
1469
|
+
* with S3 Batch Operations</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1406
1470
|
*/
|
|
1407
1471
|
S3PutObjectRetention?: S3SetObjectRetentionOperation;
|
|
1408
1472
|
/**
|
|
@@ -1575,7 +1639,7 @@ export interface DeleteAccessPointRequest {
|
|
|
1575
1639
|
/**
|
|
1576
1640
|
* <p>The name of the access point you want to delete.</p>
|
|
1577
1641
|
* <p>For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.</p>
|
|
1578
|
-
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the access point accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name></code>. For example, to access the access point <code>reports-ap</code> through
|
|
1642
|
+
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the access point accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name></code>. For example, to access the access point <code>reports-ap</code> through Outpost <code>my-outpost</code> owned by account <code>123456789012</code> in Region <code>us-west-2</code>, use the URL encoding of <code>arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap</code>. The value must be URL encoded. </p>
|
|
1579
1643
|
*/
|
|
1580
1644
|
Name: string | undefined;
|
|
1581
1645
|
}
|
|
@@ -1597,7 +1661,7 @@ export interface DeleteAccessPointPolicyRequest {
|
|
|
1597
1661
|
/**
|
|
1598
1662
|
* <p>The name of the access point whose policy you want to delete.</p>
|
|
1599
1663
|
* <p>For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.</p>
|
|
1600
|
-
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the access point accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name></code>. For example, to access the access point <code>reports-ap</code> through
|
|
1664
|
+
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the access point accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name></code>. For example, to access the access point <code>reports-ap</code> through Outpost <code>my-outpost</code> owned by account <code>123456789012</code> in Region <code>us-west-2</code>, use the URL encoding of <code>arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap</code>. The value must be URL encoded. </p>
|
|
1601
1665
|
*/
|
|
1602
1666
|
Name: string | undefined;
|
|
1603
1667
|
}
|
|
@@ -1619,7 +1683,7 @@ export interface DeleteBucketRequest {
|
|
|
1619
1683
|
/**
|
|
1620
1684
|
* <p>Specifies the bucket being deleted.</p>
|
|
1621
1685
|
* <p>For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.</p>
|
|
1622
|
-
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name></code>. For example, to access the bucket <code>reports</code> through
|
|
1686
|
+
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name></code>. For example, to access the bucket <code>reports</code> through Outpost <code>my-outpost</code> owned by account <code>123456789012</code> in Region <code>us-west-2</code>, use the URL encoding of <code>arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports</code>. The value must be URL encoded. </p>
|
|
1623
1687
|
*/
|
|
1624
1688
|
Bucket: string | undefined;
|
|
1625
1689
|
}
|
|
@@ -1631,7 +1695,7 @@ export interface DeleteBucketLifecycleConfigurationRequest {
|
|
|
1631
1695
|
/**
|
|
1632
1696
|
* <p>Specifies the bucket.</p>
|
|
1633
1697
|
* <p>For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.</p>
|
|
1634
|
-
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name></code>. For example, to access the bucket <code>reports</code> through
|
|
1698
|
+
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name></code>. For example, to access the bucket <code>reports</code> through Outpost <code>my-outpost</code> owned by account <code>123456789012</code> in Region <code>us-west-2</code>, use the URL encoding of <code>arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports</code>. The value must be URL encoded. </p>
|
|
1635
1699
|
*/
|
|
1636
1700
|
Bucket: string | undefined;
|
|
1637
1701
|
}
|
|
@@ -1643,7 +1707,20 @@ export interface DeleteBucketPolicyRequest {
|
|
|
1643
1707
|
/**
|
|
1644
1708
|
* <p>Specifies the bucket.</p>
|
|
1645
1709
|
* <p>For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.</p>
|
|
1646
|
-
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name></code>. For example, to access the bucket <code>reports</code> through
|
|
1710
|
+
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name></code>. For example, to access the bucket <code>reports</code> through Outpost <code>my-outpost</code> owned by account <code>123456789012</code> in Region <code>us-west-2</code>, use the URL encoding of <code>arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports</code>. The value must be URL encoded. </p>
|
|
1711
|
+
*/
|
|
1712
|
+
Bucket: string | undefined;
|
|
1713
|
+
}
|
|
1714
|
+
export interface DeleteBucketReplicationRequest {
|
|
1715
|
+
/**
|
|
1716
|
+
* <p>The Amazon Web Services account ID of the Outposts bucket to delete the replication configuration
|
|
1717
|
+
* for.</p>
|
|
1718
|
+
*/
|
|
1719
|
+
AccountId?: string;
|
|
1720
|
+
/**
|
|
1721
|
+
* <p>Specifies the S3 on Outposts bucket to delete the replication configuration for.</p>
|
|
1722
|
+
* <p>For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.</p>
|
|
1723
|
+
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name></code>. For example, to access the bucket <code>reports</code> through Outpost <code>my-outpost</code> owned by account <code>123456789012</code> in Region <code>us-west-2</code>, use the URL encoding of <code>arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports</code>. The value must be URL encoded. </p>
|
|
1647
1724
|
*/
|
|
1648
1725
|
Bucket: string | undefined;
|
|
1649
1726
|
}
|
|
@@ -1655,7 +1732,7 @@ export interface DeleteBucketTaggingRequest {
|
|
|
1655
1732
|
/**
|
|
1656
1733
|
* <p>The bucket ARN that has the tag set to be removed.</p>
|
|
1657
1734
|
* <p>For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.</p>
|
|
1658
|
-
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name></code>. For example, to access the bucket <code>reports</code> through
|
|
1735
|
+
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name></code>. For example, to access the bucket <code>reports</code> through Outpost <code>my-outpost</code> owned by account <code>123456789012</code> in Region <code>us-west-2</code>, use the URL encoding of <code>arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports</code>. The value must be URL encoded. </p>
|
|
1659
1736
|
*/
|
|
1660
1737
|
Bucket: string | undefined;
|
|
1661
1738
|
}
|
|
@@ -1945,7 +2022,7 @@ export interface GetAccessPointRequest {
|
|
|
1945
2022
|
/**
|
|
1946
2023
|
* <p>The name of the access point whose configuration information you want to retrieve.</p>
|
|
1947
2024
|
* <p>For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.</p>
|
|
1948
|
-
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the access point accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name></code>. For example, to access the access point <code>reports-ap</code> through
|
|
2025
|
+
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the access point accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name></code>. For example, to access the access point <code>reports-ap</code> through Outpost <code>my-outpost</code> owned by account <code>123456789012</code> in Region <code>us-west-2</code>, use the URL encoding of <code>arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap</code>. The value must be URL encoded. </p>
|
|
1949
2026
|
*/
|
|
1950
2027
|
Name: string | undefined;
|
|
1951
2028
|
}
|
|
@@ -2053,7 +2130,7 @@ export interface GetAccessPointPolicyRequest {
|
|
|
2053
2130
|
/**
|
|
2054
2131
|
* <p>The name of the access point whose policy you want to retrieve.</p>
|
|
2055
2132
|
* <p>For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.</p>
|
|
2056
|
-
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the access point accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name></code>. For example, to access the access point <code>reports-ap</code> through
|
|
2133
|
+
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the access point accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name></code>. For example, to access the access point <code>reports-ap</code> through Outpost <code>my-outpost</code> owned by account <code>123456789012</code> in Region <code>us-west-2</code>, use the URL encoding of <code>arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap</code>. The value must be URL encoded. </p>
|
|
2057
2134
|
*/
|
|
2058
2135
|
Name: string | undefined;
|
|
2059
2136
|
}
|
|
@@ -2130,7 +2207,7 @@ export interface GetBucketRequest {
|
|
|
2130
2207
|
/**
|
|
2131
2208
|
* <p>Specifies the bucket.</p>
|
|
2132
2209
|
* <p>For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.</p>
|
|
2133
|
-
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name></code>. For example, to access the bucket <code>reports</code> through
|
|
2210
|
+
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name></code>. For example, to access the bucket <code>reports</code> through Outpost <code>my-outpost</code> owned by account <code>123456789012</code> in Region <code>us-west-2</code>, use the URL encoding of <code>arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports</code>. The value must be URL encoded. </p>
|
|
2134
2211
|
*/
|
|
2135
2212
|
Bucket: string | undefined;
|
|
2136
2213
|
}
|
|
@@ -2156,7 +2233,7 @@ export interface GetBucketLifecycleConfigurationRequest {
|
|
|
2156
2233
|
/**
|
|
2157
2234
|
* <p>The Amazon Resource Name (ARN) of the bucket.</p>
|
|
2158
2235
|
* <p>For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.</p>
|
|
2159
|
-
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name></code>. For example, to access the bucket <code>reports</code> through
|
|
2236
|
+
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name></code>. For example, to access the bucket <code>reports</code> through Outpost <code>my-outpost</code> owned by account <code>123456789012</code> in Region <code>us-west-2</code>, use the URL encoding of <code>arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports</code>. The value must be URL encoded. </p>
|
|
2160
2237
|
*/
|
|
2161
2238
|
Bucket: string | undefined;
|
|
2162
2239
|
}
|
|
@@ -2210,9 +2287,10 @@ export interface LifecycleRuleFilter {
|
|
|
2210
2287
|
/**
|
|
2211
2288
|
* <p>Prefix identifying one or more objects to which the rule applies.</p>
|
|
2212
2289
|
* <important>
|
|
2213
|
-
* <p>
|
|
2214
|
-
*
|
|
2215
|
-
*
|
|
2290
|
+
* <p>When you're using XML requests, you must
|
|
2291
|
+
* replace special characters (such as carriage returns) in object keys with their equivalent XML entity codes.
|
|
2292
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints">
|
|
2293
|
+
* XML-related object key constraints</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
2216
2294
|
* </important>
|
|
2217
2295
|
*/
|
|
2218
2296
|
Prefix?: string;
|
|
@@ -2245,9 +2323,9 @@ export interface NoncurrentVersionExpiration {
|
|
|
2245
2323
|
*/
|
|
2246
2324
|
NoncurrentDays?: number;
|
|
2247
2325
|
/**
|
|
2248
|
-
* <p>Specifies how many noncurrent versions S3 on Outposts will retain. If there are this many
|
|
2249
|
-
* recent noncurrent versions, S3 on Outposts will take the associated action. For more
|
|
2250
|
-
* about noncurrent versions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html">Lifecycle configuration
|
|
2326
|
+
* <p>Specifies how many noncurrent versions S3 on Outposts will retain. If there are this many
|
|
2327
|
+
* more recent noncurrent versions, S3 on Outposts will take the associated action. For more
|
|
2328
|
+
* information about noncurrent versions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html">Lifecycle configuration
|
|
2251
2329
|
* elements</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
2252
2330
|
*/
|
|
2253
2331
|
NewerNoncurrentVersions?: number;
|
|
@@ -2367,7 +2445,7 @@ export interface GetBucketPolicyRequest {
|
|
|
2367
2445
|
/**
|
|
2368
2446
|
* <p>Specifies the bucket.</p>
|
|
2369
2447
|
* <p>For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.</p>
|
|
2370
|
-
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name></code>. For example, to access the bucket <code>reports</code> through
|
|
2448
|
+
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name></code>. For example, to access the bucket <code>reports</code> through Outpost <code>my-outpost</code> owned by account <code>123456789012</code> in Region <code>us-west-2</code>, use the URL encoding of <code>arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports</code>. The value must be URL encoded. </p>
|
|
2371
2449
|
*/
|
|
2372
2450
|
Bucket: string | undefined;
|
|
2373
2451
|
}
|
|
@@ -2377,6 +2455,440 @@ export interface GetBucketPolicyResult {
|
|
|
2377
2455
|
*/
|
|
2378
2456
|
Policy?: string;
|
|
2379
2457
|
}
|
|
2458
|
+
export interface GetBucketReplicationRequest {
|
|
2459
|
+
/**
|
|
2460
|
+
* <p>The Amazon Web Services account ID of the Outposts bucket.</p>
|
|
2461
|
+
*/
|
|
2462
|
+
AccountId?: string;
|
|
2463
|
+
/**
|
|
2464
|
+
* <p>Specifies the bucket to get the replication information for.</p>
|
|
2465
|
+
* <p>For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.</p>
|
|
2466
|
+
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name></code>. For example, to access the bucket <code>reports</code> through Outpost <code>my-outpost</code> owned by account <code>123456789012</code> in Region <code>us-west-2</code>, use the URL encoding of <code>arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports</code>. The value must be URL encoded. </p>
|
|
2467
|
+
*/
|
|
2468
|
+
Bucket: string | undefined;
|
|
2469
|
+
}
|
|
2470
|
+
export declare enum DeleteMarkerReplicationStatus {
|
|
2471
|
+
Disabled = "Disabled",
|
|
2472
|
+
Enabled = "Enabled"
|
|
2473
|
+
}
|
|
2474
|
+
/**
|
|
2475
|
+
* <p>Specifies whether S3 on Outposts replicates delete markers. If you specify a
|
|
2476
|
+
* <code>Filter</code> element in your replication configuration, you must also include a
|
|
2477
|
+
* <code>DeleteMarkerReplication</code> element. If your <code>Filter</code> includes a
|
|
2478
|
+
* <code>Tag</code> element, the <code>DeleteMarkerReplication</code> element's
|
|
2479
|
+
* <code>Status</code> child element must be set to <code>Disabled</code>, because
|
|
2480
|
+
* S3 on Outposts does not support replicating delete markers for tag-based rules.</p>
|
|
2481
|
+
* <p>For more information about delete marker replication, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsReplication.html#outposts-replication-what-is-replicated">How delete operations affect replication</a> in the <i>Amazon S3 User Guide</i>. </p>
|
|
2482
|
+
*/
|
|
2483
|
+
export interface DeleteMarkerReplication {
|
|
2484
|
+
/**
|
|
2485
|
+
* <p>Indicates whether to replicate delete markers.</p>
|
|
2486
|
+
*/
|
|
2487
|
+
Status: DeleteMarkerReplicationStatus | string | undefined;
|
|
2488
|
+
}
|
|
2489
|
+
/**
|
|
2490
|
+
* <p>Specifies encryption-related information for an Amazon S3 bucket that is a destination for
|
|
2491
|
+
* replicated objects.</p>
|
|
2492
|
+
* <note>
|
|
2493
|
+
* <p>This is not supported by Amazon S3 on Outposts buckets.</p>
|
|
2494
|
+
* </note>
|
|
2495
|
+
*/
|
|
2496
|
+
export interface EncryptionConfiguration {
|
|
2497
|
+
/**
|
|
2498
|
+
* <p>Specifies the ID of the customer managed KMS key that's stored in Key Management Service (KMS)
|
|
2499
|
+
* for the destination bucket. This ID is either the Amazon Resource Name (ARN) for the
|
|
2500
|
+
* KMS key or the alias ARN for the KMS key. Amazon S3 uses this KMS key to encrypt
|
|
2501
|
+
* replica objects. Amazon S3 supports only symmetric encryption KMS keys. For more information,
|
|
2502
|
+
* see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#symmetric-cmks">Symmetric encryption
|
|
2503
|
+
* KMS keys</a> in the <i>Amazon Web Services Key Management Service Developer
|
|
2504
|
+
* Guide</i>.</p>
|
|
2505
|
+
*/
|
|
2506
|
+
ReplicaKmsKeyID?: string;
|
|
2507
|
+
}
|
|
2508
|
+
/**
|
|
2509
|
+
* <p>A container that specifies the time value for S3 Replication Time Control (S3 RTC). This value is also used for
|
|
2510
|
+
* the replication metrics <code>EventThreshold</code> element. </p>
|
|
2511
|
+
* <note>
|
|
2512
|
+
* <p>This is not supported by Amazon S3 on Outposts buckets.</p>
|
|
2513
|
+
* </note>
|
|
2514
|
+
*/
|
|
2515
|
+
export interface ReplicationTimeValue {
|
|
2516
|
+
/**
|
|
2517
|
+
* <p>Contains an integer that specifies the time period in minutes. </p>
|
|
2518
|
+
* <p>Valid value: 15</p>
|
|
2519
|
+
*/
|
|
2520
|
+
Minutes?: number;
|
|
2521
|
+
}
|
|
2522
|
+
export declare enum MetricsStatus {
|
|
2523
|
+
Disabled = "Disabled",
|
|
2524
|
+
Enabled = "Enabled"
|
|
2525
|
+
}
|
|
2526
|
+
/**
|
|
2527
|
+
* <p>A container that specifies replication metrics-related settings.</p>
|
|
2528
|
+
*/
|
|
2529
|
+
export interface Metrics {
|
|
2530
|
+
/**
|
|
2531
|
+
* <p>Specifies whether replication metrics are enabled. </p>
|
|
2532
|
+
*/
|
|
2533
|
+
Status: MetricsStatus | string | undefined;
|
|
2534
|
+
/**
|
|
2535
|
+
* <p>A container that specifies the time threshold for emitting the
|
|
2536
|
+
* <code>s3:Replication:OperationMissedThreshold</code> event. </p>
|
|
2537
|
+
* <note>
|
|
2538
|
+
* <p>This is not supported by Amazon S3 on Outposts buckets.</p>
|
|
2539
|
+
* </note>
|
|
2540
|
+
*/
|
|
2541
|
+
EventThreshold?: ReplicationTimeValue;
|
|
2542
|
+
}
|
|
2543
|
+
export declare enum ReplicationTimeStatus {
|
|
2544
|
+
Disabled = "Disabled",
|
|
2545
|
+
Enabled = "Enabled"
|
|
2546
|
+
}
|
|
2547
|
+
/**
|
|
2548
|
+
* <p>A container that specifies S3 Replication Time Control (S3 RTC) related information, including whether S3 RTC
|
|
2549
|
+
* is enabled and the time when all objects and operations on objects must be
|
|
2550
|
+
* replicated.</p>
|
|
2551
|
+
* <note>
|
|
2552
|
+
* <p>This is not supported by Amazon S3 on Outposts buckets.</p>
|
|
2553
|
+
* </note>
|
|
2554
|
+
*/
|
|
2555
|
+
export interface ReplicationTime {
|
|
2556
|
+
/**
|
|
2557
|
+
* <p>Specifies whether S3 Replication Time Control (S3 RTC) is enabled. </p>
|
|
2558
|
+
*/
|
|
2559
|
+
Status: ReplicationTimeStatus | string | undefined;
|
|
2560
|
+
/**
|
|
2561
|
+
* <p>A container that specifies the time by which replication should be complete for all
|
|
2562
|
+
* objects and operations on objects. </p>
|
|
2563
|
+
*/
|
|
2564
|
+
Time: ReplicationTimeValue | undefined;
|
|
2565
|
+
}
|
|
2566
|
+
export declare enum ReplicationStorageClass {
|
|
2567
|
+
DEEP_ARCHIVE = "DEEP_ARCHIVE",
|
|
2568
|
+
GLACIER = "GLACIER",
|
|
2569
|
+
GLACIER_IR = "GLACIER_IR",
|
|
2570
|
+
INTELLIGENT_TIERING = "INTELLIGENT_TIERING",
|
|
2571
|
+
ONEZONE_IA = "ONEZONE_IA",
|
|
2572
|
+
OUTPOSTS = "OUTPOSTS",
|
|
2573
|
+
REDUCED_REDUNDANCY = "REDUCED_REDUNDANCY",
|
|
2574
|
+
STANDARD = "STANDARD",
|
|
2575
|
+
STANDARD_IA = "STANDARD_IA"
|
|
2576
|
+
}
|
|
2577
|
+
/**
|
|
2578
|
+
* <p>Specifies information about the replication destination bucket and its settings for an
|
|
2579
|
+
* S3 on Outposts replication configuration.</p>
|
|
2580
|
+
*/
|
|
2581
|
+
export interface Destination {
|
|
2582
|
+
/**
|
|
2583
|
+
* <p>The destination bucket owner's account ID. </p>
|
|
2584
|
+
*/
|
|
2585
|
+
Account?: string;
|
|
2586
|
+
/**
|
|
2587
|
+
* <p>The Amazon Resource Name (ARN) of the access point for the destination bucket where you want
|
|
2588
|
+
* S3 on Outposts to store the replication results.</p>
|
|
2589
|
+
*/
|
|
2590
|
+
Bucket: string | undefined;
|
|
2591
|
+
/**
|
|
2592
|
+
* <p>A container that specifies S3 Replication Time Control (S3 RTC) settings, including whether S3 RTC is enabled
|
|
2593
|
+
* and the time when all objects and operations on objects must be replicated. Must be
|
|
2594
|
+
* specified together with a <code>Metrics</code> block. </p>
|
|
2595
|
+
* <note>
|
|
2596
|
+
* <p>This is not supported by Amazon S3 on Outposts buckets.</p>
|
|
2597
|
+
* </note>
|
|
2598
|
+
*/
|
|
2599
|
+
ReplicationTime?: ReplicationTime;
|
|
2600
|
+
/**
|
|
2601
|
+
* <p>Specify this property only in a cross-account scenario (where the source and destination
|
|
2602
|
+
* bucket owners are not the same), and you want to change replica ownership to the
|
|
2603
|
+
* Amazon Web Services account that owns the destination bucket. If this property is not specified in the
|
|
2604
|
+
* replication configuration, the replicas are owned by same Amazon Web Services account that owns the
|
|
2605
|
+
* source object.</p>
|
|
2606
|
+
* <note>
|
|
2607
|
+
* <p>This is not supported by Amazon S3 on Outposts buckets.</p>
|
|
2608
|
+
* </note>
|
|
2609
|
+
*/
|
|
2610
|
+
AccessControlTranslation?: AccessControlTranslation;
|
|
2611
|
+
/**
|
|
2612
|
+
* <p>A container that provides information about encryption. If
|
|
2613
|
+
* <code>SourceSelectionCriteria</code> is specified, you must specify this element.</p>
|
|
2614
|
+
* <note>
|
|
2615
|
+
* <p>This is not supported by Amazon S3 on Outposts buckets.</p>
|
|
2616
|
+
* </note>
|
|
2617
|
+
*/
|
|
2618
|
+
EncryptionConfiguration?: EncryptionConfiguration;
|
|
2619
|
+
/**
|
|
2620
|
+
* <p> A container that specifies replication metrics-related settings. </p>
|
|
2621
|
+
*/
|
|
2622
|
+
Metrics?: Metrics;
|
|
2623
|
+
/**
|
|
2624
|
+
* <p> The storage class to use when replicating objects. All objects stored on S3 on Outposts
|
|
2625
|
+
* are stored in the <code>OUTPOSTS</code> storage class. S3 on Outposts uses the
|
|
2626
|
+
* <code>OUTPOSTS</code> storage class to create the object replicas. </p>
|
|
2627
|
+
* <note>
|
|
2628
|
+
* <p>Values other than <code>OUTPOSTS</code> are not supported by Amazon S3 on Outposts. </p>
|
|
2629
|
+
* </note>
|
|
2630
|
+
*/
|
|
2631
|
+
StorageClass?: ReplicationStorageClass | string;
|
|
2632
|
+
}
|
|
2633
|
+
export declare enum ExistingObjectReplicationStatus {
|
|
2634
|
+
Disabled = "Disabled",
|
|
2635
|
+
Enabled = "Enabled"
|
|
2636
|
+
}
|
|
2637
|
+
/**
|
|
2638
|
+
* <p>An optional configuration to replicate existing source bucket objects. </p>
|
|
2639
|
+
* <note>
|
|
2640
|
+
* <p>This is not supported by Amazon S3 on Outposts buckets.</p>
|
|
2641
|
+
* </note>
|
|
2642
|
+
*/
|
|
2643
|
+
export interface ExistingObjectReplication {
|
|
2644
|
+
/**
|
|
2645
|
+
* <p>Specifies whether Amazon S3 replicates existing source bucket objects. </p>
|
|
2646
|
+
*/
|
|
2647
|
+
Status: ExistingObjectReplicationStatus | string | undefined;
|
|
2648
|
+
}
|
|
2649
|
+
/**
|
|
2650
|
+
* <p>A container for specifying rule filters. The filters determine the subset of objects to
|
|
2651
|
+
* which the rule applies. This element is required only if you specify more than one filter. </p>
|
|
2652
|
+
* <p>For example:</p>
|
|
2653
|
+
* <ul>
|
|
2654
|
+
* <li>
|
|
2655
|
+
* <p>If you specify both a <code>Prefix</code> and a <code>Tag</code> filter, wrap
|
|
2656
|
+
* these filters in an <code>And</code> element. </p>
|
|
2657
|
+
* </li>
|
|
2658
|
+
* <li>
|
|
2659
|
+
* <p>If you specify a filter based on multiple tags, wrap the <code>Tag</code> elements
|
|
2660
|
+
* in an <code>And</code> element.</p>
|
|
2661
|
+
* </li>
|
|
2662
|
+
* </ul>
|
|
2663
|
+
*/
|
|
2664
|
+
export interface ReplicationRuleAndOperator {
|
|
2665
|
+
/**
|
|
2666
|
+
* <p>An object key name prefix that identifies the subset of objects that the rule applies
|
|
2667
|
+
* to.</p>
|
|
2668
|
+
*/
|
|
2669
|
+
Prefix?: string;
|
|
2670
|
+
/**
|
|
2671
|
+
* <p>An array of tags that contain key and value pairs.</p>
|
|
2672
|
+
*/
|
|
2673
|
+
Tags?: S3Tag[];
|
|
2674
|
+
}
|
|
2675
|
+
/**
|
|
2676
|
+
* <p>A filter that identifies the subset of objects to which the replication rule applies. A
|
|
2677
|
+
* <code>Filter</code> element must specify exactly one <code>Prefix</code>,
|
|
2678
|
+
* <code>Tag</code>, or <code>And</code> child element.</p>
|
|
2679
|
+
*/
|
|
2680
|
+
export interface ReplicationRuleFilter {
|
|
2681
|
+
/**
|
|
2682
|
+
* <p>An object key name prefix that identifies the subset of objects that the rule applies
|
|
2683
|
+
* to.</p>
|
|
2684
|
+
* <important>
|
|
2685
|
+
* <p>When you're using XML requests, you must
|
|
2686
|
+
* replace special characters (such as carriage returns) in object keys with their equivalent XML entity codes.
|
|
2687
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints">
|
|
2688
|
+
* XML-related object key constraints</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
2689
|
+
* </important>
|
|
2690
|
+
*/
|
|
2691
|
+
Prefix?: string;
|
|
2692
|
+
/**
|
|
2693
|
+
* <p>A container for a key-value name pair.</p>
|
|
2694
|
+
*/
|
|
2695
|
+
Tag?: S3Tag;
|
|
2696
|
+
/**
|
|
2697
|
+
* <p>A container for specifying rule filters. The filters determine the subset of objects
|
|
2698
|
+
* that the rule applies to. This element is required only if you specify more than one
|
|
2699
|
+
* filter. For example: </p>
|
|
2700
|
+
* <ul>
|
|
2701
|
+
* <li>
|
|
2702
|
+
* <p>If you specify both a <code>Prefix</code> and a <code>Tag</code> filter, wrap
|
|
2703
|
+
* these filters in an <code>And</code> element.</p>
|
|
2704
|
+
* </li>
|
|
2705
|
+
* <li>
|
|
2706
|
+
* <p>If you specify a filter based on multiple tags, wrap the <code>Tag</code> elements
|
|
2707
|
+
* in an <code>And</code> element.</p>
|
|
2708
|
+
* </li>
|
|
2709
|
+
* </ul>
|
|
2710
|
+
*/
|
|
2711
|
+
And?: ReplicationRuleAndOperator;
|
|
2712
|
+
}
|
|
2713
|
+
export declare enum ReplicaModificationsStatus {
|
|
2714
|
+
Disabled = "Disabled",
|
|
2715
|
+
Enabled = "Enabled"
|
|
2716
|
+
}
|
|
2717
|
+
/**
|
|
2718
|
+
* <p>A filter that you can use to specify whether replica modification sync is enabled.
|
|
2719
|
+
* S3 on Outposts replica modification sync can help you keep object metadata synchronized
|
|
2720
|
+
* between replicas and source objects. By default, S3 on Outposts replicates metadata from the
|
|
2721
|
+
* source objects to the replicas only. When replica modification sync is enabled,
|
|
2722
|
+
* S3 on Outposts replicates metadata changes made to the replica copies back to the source
|
|
2723
|
+
* object, making the replication bidirectional.</p>
|
|
2724
|
+
* <p>To replicate object metadata modifications on replicas, you can specify this element and
|
|
2725
|
+
* set the <code>Status</code> of this element to <code>Enabled</code>.</p>
|
|
2726
|
+
* <note>
|
|
2727
|
+
* <p>You must enable replica modification sync on the source and destination buckets to
|
|
2728
|
+
* replicate replica metadata changes between the source and the replicas.</p>
|
|
2729
|
+
* </note>
|
|
2730
|
+
*/
|
|
2731
|
+
export interface ReplicaModifications {
|
|
2732
|
+
/**
|
|
2733
|
+
* <p>Specifies whether S3 on Outposts replicates modifications to object metadata on
|
|
2734
|
+
* replicas.</p>
|
|
2735
|
+
*/
|
|
2736
|
+
Status: ReplicaModificationsStatus | string | undefined;
|
|
2737
|
+
}
|
|
2738
|
+
export declare enum SseKmsEncryptedObjectsStatus {
|
|
2739
|
+
Disabled = "Disabled",
|
|
2740
|
+
Enabled = "Enabled"
|
|
2741
|
+
}
|
|
2742
|
+
/**
|
|
2743
|
+
* <p>A container for filter information that you can use to select S3 objects that are
|
|
2744
|
+
* encrypted with Key Management Service (KMS).</p>
|
|
2745
|
+
* <note>
|
|
2746
|
+
* <p>This is not supported by Amazon S3 on Outposts buckets.</p>
|
|
2747
|
+
* </note>
|
|
2748
|
+
*/
|
|
2749
|
+
export interface SseKmsEncryptedObjects {
|
|
2750
|
+
/**
|
|
2751
|
+
* <p>Specifies whether Amazon S3 replicates objects that are created with server-side encryption
|
|
2752
|
+
* by using an KMS key stored in Key Management Service.</p>
|
|
2753
|
+
*/
|
|
2754
|
+
Status: SseKmsEncryptedObjectsStatus | string | undefined;
|
|
2755
|
+
}
|
|
2756
|
+
/**
|
|
2757
|
+
* <p>A container that describes additional filters for identifying the source objects that
|
|
2758
|
+
* you want to replicate. You can choose to enable or disable the replication of these
|
|
2759
|
+
* objects.</p>
|
|
2760
|
+
*/
|
|
2761
|
+
export interface SourceSelectionCriteria {
|
|
2762
|
+
/**
|
|
2763
|
+
* <p>A filter that you can use to select Amazon S3 objects that are encrypted with server-side
|
|
2764
|
+
* encryption by using Key Management Service (KMS) keys. If you include
|
|
2765
|
+
* <code>SourceSelectionCriteria</code> in the replication configuration, this element is
|
|
2766
|
+
* required. </p>
|
|
2767
|
+
* <note>
|
|
2768
|
+
* <p>This is not supported by Amazon S3 on Outposts buckets.</p>
|
|
2769
|
+
* </note>
|
|
2770
|
+
*/
|
|
2771
|
+
SseKmsEncryptedObjects?: SseKmsEncryptedObjects;
|
|
2772
|
+
/**
|
|
2773
|
+
* <p>A filter that you can use to specify whether replica modification sync is enabled.
|
|
2774
|
+
* S3 on Outposts replica modification sync can help you keep object metadata synchronized
|
|
2775
|
+
* between replicas and source objects. By default, S3 on Outposts replicates metadata from the
|
|
2776
|
+
* source objects to the replicas only. When replica modification sync is enabled,
|
|
2777
|
+
* S3 on Outposts replicates metadata changes made to the replica copies back to the source
|
|
2778
|
+
* object, making the replication bidirectional.</p>
|
|
2779
|
+
* <p>To replicate object metadata modifications on replicas, you can specify this element and
|
|
2780
|
+
* set the <code>Status</code> of this element to <code>Enabled</code>.</p>
|
|
2781
|
+
* <note>
|
|
2782
|
+
* <p>You must enable replica modification sync on the source and destination buckets to
|
|
2783
|
+
* replicate replica metadata changes between the source and the replicas.</p>
|
|
2784
|
+
* </note>
|
|
2785
|
+
*/
|
|
2786
|
+
ReplicaModifications?: ReplicaModifications;
|
|
2787
|
+
}
|
|
2788
|
+
export declare enum ReplicationRuleStatus {
|
|
2789
|
+
Disabled = "Disabled",
|
|
2790
|
+
Enabled = "Enabled"
|
|
2791
|
+
}
|
|
2792
|
+
/**
|
|
2793
|
+
* <p>Specifies which S3 on Outposts objects to replicate and where to store the replicas.</p>
|
|
2794
|
+
*/
|
|
2795
|
+
export interface ReplicationRule {
|
|
2796
|
+
/**
|
|
2797
|
+
* <p>A unique identifier for the rule. The maximum value is 255 characters.</p>
|
|
2798
|
+
*/
|
|
2799
|
+
ID?: string;
|
|
2800
|
+
/**
|
|
2801
|
+
* <p>The priority indicates which rule has precedence whenever two or more replication rules
|
|
2802
|
+
* conflict. S3 on Outposts attempts to replicate objects according to all replication rules.
|
|
2803
|
+
* However, if there are two or more rules with the same destination Outposts bucket, then objects will
|
|
2804
|
+
* be replicated according to the rule with the highest priority. The higher the number, the
|
|
2805
|
+
* higher the priority. </p>
|
|
2806
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/replication-between-outposts.html">Creating replication rules between Outposts</a> in the
|
|
2807
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
2808
|
+
*/
|
|
2809
|
+
Priority?: number;
|
|
2810
|
+
/**
|
|
2811
|
+
* @deprecated
|
|
2812
|
+
*
|
|
2813
|
+
* <p>An object key name prefix that identifies the object or objects to which the rule
|
|
2814
|
+
* applies. The maximum prefix length is 1,024 characters. To include all objects in an
|
|
2815
|
+
* Outposts bucket, specify an empty string.</p>
|
|
2816
|
+
* <important>
|
|
2817
|
+
* <p>When you're using XML requests, you must
|
|
2818
|
+
* replace special characters (such as carriage returns) in object keys with their equivalent XML entity codes.
|
|
2819
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints">
|
|
2820
|
+
* XML-related object key constraints</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
2821
|
+
* </important>
|
|
2822
|
+
*/
|
|
2823
|
+
Prefix?: string;
|
|
2824
|
+
/**
|
|
2825
|
+
* <p>A filter that identifies the subset of objects to which the replication rule applies. A
|
|
2826
|
+
* <code>Filter</code> element must specify exactly one <code>Prefix</code>,
|
|
2827
|
+
* <code>Tag</code>, or <code>And</code> child element.</p>
|
|
2828
|
+
*/
|
|
2829
|
+
Filter?: ReplicationRuleFilter;
|
|
2830
|
+
/**
|
|
2831
|
+
* <p>Specifies whether the rule is enabled.</p>
|
|
2832
|
+
*/
|
|
2833
|
+
Status: ReplicationRuleStatus | string | undefined;
|
|
2834
|
+
/**
|
|
2835
|
+
* <p>A container that describes additional filters for identifying the source Outposts objects that
|
|
2836
|
+
* you want to replicate. You can choose to enable or disable the replication of these
|
|
2837
|
+
* objects.</p>
|
|
2838
|
+
*/
|
|
2839
|
+
SourceSelectionCriteria?: SourceSelectionCriteria;
|
|
2840
|
+
/**
|
|
2841
|
+
* <p>An optional configuration to replicate existing source bucket objects. </p>
|
|
2842
|
+
* <note>
|
|
2843
|
+
* <p>This is not supported by Amazon S3 on Outposts buckets.</p>
|
|
2844
|
+
* </note>
|
|
2845
|
+
*/
|
|
2846
|
+
ExistingObjectReplication?: ExistingObjectReplication;
|
|
2847
|
+
/**
|
|
2848
|
+
* <p>A container for information about the replication destination and its configurations.</p>
|
|
2849
|
+
*/
|
|
2850
|
+
Destination: Destination | undefined;
|
|
2851
|
+
/**
|
|
2852
|
+
* <p>Specifies whether S3 on Outposts replicates delete markers. If you specify a
|
|
2853
|
+
* <code>Filter</code> element in your replication configuration, you must also include a
|
|
2854
|
+
* <code>DeleteMarkerReplication</code> element. If your <code>Filter</code> includes a
|
|
2855
|
+
* <code>Tag</code> element, the <code>DeleteMarkerReplication</code> element's
|
|
2856
|
+
* <code>Status</code> child element must be set to <code>Disabled</code>, because
|
|
2857
|
+
* S3 on Outposts doesn't support replicating delete markers for tag-based rules.</p>
|
|
2858
|
+
* <p>For more information about delete marker replication, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsReplication.html#outposts-replication-what-is-replicated">How delete operations affect replication</a> in the <i>Amazon S3 User Guide</i>. </p>
|
|
2859
|
+
*/
|
|
2860
|
+
DeleteMarkerReplication?: DeleteMarkerReplication;
|
|
2861
|
+
/**
|
|
2862
|
+
* <p>The Amazon Resource Name (ARN) of the access point for the source Outposts bucket that you want
|
|
2863
|
+
* S3 on Outposts to replicate the objects from.</p>
|
|
2864
|
+
*/
|
|
2865
|
+
Bucket: string | undefined;
|
|
2866
|
+
}
|
|
2867
|
+
/**
|
|
2868
|
+
* <p>A container for one or more replication rules. A replication configuration must have at least one rule and you can add up to 100 rules. The maximum size of a
|
|
2869
|
+
* replication configuration is 128 KB.</p>
|
|
2870
|
+
*/
|
|
2871
|
+
export interface ReplicationConfiguration {
|
|
2872
|
+
/**
|
|
2873
|
+
* <p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that S3 on Outposts assumes
|
|
2874
|
+
* when replicating objects. For information about S3 replication on Outposts configuration,
|
|
2875
|
+
* see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/outposts-replication-how-setup.html">Setting up
|
|
2876
|
+
* replication</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
2877
|
+
*/
|
|
2878
|
+
Role: string | undefined;
|
|
2879
|
+
/**
|
|
2880
|
+
* <p>A container for one or more replication rules. A replication configuration must have at
|
|
2881
|
+
* least one rule and can contain an array of 100 rules at the most. </p>
|
|
2882
|
+
*/
|
|
2883
|
+
Rules: ReplicationRule[] | undefined;
|
|
2884
|
+
}
|
|
2885
|
+
export interface GetBucketReplicationResult {
|
|
2886
|
+
/**
|
|
2887
|
+
* <p>A container for one or more replication rules. A replication configuration must have at least one rule and you can add up to 100 rules. The maximum size of a
|
|
2888
|
+
* replication configuration is 128 KB.</p>
|
|
2889
|
+
*/
|
|
2890
|
+
ReplicationConfiguration?: ReplicationConfiguration;
|
|
2891
|
+
}
|
|
2380
2892
|
export interface GetBucketTaggingRequest {
|
|
2381
2893
|
/**
|
|
2382
2894
|
* <p>The Amazon Web Services account ID of the Outposts bucket.</p>
|
|
@@ -2385,7 +2897,7 @@ export interface GetBucketTaggingRequest {
|
|
|
2385
2897
|
/**
|
|
2386
2898
|
* <p>Specifies the bucket.</p>
|
|
2387
2899
|
* <p>For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.</p>
|
|
2388
|
-
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name></code>. For example, to access the bucket <code>reports</code> through
|
|
2900
|
+
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name></code>. For example, to access the bucket <code>reports</code> through Outpost <code>my-outpost</code> owned by account <code>123456789012</code> in Region <code>us-west-2</code>, use the URL encoding of <code>arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports</code>. The value must be URL encoded. </p>
|
|
2389
2901
|
*/
|
|
2390
2902
|
Bucket: string | undefined;
|
|
2391
2903
|
}
|
|
@@ -2466,6 +2978,11 @@ export interface RegionReport {
|
|
|
2466
2978
|
* <p>The name of the Region.</p>
|
|
2467
2979
|
*/
|
|
2468
2980
|
Region?: string;
|
|
2981
|
+
/**
|
|
2982
|
+
* <p>The Amazon Web Services account ID that owns the Amazon S3 bucket that's associated with this
|
|
2983
|
+
* Multi-Region Access Point.</p>
|
|
2984
|
+
*/
|
|
2985
|
+
BucketAccountId?: string;
|
|
2469
2986
|
}
|
|
2470
2987
|
export declare enum MultiRegionAccessPointStatus {
|
|
2471
2988
|
CREATING = "CREATING",
|
|
@@ -2635,16 +3152,14 @@ export interface MultiRegionAccessPointRoute {
|
|
|
2635
3152
|
/**
|
|
2636
3153
|
* <p>The traffic state for the specified bucket or Amazon Web Services Region. </p>
|
|
2637
3154
|
* <p>A value of <code>0</code> indicates a passive state, which means that no new traffic
|
|
2638
|
-
* will be routed to the
|
|
2639
|
-
* Region. </p>
|
|
3155
|
+
* will be routed to the Region. </p>
|
|
2640
3156
|
* <p>A value of <code>100</code> indicates an active state, which means that traffic will be
|
|
2641
3157
|
* routed to the specified Region. </p>
|
|
2642
|
-
* <p>When
|
|
2643
|
-
*
|
|
2644
|
-
*
|
|
2645
|
-
* continue to run to until a final success or failure status is reached.</p>
|
|
3158
|
+
* <p>When the routing configuration for a Region is changed from active to passive, any
|
|
3159
|
+
* in-progress operations (uploads, copies, deletes, and so on) to the formerly active Region
|
|
3160
|
+
* will continue to run to until a final success or failure status is reached.</p>
|
|
2646
3161
|
* <p>If all Regions in the routing configuration are designated as passive, you'll receive an
|
|
2647
|
-
* <code>InvalidRequest</code> error
|
|
3162
|
+
* <code>InvalidRequest</code> error.</p>
|
|
2648
3163
|
*/
|
|
2649
3164
|
TrafficDialPercentage: number | undefined;
|
|
2650
3165
|
}
|
|
@@ -2927,7 +3442,7 @@ export interface ListAccessPointsRequest {
|
|
|
2927
3442
|
/**
|
|
2928
3443
|
* <p>The name of the bucket whose associated access points you want to list.</p>
|
|
2929
3444
|
* <p>For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.</p>
|
|
2930
|
-
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name></code>. For example, to access the bucket <code>reports</code> through
|
|
3445
|
+
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name></code>. For example, to access the bucket <code>reports</code> through Outpost <code>my-outpost</code> owned by account <code>123456789012</code> in Region <code>us-west-2</code>, use the URL encoding of <code>arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports</code>. The value must be URL encoded. </p>
|
|
2931
3446
|
*/
|
|
2932
3447
|
Bucket?: string;
|
|
2933
3448
|
/**
|
|
@@ -3270,7 +3785,7 @@ export interface PutAccessPointPolicyRequest {
|
|
|
3270
3785
|
/**
|
|
3271
3786
|
* <p>The name of the access point that you want to associate with the specified policy.</p>
|
|
3272
3787
|
* <p>For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.</p>
|
|
3273
|
-
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the access point accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name></code>. For example, to access the access point <code>reports-ap</code> through
|
|
3788
|
+
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the access point accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name></code>. For example, to access the access point <code>reports-ap</code> through Outpost <code>my-outpost</code> owned by account <code>123456789012</code> in Region <code>us-west-2</code>, use the URL encoding of <code>arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap</code>. The value must be URL encoded. </p>
|
|
3274
3789
|
*/
|
|
3275
3790
|
Name: string | undefined;
|
|
3276
3791
|
/**
|
|
@@ -3325,7 +3840,7 @@ export interface PutBucketPolicyRequest {
|
|
|
3325
3840
|
/**
|
|
3326
3841
|
* <p>Specifies the bucket.</p>
|
|
3327
3842
|
* <p>For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.</p>
|
|
3328
|
-
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name></code>. For example, to access the bucket <code>reports</code> through
|
|
3843
|
+
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name></code>. For example, to access the bucket <code>reports</code> through Outpost <code>my-outpost</code> owned by account <code>123456789012</code> in Region <code>us-west-2</code>, use the URL encoding of <code>arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports</code>. The value must be URL encoded. </p>
|
|
3329
3844
|
*/
|
|
3330
3845
|
Bucket: string | undefined;
|
|
3331
3846
|
/**
|
|
@@ -3341,6 +3856,22 @@ export interface PutBucketPolicyRequest {
|
|
|
3341
3856
|
*/
|
|
3342
3857
|
Policy: string | undefined;
|
|
3343
3858
|
}
|
|
3859
|
+
export interface PutBucketReplicationRequest {
|
|
3860
|
+
/**
|
|
3861
|
+
* <p>The Amazon Web Services account ID of the Outposts bucket.</p>
|
|
3862
|
+
*/
|
|
3863
|
+
AccountId?: string;
|
|
3864
|
+
/**
|
|
3865
|
+
* <p>Specifies the S3 on Outposts bucket to set the configuration for.</p>
|
|
3866
|
+
* <p>For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.</p>
|
|
3867
|
+
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name></code>. For example, to access the bucket <code>reports</code> through Outpost <code>my-outpost</code> owned by account <code>123456789012</code> in Region <code>us-west-2</code>, use the URL encoding of <code>arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports</code>. The value must be URL encoded. </p>
|
|
3868
|
+
*/
|
|
3869
|
+
Bucket: string | undefined;
|
|
3870
|
+
/**
|
|
3871
|
+
* <p></p>
|
|
3872
|
+
*/
|
|
3873
|
+
ReplicationConfiguration: ReplicationConfiguration | undefined;
|
|
3874
|
+
}
|
|
3344
3875
|
/**
|
|
3345
3876
|
* <p></p>
|
|
3346
3877
|
*/
|
|
@@ -3358,7 +3889,7 @@ export interface PutBucketTaggingRequest {
|
|
|
3358
3889
|
/**
|
|
3359
3890
|
* <p>The Amazon Resource Name (ARN) of the bucket.</p>
|
|
3360
3891
|
* <p>For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.</p>
|
|
3361
|
-
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name></code>. For example, to access the bucket <code>reports</code> through
|
|
3892
|
+
* <p>For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name></code>. For example, to access the bucket <code>reports</code> through Outpost <code>my-outpost</code> owned by account <code>123456789012</code> in Region <code>us-west-2</code>, use the URL encoding of <code>arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports</code>. The value must be URL encoded. </p>
|
|
3362
3893
|
*/
|
|
3363
3894
|
Bucket: string | undefined;
|
|
3364
3895
|
/**
|
|
@@ -3600,6 +4131,10 @@ export interface UpdateJobStatusResult {
|
|
|
3600
4131
|
* @internal
|
|
3601
4132
|
*/
|
|
3602
4133
|
export declare const AbortIncompleteMultipartUploadFilterSensitiveLog: (obj: AbortIncompleteMultipartUpload) => any;
|
|
4134
|
+
/**
|
|
4135
|
+
* @internal
|
|
4136
|
+
*/
|
|
4137
|
+
export declare const AccessControlTranslationFilterSensitiveLog: (obj: AccessControlTranslation) => any;
|
|
3603
4138
|
/**
|
|
3604
4139
|
* @internal
|
|
3605
4140
|
*/
|
|
@@ -3896,6 +4431,10 @@ export declare const DeleteBucketLifecycleConfigurationRequestFilterSensitiveLog
|
|
|
3896
4431
|
* @internal
|
|
3897
4432
|
*/
|
|
3898
4433
|
export declare const DeleteBucketPolicyRequestFilterSensitiveLog: (obj: DeleteBucketPolicyRequest) => any;
|
|
4434
|
+
/**
|
|
4435
|
+
* @internal
|
|
4436
|
+
*/
|
|
4437
|
+
export declare const DeleteBucketReplicationRequestFilterSensitiveLog: (obj: DeleteBucketReplicationRequest) => any;
|
|
3899
4438
|
/**
|
|
3900
4439
|
* @internal
|
|
3901
4440
|
*/
|
|
@@ -4080,6 +4619,70 @@ export declare const GetBucketPolicyRequestFilterSensitiveLog: (obj: GetBucketPo
|
|
|
4080
4619
|
* @internal
|
|
4081
4620
|
*/
|
|
4082
4621
|
export declare const GetBucketPolicyResultFilterSensitiveLog: (obj: GetBucketPolicyResult) => any;
|
|
4622
|
+
/**
|
|
4623
|
+
* @internal
|
|
4624
|
+
*/
|
|
4625
|
+
export declare const GetBucketReplicationRequestFilterSensitiveLog: (obj: GetBucketReplicationRequest) => any;
|
|
4626
|
+
/**
|
|
4627
|
+
* @internal
|
|
4628
|
+
*/
|
|
4629
|
+
export declare const DeleteMarkerReplicationFilterSensitiveLog: (obj: DeleteMarkerReplication) => any;
|
|
4630
|
+
/**
|
|
4631
|
+
* @internal
|
|
4632
|
+
*/
|
|
4633
|
+
export declare const EncryptionConfigurationFilterSensitiveLog: (obj: EncryptionConfiguration) => any;
|
|
4634
|
+
/**
|
|
4635
|
+
* @internal
|
|
4636
|
+
*/
|
|
4637
|
+
export declare const ReplicationTimeValueFilterSensitiveLog: (obj: ReplicationTimeValue) => any;
|
|
4638
|
+
/**
|
|
4639
|
+
* @internal
|
|
4640
|
+
*/
|
|
4641
|
+
export declare const MetricsFilterSensitiveLog: (obj: Metrics) => any;
|
|
4642
|
+
/**
|
|
4643
|
+
* @internal
|
|
4644
|
+
*/
|
|
4645
|
+
export declare const ReplicationTimeFilterSensitiveLog: (obj: ReplicationTime) => any;
|
|
4646
|
+
/**
|
|
4647
|
+
* @internal
|
|
4648
|
+
*/
|
|
4649
|
+
export declare const DestinationFilterSensitiveLog: (obj: Destination) => any;
|
|
4650
|
+
/**
|
|
4651
|
+
* @internal
|
|
4652
|
+
*/
|
|
4653
|
+
export declare const ExistingObjectReplicationFilterSensitiveLog: (obj: ExistingObjectReplication) => any;
|
|
4654
|
+
/**
|
|
4655
|
+
* @internal
|
|
4656
|
+
*/
|
|
4657
|
+
export declare const ReplicationRuleAndOperatorFilterSensitiveLog: (obj: ReplicationRuleAndOperator) => any;
|
|
4658
|
+
/**
|
|
4659
|
+
* @internal
|
|
4660
|
+
*/
|
|
4661
|
+
export declare const ReplicationRuleFilterFilterSensitiveLog: (obj: ReplicationRuleFilter) => any;
|
|
4662
|
+
/**
|
|
4663
|
+
* @internal
|
|
4664
|
+
*/
|
|
4665
|
+
export declare const ReplicaModificationsFilterSensitiveLog: (obj: ReplicaModifications) => any;
|
|
4666
|
+
/**
|
|
4667
|
+
* @internal
|
|
4668
|
+
*/
|
|
4669
|
+
export declare const SseKmsEncryptedObjectsFilterSensitiveLog: (obj: SseKmsEncryptedObjects) => any;
|
|
4670
|
+
/**
|
|
4671
|
+
* @internal
|
|
4672
|
+
*/
|
|
4673
|
+
export declare const SourceSelectionCriteriaFilterSensitiveLog: (obj: SourceSelectionCriteria) => any;
|
|
4674
|
+
/**
|
|
4675
|
+
* @internal
|
|
4676
|
+
*/
|
|
4677
|
+
export declare const ReplicationRuleFilterSensitiveLog: (obj: ReplicationRule) => any;
|
|
4678
|
+
/**
|
|
4679
|
+
* @internal
|
|
4680
|
+
*/
|
|
4681
|
+
export declare const ReplicationConfigurationFilterSensitiveLog: (obj: ReplicationConfiguration) => any;
|
|
4682
|
+
/**
|
|
4683
|
+
* @internal
|
|
4684
|
+
*/
|
|
4685
|
+
export declare const GetBucketReplicationResultFilterSensitiveLog: (obj: GetBucketReplicationResult) => any;
|
|
4083
4686
|
/**
|
|
4084
4687
|
* @internal
|
|
4085
4688
|
*/
|
|
@@ -4316,6 +4919,10 @@ export declare const PutBucketLifecycleConfigurationRequestFilterSensitiveLog: (
|
|
|
4316
4919
|
* @internal
|
|
4317
4920
|
*/
|
|
4318
4921
|
export declare const PutBucketPolicyRequestFilterSensitiveLog: (obj: PutBucketPolicyRequest) => any;
|
|
4922
|
+
/**
|
|
4923
|
+
* @internal
|
|
4924
|
+
*/
|
|
4925
|
+
export declare const PutBucketReplicationRequestFilterSensitiveLog: (obj: PutBucketReplicationRequest) => any;
|
|
4319
4926
|
/**
|
|
4320
4927
|
* @internal
|
|
4321
4928
|
*/
|