aws-sdk-s3control 1.60.0 → 1.61.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3control/client.rb +508 -74
- data/lib/aws-sdk-s3control/client_api.rb +154 -0
- data/lib/aws-sdk-s3control/endpoint_provider.rb +19 -19
- data/lib/aws-sdk-s3control/endpoints.rb +60 -0
- data/lib/aws-sdk-s3control/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-s3control/types.rb +739 -60
- data/lib/aws-sdk-s3control.rb +1 -1
- metadata +2 -2
@@ -25,6 +25,24 @@ module Aws::S3Control
|
|
25
25
|
include Aws::Structure
|
26
26
|
end
|
27
27
|
|
28
|
+
# A container for information about access control for replicas.
|
29
|
+
#
|
30
|
+
# <note markdown="1"> This is not supported by Amazon S3 on Outposts buckets.
|
31
|
+
#
|
32
|
+
# </note>
|
33
|
+
#
|
34
|
+
# @!attribute [rw] owner
|
35
|
+
# Specifies the replica ownership.
|
36
|
+
# @return [String]
|
37
|
+
#
|
38
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/AccessControlTranslation AWS API Documentation
|
39
|
+
#
|
40
|
+
class AccessControlTranslation < Struct.new(
|
41
|
+
:owner)
|
42
|
+
SENSITIVE = []
|
43
|
+
include Aws::Structure
|
44
|
+
end
|
45
|
+
|
28
46
|
# An access point used to access a bucket.
|
29
47
|
#
|
30
48
|
# @!attribute [rw] name
|
@@ -512,7 +530,7 @@ module Aws::S3Control
|
|
512
530
|
# Services SDK and CLI, you must specify the ARN of the bucket
|
513
531
|
# accessed in the format
|
514
532
|
# `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
|
515
|
-
# For example, to access the bucket `reports` through
|
533
|
+
# For example, to access the bucket `reports` through Outpost
|
516
534
|
# `my-outpost` owned by account `123456789012` in Region `us-west-2`,
|
517
535
|
# use the URL encoding of
|
518
536
|
# `arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports`.
|
@@ -707,7 +725,7 @@ module Aws::S3Control
|
|
707
725
|
# Services SDK and CLI, you must specify the ARN of the bucket
|
708
726
|
# accessed in the format
|
709
727
|
# `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
|
710
|
-
# For example, to access the bucket `reports` through
|
728
|
+
# For example, to access the bucket `reports` through Outpost
|
711
729
|
# `my-outpost` owned by account `123456789012` in Region `us-west-2`,
|
712
730
|
# use the URL encoding of
|
713
731
|
# `arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports`.
|
@@ -958,7 +976,7 @@ module Aws::S3Control
|
|
958
976
|
# Services SDK and CLI, you must specify the ARN of the access point
|
959
977
|
# accessed in the format
|
960
978
|
# `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>`.
|
961
|
-
# For example, to access the access point `reports-ap` through
|
979
|
+
# For example, to access the access point `reports-ap` through Outpost
|
962
980
|
# `my-outpost` owned by account `123456789012` in Region `us-west-2`,
|
963
981
|
# use the URL encoding of
|
964
982
|
# `arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap`.
|
@@ -989,7 +1007,7 @@ module Aws::S3Control
|
|
989
1007
|
# Services SDK and CLI, you must specify the ARN of the access point
|
990
1008
|
# accessed in the format
|
991
1009
|
# `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>`.
|
992
|
-
# For example, to access the access point `reports-ap` through
|
1010
|
+
# For example, to access the access point `reports-ap` through Outpost
|
993
1011
|
# `my-outpost` owned by account `123456789012` in Region `us-west-2`,
|
994
1012
|
# use the URL encoding of
|
995
1013
|
# `arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap`.
|
@@ -1019,7 +1037,7 @@ module Aws::S3Control
|
|
1019
1037
|
# Services SDK and CLI, you must specify the ARN of the bucket
|
1020
1038
|
# accessed in the format
|
1021
1039
|
# `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
|
1022
|
-
# For example, to access the bucket `reports` through
|
1040
|
+
# For example, to access the bucket `reports` through Outpost
|
1023
1041
|
# `my-outpost` owned by account `123456789012` in Region `us-west-2`,
|
1024
1042
|
# use the URL encoding of
|
1025
1043
|
# `arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports`.
|
@@ -1049,7 +1067,7 @@ module Aws::S3Control
|
|
1049
1067
|
# Services SDK and CLI, you must specify the ARN of the bucket
|
1050
1068
|
# accessed in the format
|
1051
1069
|
# `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
|
1052
|
-
# For example, to access the bucket `reports` through
|
1070
|
+
# For example, to access the bucket `reports` through Outpost
|
1053
1071
|
# `my-outpost` owned by account `123456789012` in Region `us-west-2`,
|
1054
1072
|
# use the URL encoding of
|
1055
1073
|
# `arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports`.
|
@@ -1065,6 +1083,38 @@ module Aws::S3Control
|
|
1065
1083
|
include Aws::Structure
|
1066
1084
|
end
|
1067
1085
|
|
1086
|
+
# @!attribute [rw] account_id
|
1087
|
+
# The Amazon Web Services account ID of the Outposts bucket to delete
|
1088
|
+
# the replication configuration for.
|
1089
|
+
# @return [String]
|
1090
|
+
#
|
1091
|
+
# @!attribute [rw] bucket
|
1092
|
+
# Specifies the S3 on Outposts bucket to delete the replication
|
1093
|
+
# configuration for.
|
1094
|
+
#
|
1095
|
+
# For using this parameter with Amazon S3 on Outposts with the REST
|
1096
|
+
# API, you must specify the name and the x-amz-outpost-id as well.
|
1097
|
+
#
|
1098
|
+
# For using this parameter with S3 on Outposts with the Amazon Web
|
1099
|
+
# Services SDK and CLI, you must specify the ARN of the bucket
|
1100
|
+
# accessed in the format
|
1101
|
+
# `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
|
1102
|
+
# For example, to access the bucket `reports` through Outpost
|
1103
|
+
# `my-outpost` owned by account `123456789012` in Region `us-west-2`,
|
1104
|
+
# use the URL encoding of
|
1105
|
+
# `arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports`.
|
1106
|
+
# The value must be URL encoded.
|
1107
|
+
# @return [String]
|
1108
|
+
#
|
1109
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteBucketReplicationRequest AWS API Documentation
|
1110
|
+
#
|
1111
|
+
class DeleteBucketReplicationRequest < Struct.new(
|
1112
|
+
:account_id,
|
1113
|
+
:bucket)
|
1114
|
+
SENSITIVE = []
|
1115
|
+
include Aws::Structure
|
1116
|
+
end
|
1117
|
+
|
1068
1118
|
# @!attribute [rw] account_id
|
1069
1119
|
# The account ID that owns the Outposts bucket.
|
1070
1120
|
# @return [String]
|
@@ -1079,7 +1129,7 @@ module Aws::S3Control
|
|
1079
1129
|
# Services SDK and CLI, you must specify the ARN of the bucket
|
1080
1130
|
# accessed in the format
|
1081
1131
|
# `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
|
1082
|
-
# For example, to access the bucket `reports` through
|
1132
|
+
# For example, to access the bucket `reports` through Outpost
|
1083
1133
|
# `my-outpost` owned by account `123456789012` in Region `us-west-2`,
|
1084
1134
|
# use the URL encoding of
|
1085
1135
|
# `arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports`.
|
@@ -1110,7 +1160,7 @@ module Aws::S3Control
|
|
1110
1160
|
# Services SDK and CLI, you must specify the ARN of the bucket
|
1111
1161
|
# accessed in the format
|
1112
1162
|
# `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
|
1113
|
-
# For example, to access the bucket `reports` through
|
1163
|
+
# For example, to access the bucket `reports` through Outpost
|
1114
1164
|
# `my-outpost` owned by account `123456789012` in Region `us-west-2`,
|
1115
1165
|
# use the URL encoding of
|
1116
1166
|
# `arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports`.
|
@@ -1149,6 +1199,33 @@ module Aws::S3Control
|
|
1149
1199
|
#
|
1150
1200
|
class DeleteJobTaggingResult < Aws::EmptyStructure; end
|
1151
1201
|
|
1202
|
+
# Specifies whether S3 on Outposts replicates delete markers. If you
|
1203
|
+
# specify a `Filter` element in your replication configuration, you must
|
1204
|
+
# also include a `DeleteMarkerReplication` element. If your `Filter`
|
1205
|
+
# includes a `Tag` element, the `DeleteMarkerReplication` element's
|
1206
|
+
# `Status` child element must be set to `Disabled`, because S3 on
|
1207
|
+
# Outposts does not support replicating delete markers for tag-based
|
1208
|
+
# rules.
|
1209
|
+
#
|
1210
|
+
# For more information about delete marker replication, see [How delete
|
1211
|
+
# operations affect replication][1] in the *Amazon S3 User Guide*.
|
1212
|
+
#
|
1213
|
+
#
|
1214
|
+
#
|
1215
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsReplication.html#outposts-replication-what-is-replicated
|
1216
|
+
#
|
1217
|
+
# @!attribute [rw] status
|
1218
|
+
# Indicates whether to replicate delete markers.
|
1219
|
+
# @return [String]
|
1220
|
+
#
|
1221
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteMarkerReplication AWS API Documentation
|
1222
|
+
#
|
1223
|
+
class DeleteMarkerReplication < Struct.new(
|
1224
|
+
:status)
|
1225
|
+
SENSITIVE = []
|
1226
|
+
include Aws::Structure
|
1227
|
+
end
|
1228
|
+
|
1152
1229
|
# A container for the information associated with a
|
1153
1230
|
# [DeleteMultiRegionAccessPoint][1] request.
|
1154
1231
|
#
|
@@ -1331,6 +1408,83 @@ module Aws::S3Control
|
|
1331
1408
|
include Aws::Structure
|
1332
1409
|
end
|
1333
1410
|
|
1411
|
+
# Specifies information about the replication destination bucket and its
|
1412
|
+
# settings for an S3 on Outposts replication configuration.
|
1413
|
+
#
|
1414
|
+
# @!attribute [rw] account
|
1415
|
+
# The destination bucket owner's account ID.
|
1416
|
+
# @return [String]
|
1417
|
+
#
|
1418
|
+
# @!attribute [rw] bucket
|
1419
|
+
# The Amazon Resource Name (ARN) of the access point for the
|
1420
|
+
# destination bucket where you want S3 on Outposts to store the
|
1421
|
+
# replication results.
|
1422
|
+
# @return [String]
|
1423
|
+
#
|
1424
|
+
# @!attribute [rw] replication_time
|
1425
|
+
# A container that specifies S3 Replication Time Control (S3 RTC)
|
1426
|
+
# settings, including whether S3 RTC is enabled and the time when all
|
1427
|
+
# objects and operations on objects must be replicated. Must be
|
1428
|
+
# specified together with a `Metrics` block.
|
1429
|
+
#
|
1430
|
+
# <note markdown="1"> This is not supported by Amazon S3 on Outposts buckets.
|
1431
|
+
#
|
1432
|
+
# </note>
|
1433
|
+
# @return [Types::ReplicationTime]
|
1434
|
+
#
|
1435
|
+
# @!attribute [rw] access_control_translation
|
1436
|
+
# Specify this property only in a cross-account scenario (where the
|
1437
|
+
# source and destination bucket owners are not the same), and you want
|
1438
|
+
# to change replica ownership to the Amazon Web Services account that
|
1439
|
+
# owns the destination bucket. If this property is not specified in
|
1440
|
+
# the replication configuration, the replicas are owned by same Amazon
|
1441
|
+
# Web Services account that owns the source object.
|
1442
|
+
#
|
1443
|
+
# <note markdown="1"> This is not supported by Amazon S3 on Outposts buckets.
|
1444
|
+
#
|
1445
|
+
# </note>
|
1446
|
+
# @return [Types::AccessControlTranslation]
|
1447
|
+
#
|
1448
|
+
# @!attribute [rw] encryption_configuration
|
1449
|
+
# A container that provides information about encryption. If
|
1450
|
+
# `SourceSelectionCriteria` is specified, you must specify this
|
1451
|
+
# element.
|
1452
|
+
#
|
1453
|
+
# <note markdown="1"> This is not supported by Amazon S3 on Outposts buckets.
|
1454
|
+
#
|
1455
|
+
# </note>
|
1456
|
+
# @return [Types::EncryptionConfiguration]
|
1457
|
+
#
|
1458
|
+
# @!attribute [rw] metrics
|
1459
|
+
# A container that specifies replication metrics-related settings.
|
1460
|
+
# @return [Types::Metrics]
|
1461
|
+
#
|
1462
|
+
# @!attribute [rw] storage_class
|
1463
|
+
# The storage class to use when replicating objects. All objects
|
1464
|
+
# stored on S3 on Outposts are stored in the `OUTPOSTS` storage class.
|
1465
|
+
# S3 on Outposts uses the `OUTPOSTS` storage class to create the
|
1466
|
+
# object replicas.
|
1467
|
+
#
|
1468
|
+
# <note markdown="1"> Values other than `OUTPOSTS` are not supported by Amazon S3 on
|
1469
|
+
# Outposts.
|
1470
|
+
#
|
1471
|
+
# </note>
|
1472
|
+
# @return [String]
|
1473
|
+
#
|
1474
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/Destination AWS API Documentation
|
1475
|
+
#
|
1476
|
+
class Destination < Struct.new(
|
1477
|
+
:account,
|
1478
|
+
:bucket,
|
1479
|
+
:replication_time,
|
1480
|
+
:access_control_translation,
|
1481
|
+
:encryption_configuration,
|
1482
|
+
:metrics,
|
1483
|
+
:storage_class)
|
1484
|
+
SENSITIVE = []
|
1485
|
+
include Aws::Structure
|
1486
|
+
end
|
1487
|
+
|
1334
1488
|
# The container element for Amazon S3 Storage Lens detailed status code
|
1335
1489
|
# metrics. Detailed status code metrics generate metrics for HTTP status
|
1336
1490
|
# codes, such as `200 OK`, `403 Forbidden`, `503 Service Unavailable`
|
@@ -1359,6 +1513,35 @@ module Aws::S3Control
|
|
1359
1513
|
include Aws::Structure
|
1360
1514
|
end
|
1361
1515
|
|
1516
|
+
# Specifies encryption-related information for an Amazon S3 bucket that
|
1517
|
+
# is a destination for replicated objects.
|
1518
|
+
#
|
1519
|
+
# <note markdown="1"> This is not supported by Amazon S3 on Outposts buckets.
|
1520
|
+
#
|
1521
|
+
# </note>
|
1522
|
+
#
|
1523
|
+
# @!attribute [rw] replica_kms_key_id
|
1524
|
+
# Specifies the ID of the customer managed KMS key that's stored in
|
1525
|
+
# Key Management Service (KMS) for the destination bucket. This ID is
|
1526
|
+
# either the Amazon Resource Name (ARN) for the KMS key or the alias
|
1527
|
+
# ARN for the KMS key. Amazon S3 uses this KMS key to encrypt replica
|
1528
|
+
# objects. Amazon S3 supports only symmetric encryption KMS keys. For
|
1529
|
+
# more information, see [Symmetric encryption KMS keys][1] in the
|
1530
|
+
# *Amazon Web Services Key Management Service Developer Guide*.
|
1531
|
+
#
|
1532
|
+
#
|
1533
|
+
#
|
1534
|
+
# [1]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#symmetric-cmks
|
1535
|
+
# @return [String]
|
1536
|
+
#
|
1537
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/EncryptionConfiguration AWS API Documentation
|
1538
|
+
#
|
1539
|
+
class EncryptionConfiguration < Struct.new(
|
1540
|
+
:replica_kms_key_id)
|
1541
|
+
SENSITIVE = []
|
1542
|
+
include Aws::Structure
|
1543
|
+
end
|
1544
|
+
|
1362
1545
|
# The last established access control policy for a Multi-Region Access
|
1363
1546
|
# Point.
|
1364
1547
|
#
|
@@ -1399,6 +1582,25 @@ module Aws::S3Control
|
|
1399
1582
|
include Aws::Structure
|
1400
1583
|
end
|
1401
1584
|
|
1585
|
+
# An optional configuration to replicate existing source bucket objects.
|
1586
|
+
#
|
1587
|
+
# <note markdown="1"> This is not supported by Amazon S3 on Outposts buckets.
|
1588
|
+
#
|
1589
|
+
# </note>
|
1590
|
+
#
|
1591
|
+
# @!attribute [rw] status
|
1592
|
+
# Specifies whether Amazon S3 replicates existing source bucket
|
1593
|
+
# objects.
|
1594
|
+
# @return [String]
|
1595
|
+
#
|
1596
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ExistingObjectReplication AWS API Documentation
|
1597
|
+
#
|
1598
|
+
class ExistingObjectReplication < Struct.new(
|
1599
|
+
:status)
|
1600
|
+
SENSITIVE = []
|
1601
|
+
include Aws::Structure
|
1602
|
+
end
|
1603
|
+
|
1402
1604
|
# The encryption configuration to use when storing the generated
|
1403
1605
|
# manifest.
|
1404
1606
|
#
|
@@ -1537,7 +1739,7 @@ module Aws::S3Control
|
|
1537
1739
|
# Services SDK and CLI, you must specify the ARN of the access point
|
1538
1740
|
# accessed in the format
|
1539
1741
|
# `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>`.
|
1540
|
-
# For example, to access the access point `reports-ap` through
|
1742
|
+
# For example, to access the access point `reports-ap` through Outpost
|
1541
1743
|
# `my-outpost` owned by account `123456789012` in Region `us-west-2`,
|
1542
1744
|
# use the URL encoding of
|
1543
1745
|
# `arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap`.
|
@@ -1648,7 +1850,7 @@ module Aws::S3Control
|
|
1648
1850
|
# Services SDK and CLI, you must specify the ARN of the access point
|
1649
1851
|
# accessed in the format
|
1650
1852
|
# `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>`.
|
1651
|
-
# For example, to access the access point `reports-ap` through
|
1853
|
+
# For example, to access the access point `reports-ap` through Outpost
|
1652
1854
|
# `my-outpost` owned by account `123456789012` in Region `us-west-2`,
|
1653
1855
|
# use the URL encoding of
|
1654
1856
|
# `arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap`.
|
@@ -1759,7 +1961,7 @@ module Aws::S3Control
|
|
1759
1961
|
# Services SDK and CLI, you must specify the ARN of the bucket
|
1760
1962
|
# accessed in the format
|
1761
1963
|
# `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
|
1762
|
-
# For example, to access the bucket `reports` through
|
1964
|
+
# For example, to access the bucket `reports` through Outpost
|
1763
1965
|
# `my-outpost` owned by account `123456789012` in Region `us-west-2`,
|
1764
1966
|
# use the URL encoding of
|
1765
1967
|
# `arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports`.
|
@@ -1801,7 +2003,7 @@ module Aws::S3Control
|
|
1801
2003
|
# Services SDK and CLI, you must specify the ARN of the bucket
|
1802
2004
|
# accessed in the format
|
1803
2005
|
# `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
|
1804
|
-
# For example, to access the bucket `reports` through
|
2006
|
+
# For example, to access the bucket `reports` through Outpost
|
1805
2007
|
# `my-outpost` owned by account `123456789012` in Region `us-west-2`,
|
1806
2008
|
# use the URL encoding of
|
1807
2009
|
# `arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports`.
|
@@ -1829,6 +2031,50 @@ module Aws::S3Control
|
|
1829
2031
|
include Aws::Structure
|
1830
2032
|
end
|
1831
2033
|
|
2034
|
+
# @!attribute [rw] account_id
|
2035
|
+
# The Amazon Web Services account ID of the Outposts bucket.
|
2036
|
+
# @return [String]
|
2037
|
+
#
|
2038
|
+
# @!attribute [rw] bucket
|
2039
|
+
# Specifies the bucket to get the replication information for.
|
2040
|
+
#
|
2041
|
+
# For using this parameter with Amazon S3 on Outposts with the REST
|
2042
|
+
# API, you must specify the name and the x-amz-outpost-id as well.
|
2043
|
+
#
|
2044
|
+
# For using this parameter with S3 on Outposts with the Amazon Web
|
2045
|
+
# Services SDK and CLI, you must specify the ARN of the bucket
|
2046
|
+
# accessed in the format
|
2047
|
+
# `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
|
2048
|
+
# For example, to access the bucket `reports` through Outpost
|
2049
|
+
# `my-outpost` owned by account `123456789012` in Region `us-west-2`,
|
2050
|
+
# use the URL encoding of
|
2051
|
+
# `arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports`.
|
2052
|
+
# The value must be URL encoded.
|
2053
|
+
# @return [String]
|
2054
|
+
#
|
2055
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetBucketReplicationRequest AWS API Documentation
|
2056
|
+
#
|
2057
|
+
class GetBucketReplicationRequest < Struct.new(
|
2058
|
+
:account_id,
|
2059
|
+
:bucket)
|
2060
|
+
SENSITIVE = []
|
2061
|
+
include Aws::Structure
|
2062
|
+
end
|
2063
|
+
|
2064
|
+
# @!attribute [rw] replication_configuration
|
2065
|
+
# A container for one or more replication rules. A replication
|
2066
|
+
# configuration must have at least one rule and you can add up to 100
|
2067
|
+
# rules. The maximum size of a replication configuration is 128 KB.
|
2068
|
+
# @return [Types::ReplicationConfiguration]
|
2069
|
+
#
|
2070
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetBucketReplicationResult AWS API Documentation
|
2071
|
+
#
|
2072
|
+
class GetBucketReplicationResult < Struct.new(
|
2073
|
+
:replication_configuration)
|
2074
|
+
SENSITIVE = []
|
2075
|
+
include Aws::Structure
|
2076
|
+
end
|
2077
|
+
|
1832
2078
|
# @!attribute [rw] account_id
|
1833
2079
|
# The Amazon Web Services account ID of the Outposts bucket.
|
1834
2080
|
# @return [String]
|
@@ -1843,7 +2089,7 @@ module Aws::S3Control
|
|
1843
2089
|
# Services SDK and CLI, you must specify the ARN of the bucket
|
1844
2090
|
# accessed in the format
|
1845
2091
|
# `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
|
1846
|
-
# For example, to access the bucket `reports` through
|
2092
|
+
# For example, to access the bucket `reports` through Outpost
|
1847
2093
|
# `my-outpost` owned by account `123456789012` in Region `us-west-2`,
|
1848
2094
|
# use the URL encoding of
|
1849
2095
|
# `arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports`.
|
@@ -1894,7 +2140,7 @@ module Aws::S3Control
|
|
1894
2140
|
# Services SDK and CLI, you must specify the ARN of the bucket
|
1895
2141
|
# accessed in the format
|
1896
2142
|
# `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
|
1897
|
-
# For example, to access the bucket `reports` through
|
2143
|
+
# For example, to access the bucket `reports` through Outpost
|
1898
2144
|
# `my-outpost` owned by account `123456789012` in Region `us-west-2`,
|
1899
2145
|
# use the URL encoding of
|
1900
2146
|
# `arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports`.
|
@@ -2579,9 +2825,10 @@ module Aws::S3Control
|
|
2579
2825
|
# @!attribute [rw] object_arn
|
2580
2826
|
# The Amazon Resource Name (ARN) for a manifest object.
|
2581
2827
|
#
|
2582
|
-
#
|
2583
|
-
#
|
2584
|
-
# more information, see [ XML
|
2828
|
+
# When you're using XML requests, you must replace special characters
|
2829
|
+
# (such as carriage returns) in object keys with their equivalent XML
|
2830
|
+
# entity codes. For more information, see [ XML-related object key
|
2831
|
+
# constraints][1] in the *Amazon S3 User Guide*.
|
2585
2832
|
#
|
2586
2833
|
#
|
2587
2834
|
#
|
@@ -2670,10 +2917,10 @@ module Aws::S3Control
|
|
2670
2917
|
#
|
2671
2918
|
# @!attribute [rw] s3_put_object_legal_hold
|
2672
2919
|
# Contains the configuration for an S3 Object Lock legal hold
|
2673
|
-
# operation that an S3 Batch Operations job passes every object to
|
2674
|
-
# underlying `PutObjectLegalHold` API. For more
|
2675
|
-
# [Using S3 Object Lock legal hold with S3 Batch
|
2676
|
-
# *Amazon S3 User Guide*.
|
2920
|
+
# operation that an S3 Batch Operations job passes to every object to
|
2921
|
+
# the underlying `PutObjectLegalHold` API operation. For more
|
2922
|
+
# information, see [Using S3 Object Lock legal hold with S3 Batch
|
2923
|
+
# Operations][1] in the *Amazon S3 User Guide*.
|
2677
2924
|
#
|
2678
2925
|
#
|
2679
2926
|
#
|
@@ -2683,8 +2930,8 @@ module Aws::S3Control
|
|
2683
2930
|
# @!attribute [rw] s3_put_object_retention
|
2684
2931
|
# Contains the configuration parameters for the Object Lock retention
|
2685
2932
|
# action for an S3 Batch Operations job. Batch Operations passes every
|
2686
|
-
# object to the underlying `PutObjectRetention` API. For
|
2687
|
-
# information, see [Using S3 Object Lock retention with S3 Batch
|
2933
|
+
# object to the underlying `PutObjectRetention` API operation. For
|
2934
|
+
# more information, see [Using S3 Object Lock retention with S3 Batch
|
2688
2935
|
# Operations][1] in the *Amazon S3 User Guide*.
|
2689
2936
|
#
|
2690
2937
|
#
|
@@ -2973,9 +3220,10 @@ module Aws::S3Control
|
|
2973
3220
|
# @!attribute [rw] prefix
|
2974
3221
|
# Prefix identifying one or more objects to which the rule applies.
|
2975
3222
|
#
|
2976
|
-
#
|
2977
|
-
#
|
2978
|
-
# more information, see [ XML
|
3223
|
+
# When you're using XML requests, you must replace special characters
|
3224
|
+
# (such as carriage returns) in object keys with their equivalent XML
|
3225
|
+
# entity codes. For more information, see [ XML-related object key
|
3226
|
+
# constraints][1] in the *Amazon S3 User Guide*.
|
2979
3227
|
#
|
2980
3228
|
#
|
2981
3229
|
#
|
@@ -3077,7 +3325,7 @@ module Aws::S3Control
|
|
3077
3325
|
# Services SDK and CLI, you must specify the ARN of the bucket
|
3078
3326
|
# accessed in the format
|
3079
3327
|
# `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
|
3080
|
-
# For example, to access the bucket `reports` through
|
3328
|
+
# For example, to access the bucket `reports` through Outpost
|
3081
3329
|
# `my-outpost` owned by account `123456789012` in Region `us-west-2`,
|
3082
3330
|
# use the URL encoding of
|
3083
3331
|
# `arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports`.
|
@@ -3347,6 +3595,30 @@ module Aws::S3Control
|
|
3347
3595
|
include Aws::Structure
|
3348
3596
|
end
|
3349
3597
|
|
3598
|
+
# A container that specifies replication metrics-related settings.
|
3599
|
+
#
|
3600
|
+
# @!attribute [rw] status
|
3601
|
+
# Specifies whether replication metrics are enabled.
|
3602
|
+
# @return [String]
|
3603
|
+
#
|
3604
|
+
# @!attribute [rw] event_threshold
|
3605
|
+
# A container that specifies the time threshold for emitting the
|
3606
|
+
# `s3:Replication:OperationMissedThreshold` event.
|
3607
|
+
#
|
3608
|
+
# <note markdown="1"> This is not supported by Amazon S3 on Outposts buckets.
|
3609
|
+
#
|
3610
|
+
# </note>
|
3611
|
+
# @return [Types::ReplicationTimeValue]
|
3612
|
+
#
|
3613
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/Metrics AWS API Documentation
|
3614
|
+
#
|
3615
|
+
class Metrics < Struct.new(
|
3616
|
+
:status,
|
3617
|
+
:event_threshold)
|
3618
|
+
SENSITIVE = []
|
3619
|
+
include Aws::Structure
|
3620
|
+
end
|
3621
|
+
|
3350
3622
|
# The Multi-Region Access Point access control policy.
|
3351
3623
|
#
|
3352
3624
|
# When you update the policy, the update is first listed as the proposed
|
@@ -3927,7 +4199,7 @@ module Aws::S3Control
|
|
3927
4199
|
# Services SDK and CLI, you must specify the ARN of the access point
|
3928
4200
|
# accessed in the format
|
3929
4201
|
# `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>`.
|
3930
|
-
# For example, to access the access point `reports-ap` through
|
4202
|
+
# For example, to access the access point `reports-ap` through Outpost
|
3931
4203
|
# `my-outpost` owned by account `123456789012` in Region `us-west-2`,
|
3932
4204
|
# use the URL encoding of
|
3933
4205
|
# `arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap`.
|
@@ -3991,7 +4263,7 @@ module Aws::S3Control
|
|
3991
4263
|
# Services SDK and CLI, you must specify the ARN of the bucket
|
3992
4264
|
# accessed in the format
|
3993
4265
|
# `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
|
3994
|
-
# For example, to access the bucket `reports` through
|
4266
|
+
# For example, to access the bucket `reports` through Outpost
|
3995
4267
|
# `my-outpost` owned by account `123456789012` in Region `us-west-2`,
|
3996
4268
|
# use the URL encoding of
|
3997
4269
|
# `arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports`.
|
@@ -4022,6 +4294,40 @@ module Aws::S3Control
|
|
4022
4294
|
include Aws::Structure
|
4023
4295
|
end
|
4024
4296
|
|
4297
|
+
# @!attribute [rw] account_id
|
4298
|
+
# The Amazon Web Services account ID of the Outposts bucket.
|
4299
|
+
# @return [String]
|
4300
|
+
#
|
4301
|
+
# @!attribute [rw] bucket
|
4302
|
+
# Specifies the S3 on Outposts bucket to set the configuration for.
|
4303
|
+
#
|
4304
|
+
# For using this parameter with Amazon S3 on Outposts with the REST
|
4305
|
+
# API, you must specify the name and the x-amz-outpost-id as well.
|
4306
|
+
#
|
4307
|
+
# For using this parameter with S3 on Outposts with the Amazon Web
|
4308
|
+
# Services SDK and CLI, you must specify the ARN of the bucket
|
4309
|
+
# accessed in the format
|
4310
|
+
# `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
|
4311
|
+
# For example, to access the bucket `reports` through Outpost
|
4312
|
+
# `my-outpost` owned by account `123456789012` in Region `us-west-2`,
|
4313
|
+
# use the URL encoding of
|
4314
|
+
# `arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports`.
|
4315
|
+
# The value must be URL encoded.
|
4316
|
+
# @return [String]
|
4317
|
+
#
|
4318
|
+
# @!attribute [rw] replication_configuration
|
4319
|
+
# @return [Types::ReplicationConfiguration]
|
4320
|
+
#
|
4321
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutBucketReplicationRequest AWS API Documentation
|
4322
|
+
#
|
4323
|
+
class PutBucketReplicationRequest < Struct.new(
|
4324
|
+
:account_id,
|
4325
|
+
:bucket,
|
4326
|
+
:replication_configuration)
|
4327
|
+
SENSITIVE = []
|
4328
|
+
include Aws::Structure
|
4329
|
+
end
|
4330
|
+
|
4025
4331
|
# @!attribute [rw] account_id
|
4026
4332
|
# The Amazon Web Services account ID of the Outposts bucket.
|
4027
4333
|
# @return [String]
|
@@ -4036,7 +4342,7 @@ module Aws::S3Control
|
|
4036
4342
|
# Services SDK and CLI, you must specify the ARN of the bucket
|
4037
4343
|
# accessed in the format
|
4038
4344
|
# `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
|
4039
|
-
# For example, to access the bucket `reports` through
|
4345
|
+
# For example, to access the bucket `reports` through Outpost
|
4040
4346
|
# `my-outpost` owned by account `123456789012` in Region `us-west-2`,
|
4041
4347
|
# use the URL encoding of
|
4042
4348
|
# `arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports`.
|
@@ -4271,10 +4577,16 @@ module Aws::S3Control
|
|
4271
4577
|
# The name of the associated bucket for the Region.
|
4272
4578
|
# @return [String]
|
4273
4579
|
#
|
4580
|
+
# @!attribute [rw] bucket_account_id
|
4581
|
+
# The Amazon Web Services account ID that owns the Amazon S3 bucket
|
4582
|
+
# that's associated with this Multi-Region Access Point.
|
4583
|
+
# @return [String]
|
4584
|
+
#
|
4274
4585
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/Region AWS API Documentation
|
4275
4586
|
#
|
4276
4587
|
class Region < Struct.new(
|
4277
|
-
:bucket
|
4588
|
+
:bucket,
|
4589
|
+
:bucket_account_id)
|
4278
4590
|
SENSITIVE = []
|
4279
4591
|
include Aws::Structure
|
4280
4592
|
end
|
@@ -4290,11 +4602,17 @@ module Aws::S3Control
|
|
4290
4602
|
# The name of the Region.
|
4291
4603
|
# @return [String]
|
4292
4604
|
#
|
4605
|
+
# @!attribute [rw] bucket_account_id
|
4606
|
+
# The Amazon Web Services account ID that owns the Amazon S3 bucket
|
4607
|
+
# that's associated with this Multi-Region Access Point.
|
4608
|
+
# @return [String]
|
4609
|
+
#
|
4293
4610
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/RegionReport AWS API Documentation
|
4294
4611
|
#
|
4295
4612
|
class RegionReport < Struct.new(
|
4296
4613
|
:bucket,
|
4297
|
-
:region
|
4614
|
+
:region,
|
4615
|
+
:bucket_account_id)
|
4298
4616
|
SENSITIVE = []
|
4299
4617
|
include Aws::Structure
|
4300
4618
|
end
|
@@ -4331,6 +4649,301 @@ module Aws::S3Control
|
|
4331
4649
|
include Aws::Structure
|
4332
4650
|
end
|
4333
4651
|
|
4652
|
+
# A filter that you can use to specify whether replica modification sync
|
4653
|
+
# is enabled. S3 on Outposts replica modification sync can help you keep
|
4654
|
+
# object metadata synchronized between replicas and source objects. By
|
4655
|
+
# default, S3 on Outposts replicates metadata from the source objects to
|
4656
|
+
# the replicas only. When replica modification sync is enabled, S3 on
|
4657
|
+
# Outposts replicates metadata changes made to the replica copies back
|
4658
|
+
# to the source object, making the replication bidirectional.
|
4659
|
+
#
|
4660
|
+
# To replicate object metadata modifications on replicas, you can
|
4661
|
+
# specify this element and set the `Status` of this element to
|
4662
|
+
# `Enabled`.
|
4663
|
+
#
|
4664
|
+
# <note markdown="1"> You must enable replica modification sync on the source and
|
4665
|
+
# destination buckets to replicate replica metadata changes between the
|
4666
|
+
# source and the replicas.
|
4667
|
+
#
|
4668
|
+
# </note>
|
4669
|
+
#
|
4670
|
+
# @!attribute [rw] status
|
4671
|
+
# Specifies whether S3 on Outposts replicates modifications to object
|
4672
|
+
# metadata on replicas.
|
4673
|
+
# @return [String]
|
4674
|
+
#
|
4675
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ReplicaModifications AWS API Documentation
|
4676
|
+
#
|
4677
|
+
class ReplicaModifications < Struct.new(
|
4678
|
+
:status)
|
4679
|
+
SENSITIVE = []
|
4680
|
+
include Aws::Structure
|
4681
|
+
end
|
4682
|
+
|
4683
|
+
# A container for one or more replication rules. A replication
|
4684
|
+
# configuration must have at least one rule and you can add up to 100
|
4685
|
+
# rules. The maximum size of a replication configuration is 128 KB.
|
4686
|
+
#
|
4687
|
+
# @!attribute [rw] role
|
4688
|
+
# The Amazon Resource Name (ARN) of the Identity and Access Management
|
4689
|
+
# (IAM) role that S3 on Outposts assumes when replicating objects. For
|
4690
|
+
# information about S3 replication on Outposts configuration, see
|
4691
|
+
# [Setting up replication][1] in the *Amazon S3 User Guide*.
|
4692
|
+
#
|
4693
|
+
#
|
4694
|
+
#
|
4695
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/outposts-replication-how-setup.html
|
4696
|
+
# @return [String]
|
4697
|
+
#
|
4698
|
+
# @!attribute [rw] rules
|
4699
|
+
# A container for one or more replication rules. A replication
|
4700
|
+
# configuration must have at least one rule and can contain an array
|
4701
|
+
# of 100 rules at the most.
|
4702
|
+
# @return [Array<Types::ReplicationRule>]
|
4703
|
+
#
|
4704
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ReplicationConfiguration AWS API Documentation
|
4705
|
+
#
|
4706
|
+
class ReplicationConfiguration < Struct.new(
|
4707
|
+
:role,
|
4708
|
+
:rules)
|
4709
|
+
SENSITIVE = []
|
4710
|
+
include Aws::Structure
|
4711
|
+
end
|
4712
|
+
|
4713
|
+
# Specifies which S3 on Outposts objects to replicate and where to store
|
4714
|
+
# the replicas.
|
4715
|
+
#
|
4716
|
+
# @!attribute [rw] id
|
4717
|
+
# A unique identifier for the rule. The maximum value is 255
|
4718
|
+
# characters.
|
4719
|
+
# @return [String]
|
4720
|
+
#
|
4721
|
+
# @!attribute [rw] priority
|
4722
|
+
# The priority indicates which rule has precedence whenever two or
|
4723
|
+
# more replication rules conflict. S3 on Outposts attempts to
|
4724
|
+
# replicate objects according to all replication rules. However, if
|
4725
|
+
# there are two or more rules with the same destination Outposts
|
4726
|
+
# bucket, then objects will be replicated according to the rule with
|
4727
|
+
# the highest priority. The higher the number, the higher the
|
4728
|
+
# priority.
|
4729
|
+
#
|
4730
|
+
# For more information, see [Creating replication rules between
|
4731
|
+
# Outposts][1] in the *Amazon S3 User Guide*.
|
4732
|
+
#
|
4733
|
+
#
|
4734
|
+
#
|
4735
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/replication-between-outposts.html
|
4736
|
+
# @return [Integer]
|
4737
|
+
#
|
4738
|
+
# @!attribute [rw] prefix
|
4739
|
+
# An object key name prefix that identifies the object or objects to
|
4740
|
+
# which the rule applies. The maximum prefix length is 1,024
|
4741
|
+
# characters. To include all objects in an Outposts bucket, specify an
|
4742
|
+
# empty string.
|
4743
|
+
#
|
4744
|
+
# When you're using XML requests, you must replace special characters
|
4745
|
+
# (such as carriage returns) in object keys with their equivalent XML
|
4746
|
+
# entity codes. For more information, see [ XML-related object key
|
4747
|
+
# constraints][1] in the *Amazon S3 User Guide*.
|
4748
|
+
#
|
4749
|
+
#
|
4750
|
+
#
|
4751
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
|
4752
|
+
# @return [String]
|
4753
|
+
#
|
4754
|
+
# @!attribute [rw] filter
|
4755
|
+
# A filter that identifies the subset of objects to which the
|
4756
|
+
# replication rule applies. A `Filter` element must specify exactly
|
4757
|
+
# one `Prefix`, `Tag`, or `And` child element.
|
4758
|
+
# @return [Types::ReplicationRuleFilter]
|
4759
|
+
#
|
4760
|
+
# @!attribute [rw] status
|
4761
|
+
# Specifies whether the rule is enabled.
|
4762
|
+
# @return [String]
|
4763
|
+
#
|
4764
|
+
# @!attribute [rw] source_selection_criteria
|
4765
|
+
# A container that describes additional filters for identifying the
|
4766
|
+
# source Outposts objects that you want to replicate. You can choose
|
4767
|
+
# to enable or disable the replication of these objects.
|
4768
|
+
# @return [Types::SourceSelectionCriteria]
|
4769
|
+
#
|
4770
|
+
# @!attribute [rw] existing_object_replication
|
4771
|
+
# An optional configuration to replicate existing source bucket
|
4772
|
+
# objects.
|
4773
|
+
#
|
4774
|
+
# <note markdown="1"> This is not supported by Amazon S3 on Outposts buckets.
|
4775
|
+
#
|
4776
|
+
# </note>
|
4777
|
+
# @return [Types::ExistingObjectReplication]
|
4778
|
+
#
|
4779
|
+
# @!attribute [rw] destination
|
4780
|
+
# A container for information about the replication destination and
|
4781
|
+
# its configurations.
|
4782
|
+
# @return [Types::Destination]
|
4783
|
+
#
|
4784
|
+
# @!attribute [rw] delete_marker_replication
|
4785
|
+
# Specifies whether S3 on Outposts replicates delete markers. If you
|
4786
|
+
# specify a `Filter` element in your replication configuration, you
|
4787
|
+
# must also include a `DeleteMarkerReplication` element. If your
|
4788
|
+
# `Filter` includes a `Tag` element, the `DeleteMarkerReplication`
|
4789
|
+
# element's `Status` child element must be set to `Disabled`, because
|
4790
|
+
# S3 on Outposts doesn't support replicating delete markers for
|
4791
|
+
# tag-based rules.
|
4792
|
+
#
|
4793
|
+
# For more information about delete marker replication, see [How
|
4794
|
+
# delete operations affect replication][1] in the *Amazon S3 User
|
4795
|
+
# Guide*.
|
4796
|
+
#
|
4797
|
+
#
|
4798
|
+
#
|
4799
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsReplication.html#outposts-replication-what-is-replicated
|
4800
|
+
# @return [Types::DeleteMarkerReplication]
|
4801
|
+
#
|
4802
|
+
# @!attribute [rw] bucket
|
4803
|
+
# The Amazon Resource Name (ARN) of the access point for the source
|
4804
|
+
# Outposts bucket that you want S3 on Outposts to replicate the
|
4805
|
+
# objects from.
|
4806
|
+
# @return [String]
|
4807
|
+
#
|
4808
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ReplicationRule AWS API Documentation
|
4809
|
+
#
|
4810
|
+
class ReplicationRule < Struct.new(
|
4811
|
+
:id,
|
4812
|
+
:priority,
|
4813
|
+
:prefix,
|
4814
|
+
:filter,
|
4815
|
+
:status,
|
4816
|
+
:source_selection_criteria,
|
4817
|
+
:existing_object_replication,
|
4818
|
+
:destination,
|
4819
|
+
:delete_marker_replication,
|
4820
|
+
:bucket)
|
4821
|
+
SENSITIVE = []
|
4822
|
+
include Aws::Structure
|
4823
|
+
end
|
4824
|
+
|
4825
|
+
# A container for specifying rule filters. The filters determine the
|
4826
|
+
# subset of objects to which the rule applies. This element is required
|
4827
|
+
# only if you specify more than one filter.
|
4828
|
+
#
|
4829
|
+
# For example:
|
4830
|
+
#
|
4831
|
+
# * If you specify both a `Prefix` and a `Tag` filter, wrap these
|
4832
|
+
# filters in an `And` element.
|
4833
|
+
#
|
4834
|
+
# * If you specify a filter based on multiple tags, wrap the `Tag`
|
4835
|
+
# elements in an `And` element.
|
4836
|
+
#
|
4837
|
+
# @!attribute [rw] prefix
|
4838
|
+
# An object key name prefix that identifies the subset of objects that
|
4839
|
+
# the rule applies to.
|
4840
|
+
# @return [String]
|
4841
|
+
#
|
4842
|
+
# @!attribute [rw] tags
|
4843
|
+
# An array of tags that contain key and value pairs.
|
4844
|
+
# @return [Array<Types::S3Tag>]
|
4845
|
+
#
|
4846
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ReplicationRuleAndOperator AWS API Documentation
|
4847
|
+
#
|
4848
|
+
class ReplicationRuleAndOperator < Struct.new(
|
4849
|
+
:prefix,
|
4850
|
+
:tags)
|
4851
|
+
SENSITIVE = []
|
4852
|
+
include Aws::Structure
|
4853
|
+
end
|
4854
|
+
|
4855
|
+
# A filter that identifies the subset of objects to which the
|
4856
|
+
# replication rule applies. A `Filter` element must specify exactly one
|
4857
|
+
# `Prefix`, `Tag`, or `And` child element.
|
4858
|
+
#
|
4859
|
+
# @!attribute [rw] prefix
|
4860
|
+
# An object key name prefix that identifies the subset of objects that
|
4861
|
+
# the rule applies to.
|
4862
|
+
#
|
4863
|
+
# When you're using XML requests, you must replace special characters
|
4864
|
+
# (such as carriage returns) in object keys with their equivalent XML
|
4865
|
+
# entity codes. For more information, see [ XML-related object key
|
4866
|
+
# constraints][1] in the *Amazon S3 User Guide*.
|
4867
|
+
#
|
4868
|
+
#
|
4869
|
+
#
|
4870
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
|
4871
|
+
# @return [String]
|
4872
|
+
#
|
4873
|
+
# @!attribute [rw] tag
|
4874
|
+
# A container for a key-value name pair.
|
4875
|
+
# @return [Types::S3Tag]
|
4876
|
+
#
|
4877
|
+
# @!attribute [rw] and
|
4878
|
+
# A container for specifying rule filters. The filters determine the
|
4879
|
+
# subset of objects that the rule applies to. This element is required
|
4880
|
+
# only if you specify more than one filter. For example:
|
4881
|
+
#
|
4882
|
+
# * If you specify both a `Prefix` and a `Tag` filter, wrap these
|
4883
|
+
# filters in an `And` element.
|
4884
|
+
#
|
4885
|
+
# * If you specify a filter based on multiple tags, wrap the `Tag`
|
4886
|
+
# elements in an `And` element.
|
4887
|
+
# @return [Types::ReplicationRuleAndOperator]
|
4888
|
+
#
|
4889
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ReplicationRuleFilter AWS API Documentation
|
4890
|
+
#
|
4891
|
+
class ReplicationRuleFilter < Struct.new(
|
4892
|
+
:prefix,
|
4893
|
+
:tag,
|
4894
|
+
:and)
|
4895
|
+
SENSITIVE = []
|
4896
|
+
include Aws::Structure
|
4897
|
+
end
|
4898
|
+
|
4899
|
+
# A container that specifies S3 Replication Time Control (S3 RTC)
|
4900
|
+
# related information, including whether S3 RTC is enabled and the time
|
4901
|
+
# when all objects and operations on objects must be replicated.
|
4902
|
+
#
|
4903
|
+
# <note markdown="1"> This is not supported by Amazon S3 on Outposts buckets.
|
4904
|
+
#
|
4905
|
+
# </note>
|
4906
|
+
#
|
4907
|
+
# @!attribute [rw] status
|
4908
|
+
# Specifies whether S3 Replication Time Control (S3 RTC) is enabled.
|
4909
|
+
# @return [String]
|
4910
|
+
#
|
4911
|
+
# @!attribute [rw] time
|
4912
|
+
# A container that specifies the time by which replication should be
|
4913
|
+
# complete for all objects and operations on objects.
|
4914
|
+
# @return [Types::ReplicationTimeValue]
|
4915
|
+
#
|
4916
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ReplicationTime AWS API Documentation
|
4917
|
+
#
|
4918
|
+
class ReplicationTime < Struct.new(
|
4919
|
+
:status,
|
4920
|
+
:time)
|
4921
|
+
SENSITIVE = []
|
4922
|
+
include Aws::Structure
|
4923
|
+
end
|
4924
|
+
|
4925
|
+
# A container that specifies the time value for S3 Replication Time
|
4926
|
+
# Control (S3 RTC). This value is also used for the replication metrics
|
4927
|
+
# `EventThreshold` element.
|
4928
|
+
#
|
4929
|
+
# <note markdown="1"> This is not supported by Amazon S3 on Outposts buckets.
|
4930
|
+
#
|
4931
|
+
# </note>
|
4932
|
+
#
|
4933
|
+
# @!attribute [rw] minutes
|
4934
|
+
# Contains an integer that specifies the time period in minutes.
|
4935
|
+
#
|
4936
|
+
# Valid value: 15
|
4937
|
+
# @return [Integer]
|
4938
|
+
#
|
4939
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ReplicationTimeValue AWS API Documentation
|
4940
|
+
#
|
4941
|
+
class ReplicationTimeValue < Struct.new(
|
4942
|
+
:minutes)
|
4943
|
+
SENSITIVE = []
|
4944
|
+
include Aws::Structure
|
4945
|
+
end
|
4946
|
+
|
4334
4947
|
# @!attribute [rw] owner
|
4335
4948
|
# @return [Types::S3ObjectOwner]
|
4336
4949
|
#
|
@@ -4407,18 +5020,18 @@ module Aws::S3Control
|
|
4407
5020
|
end
|
4408
5021
|
|
4409
5022
|
# Contains the configuration parameters for a PUT Copy object operation.
|
4410
|
-
# S3 Batch Operations passes every object to the underlying
|
4411
|
-
#
|
4412
|
-
# operation, see [
|
5023
|
+
# S3 Batch Operations passes every object to the underlying `CopyObject`
|
5024
|
+
# API operation. For more information about the parameters for this
|
5025
|
+
# operation, see [CopyObject][1].
|
4413
5026
|
#
|
4414
5027
|
#
|
4415
5028
|
#
|
4416
5029
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectCOPY.html
|
4417
5030
|
#
|
4418
5031
|
# @!attribute [rw] target_resource
|
4419
|
-
# Specifies the destination bucket ARN for the
|
4420
|
-
# For example, to copy objects to a bucket named
|
4421
|
-
# set the `TargetResource` property to
|
5032
|
+
# Specifies the destination bucket Amazon Resource Name (ARN) for the
|
5033
|
+
# batch copy operation. For example, to copy objects to a bucket named
|
5034
|
+
# `destinationBucket`, set the `TargetResource` property to
|
4422
5035
|
# `arn:aws:s3:::destinationBucket`.
|
4423
5036
|
# @return [String]
|
4424
5037
|
#
|
@@ -4463,9 +5076,9 @@ module Aws::S3Control
|
|
4463
5076
|
# @return [String]
|
4464
5077
|
#
|
4465
5078
|
# @!attribute [rw] target_key_prefix
|
4466
|
-
# Specifies the folder prefix
|
4467
|
-
#
|
4468
|
-
#
|
5079
|
+
# Specifies the folder prefix that you want the objects to be copied
|
5080
|
+
# into. For example, to copy objects into a folder named `Folder1` in
|
5081
|
+
# the destination bucket, set the `TargetKeyPrefix` property to
|
4469
5082
|
# `Folder1`.
|
4470
5083
|
# @return [String]
|
4471
5084
|
#
|
@@ -4495,8 +5108,8 @@ module Aws::S3Control
|
|
4495
5108
|
# @return [Boolean]
|
4496
5109
|
#
|
4497
5110
|
# @!attribute [rw] checksum_algorithm
|
4498
|
-
# Indicates the algorithm you want Amazon S3 to use to create the
|
4499
|
-
# checksum. For more information see [ Checking object integrity][1]
|
5111
|
+
# Indicates the algorithm that you want Amazon S3 to use to create the
|
5112
|
+
# checksum. For more information, see [ Checking object integrity][1]
|
4500
5113
|
# in the *Amazon S3 User Guide*.
|
4501
5114
|
#
|
4502
5115
|
#
|
@@ -4530,8 +5143,8 @@ module Aws::S3Control
|
|
4530
5143
|
end
|
4531
5144
|
|
4532
5145
|
# Contains no configuration parameters because the DELETE Object tagging
|
4533
|
-
# API
|
4534
|
-
# defined in the job's manifest.
|
5146
|
+
# (`DeleteObjectTagging`) API operation accepts only the bucket name and
|
5147
|
+
# key name as parameters, which are defined in the job's manifest.
|
4535
5148
|
#
|
4536
5149
|
# @api private
|
4537
5150
|
#
|
@@ -4594,10 +5207,10 @@ module Aws::S3Control
|
|
4594
5207
|
include Aws::Structure
|
4595
5208
|
end
|
4596
5209
|
|
4597
|
-
# Contains the configuration parameters for
|
4598
|
-
#
|
4599
|
-
#
|
4600
|
-
# this operation, see [RestoreObject][1].
|
5210
|
+
# Contains the configuration parameters for a POST Object restore job.
|
5211
|
+
# S3 Batch Operations passes every object to the underlying
|
5212
|
+
# `RestoreObject` API operation. For more information about the
|
5213
|
+
# parameters for this operation, see [RestoreObject][1].
|
4601
5214
|
#
|
4602
5215
|
#
|
4603
5216
|
#
|
@@ -4836,10 +5449,10 @@ module Aws::S3Control
|
|
4836
5449
|
include Aws::Structure
|
4837
5450
|
end
|
4838
5451
|
|
4839
|
-
# Contains the configuration parameters for a
|
5452
|
+
# Contains the configuration parameters for a PUT Object ACL operation.
|
4840
5453
|
# S3 Batch Operations passes every object to the underlying
|
4841
|
-
# `PutObjectAcl` API. For more information about the
|
4842
|
-
# operation, see [
|
5454
|
+
# `PutObjectAcl` API operation. For more information about the
|
5455
|
+
# parameters for this operation, see [PutObjectAcl][1].
|
4843
5456
|
#
|
4844
5457
|
#
|
4845
5458
|
#
|
@@ -4857,10 +5470,10 @@ module Aws::S3Control
|
|
4857
5470
|
end
|
4858
5471
|
|
4859
5472
|
# Contains the configuration for an S3 Object Lock legal hold operation
|
4860
|
-
# that an S3 Batch Operations job passes every object to the
|
4861
|
-
# `PutObjectLegalHold` API. For more information,
|
4862
|
-
# Lock legal hold with S3 Batch Operations][1] in
|
4863
|
-
# Guide*.
|
5473
|
+
# that an S3 Batch Operations job passes to every object to the
|
5474
|
+
# underlying `PutObjectLegalHold` API operation. For more information,
|
5475
|
+
# see [Using S3 Object Lock legal hold with S3 Batch Operations][1] in
|
5476
|
+
# the *Amazon S3 User Guide*.
|
4864
5477
|
#
|
4865
5478
|
#
|
4866
5479
|
#
|
@@ -4881,7 +5494,7 @@ module Aws::S3Control
|
|
4881
5494
|
|
4882
5495
|
# Contains the configuration parameters for the Object Lock retention
|
4883
5496
|
# action for an S3 Batch Operations job. Batch Operations passes every
|
4884
|
-
# object to the underlying `PutObjectRetention` API. For more
|
5497
|
+
# object to the underlying `PutObjectRetention` API operation. For more
|
4885
5498
|
# information, see [Using S3 Object Lock retention with S3 Batch
|
4886
5499
|
# Operations][1] in the *Amazon S3 User Guide*.
|
4887
5500
|
#
|
@@ -4915,10 +5528,10 @@ module Aws::S3Control
|
|
4915
5528
|
include Aws::Structure
|
4916
5529
|
end
|
4917
5530
|
|
4918
|
-
# Contains the configuration parameters for a
|
5531
|
+
# Contains the configuration parameters for a PUT Object Tagging
|
4919
5532
|
# operation. S3 Batch Operations passes every object to the underlying
|
4920
|
-
#
|
4921
|
-
# this operation, see [
|
5533
|
+
# `PutObjectTagging` API operation. For more information about the
|
5534
|
+
# parameters for this operation, see [PutObjectTagging][1].
|
4922
5535
|
#
|
4923
5536
|
#
|
4924
5537
|
#
|
@@ -5028,6 +5641,72 @@ module Aws::S3Control
|
|
5028
5641
|
include Aws::Structure
|
5029
5642
|
end
|
5030
5643
|
|
5644
|
+
# A container that describes additional filters for identifying the
|
5645
|
+
# source objects that you want to replicate. You can choose to enable or
|
5646
|
+
# disable the replication of these objects.
|
5647
|
+
#
|
5648
|
+
# @!attribute [rw] sse_kms_encrypted_objects
|
5649
|
+
# A filter that you can use to select Amazon S3 objects that are
|
5650
|
+
# encrypted with server-side encryption by using Key Management
|
5651
|
+
# Service (KMS) keys. If you include `SourceSelectionCriteria` in the
|
5652
|
+
# replication configuration, this element is required.
|
5653
|
+
#
|
5654
|
+
# <note markdown="1"> This is not supported by Amazon S3 on Outposts buckets.
|
5655
|
+
#
|
5656
|
+
# </note>
|
5657
|
+
# @return [Types::SseKmsEncryptedObjects]
|
5658
|
+
#
|
5659
|
+
# @!attribute [rw] replica_modifications
|
5660
|
+
# A filter that you can use to specify whether replica modification
|
5661
|
+
# sync is enabled. S3 on Outposts replica modification sync can help
|
5662
|
+
# you keep object metadata synchronized between replicas and source
|
5663
|
+
# objects. By default, S3 on Outposts replicates metadata from the
|
5664
|
+
# source objects to the replicas only. When replica modification sync
|
5665
|
+
# is enabled, S3 on Outposts replicates metadata changes made to the
|
5666
|
+
# replica copies back to the source object, making the replication
|
5667
|
+
# bidirectional.
|
5668
|
+
#
|
5669
|
+
# To replicate object metadata modifications on replicas, you can
|
5670
|
+
# specify this element and set the `Status` of this element to
|
5671
|
+
# `Enabled`.
|
5672
|
+
#
|
5673
|
+
# <note markdown="1"> You must enable replica modification sync on the source and
|
5674
|
+
# destination buckets to replicate replica metadata changes between
|
5675
|
+
# the source and the replicas.
|
5676
|
+
#
|
5677
|
+
# </note>
|
5678
|
+
# @return [Types::ReplicaModifications]
|
5679
|
+
#
|
5680
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/SourceSelectionCriteria AWS API Documentation
|
5681
|
+
#
|
5682
|
+
class SourceSelectionCriteria < Struct.new(
|
5683
|
+
:sse_kms_encrypted_objects,
|
5684
|
+
:replica_modifications)
|
5685
|
+
SENSITIVE = []
|
5686
|
+
include Aws::Structure
|
5687
|
+
end
|
5688
|
+
|
5689
|
+
# A container for filter information that you can use to select S3
|
5690
|
+
# objects that are encrypted with Key Management Service (KMS).
|
5691
|
+
#
|
5692
|
+
# <note markdown="1"> This is not supported by Amazon S3 on Outposts buckets.
|
5693
|
+
#
|
5694
|
+
# </note>
|
5695
|
+
#
|
5696
|
+
# @!attribute [rw] status
|
5697
|
+
# Specifies whether Amazon S3 replicates objects that are created with
|
5698
|
+
# server-side encryption by using an KMS key stored in Key Management
|
5699
|
+
# Service.
|
5700
|
+
# @return [String]
|
5701
|
+
#
|
5702
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/SseKmsEncryptedObjects AWS API Documentation
|
5703
|
+
#
|
5704
|
+
class SseKmsEncryptedObjects < Struct.new(
|
5705
|
+
:status)
|
5706
|
+
SENSITIVE = []
|
5707
|
+
include Aws::Structure
|
5708
|
+
end
|
5709
|
+
|
5031
5710
|
# The Amazon Web Services organization for your S3 Storage Lens.
|
5032
5711
|
#
|
5033
5712
|
# @!attribute [rw] arn
|