aws-sdk-s3control 1.60.0 → 1.61.0
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -14,6 +14,7 @@ module Aws::S3Control
|
|
14
14
|
include Seahorse::Model
|
15
15
|
|
16
16
|
AbortIncompleteMultipartUpload = Shapes::StructureShape.new(name: 'AbortIncompleteMultipartUpload')
|
17
|
+
AccessControlTranslation = Shapes::StructureShape.new(name: 'AccessControlTranslation')
|
17
18
|
AccessPoint = Shapes::StructureShape.new(name: 'AccessPoint')
|
18
19
|
AccessPointList = Shapes::ListShape.new(name: 'AccessPointList')
|
19
20
|
AccessPointName = Shapes::StringShape.new(name: 'AccessPointName')
|
@@ -39,6 +40,7 @@ module Aws::S3Control
|
|
39
40
|
BucketAlreadyExists = Shapes::StructureShape.new(name: 'BucketAlreadyExists')
|
40
41
|
BucketAlreadyOwnedByYou = Shapes::StructureShape.new(name: 'BucketAlreadyOwnedByYou')
|
41
42
|
BucketCannedACL = Shapes::StringShape.new(name: 'BucketCannedACL')
|
43
|
+
BucketIdentifierString = Shapes::StringShape.new(name: 'BucketIdentifierString')
|
42
44
|
BucketLevel = Shapes::StructureShape.new(name: 'BucketLevel')
|
43
45
|
BucketLocationConstraint = Shapes::StringShape.new(name: 'BucketLocationConstraint')
|
44
46
|
BucketName = Shapes::StringShape.new(name: 'BucketName')
|
@@ -72,10 +74,13 @@ module Aws::S3Control
|
|
72
74
|
DeleteAccessPointRequest = Shapes::StructureShape.new(name: 'DeleteAccessPointRequest')
|
73
75
|
DeleteBucketLifecycleConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteBucketLifecycleConfigurationRequest')
|
74
76
|
DeleteBucketPolicyRequest = Shapes::StructureShape.new(name: 'DeleteBucketPolicyRequest')
|
77
|
+
DeleteBucketReplicationRequest = Shapes::StructureShape.new(name: 'DeleteBucketReplicationRequest')
|
75
78
|
DeleteBucketRequest = Shapes::StructureShape.new(name: 'DeleteBucketRequest')
|
76
79
|
DeleteBucketTaggingRequest = Shapes::StructureShape.new(name: 'DeleteBucketTaggingRequest')
|
77
80
|
DeleteJobTaggingRequest = Shapes::StructureShape.new(name: 'DeleteJobTaggingRequest')
|
78
81
|
DeleteJobTaggingResult = Shapes::StructureShape.new(name: 'DeleteJobTaggingResult')
|
82
|
+
DeleteMarkerReplication = Shapes::StructureShape.new(name: 'DeleteMarkerReplication')
|
83
|
+
DeleteMarkerReplicationStatus = Shapes::StringShape.new(name: 'DeleteMarkerReplicationStatus')
|
79
84
|
DeleteMultiRegionAccessPointInput = Shapes::StructureShape.new(name: 'DeleteMultiRegionAccessPointInput')
|
80
85
|
DeleteMultiRegionAccessPointRequest = Shapes::StructureShape.new(name: 'DeleteMultiRegionAccessPointRequest')
|
81
86
|
DeleteMultiRegionAccessPointResult = Shapes::StructureShape.new(name: 'DeleteMultiRegionAccessPointResult')
|
@@ -87,11 +92,15 @@ module Aws::S3Control
|
|
87
92
|
DescribeJobResult = Shapes::StructureShape.new(name: 'DescribeJobResult')
|
88
93
|
DescribeMultiRegionAccessPointOperationRequest = Shapes::StructureShape.new(name: 'DescribeMultiRegionAccessPointOperationRequest')
|
89
94
|
DescribeMultiRegionAccessPointOperationResult = Shapes::StructureShape.new(name: 'DescribeMultiRegionAccessPointOperationResult')
|
95
|
+
Destination = Shapes::StructureShape.new(name: 'Destination')
|
90
96
|
DetailedStatusCodesMetrics = Shapes::StructureShape.new(name: 'DetailedStatusCodesMetrics')
|
97
|
+
EncryptionConfiguration = Shapes::StructureShape.new(name: 'EncryptionConfiguration')
|
91
98
|
Endpoints = Shapes::MapShape.new(name: 'Endpoints')
|
92
99
|
EstablishedMultiRegionAccessPointPolicy = Shapes::StructureShape.new(name: 'EstablishedMultiRegionAccessPointPolicy')
|
93
100
|
ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
|
94
101
|
Exclude = Shapes::StructureShape.new(name: 'Exclude')
|
102
|
+
ExistingObjectReplication = Shapes::StructureShape.new(name: 'ExistingObjectReplication')
|
103
|
+
ExistingObjectReplicationStatus = Shapes::StringShape.new(name: 'ExistingObjectReplicationStatus')
|
95
104
|
ExpirationStatus = Shapes::StringShape.new(name: 'ExpirationStatus')
|
96
105
|
ExpiredObjectDeleteMarker = Shapes::BooleanShape.new(name: 'ExpiredObjectDeleteMarker')
|
97
106
|
Format = Shapes::StringShape.new(name: 'Format')
|
@@ -116,6 +125,8 @@ module Aws::S3Control
|
|
116
125
|
GetBucketLifecycleConfigurationResult = Shapes::StructureShape.new(name: 'GetBucketLifecycleConfigurationResult')
|
117
126
|
GetBucketPolicyRequest = Shapes::StructureShape.new(name: 'GetBucketPolicyRequest')
|
118
127
|
GetBucketPolicyResult = Shapes::StructureShape.new(name: 'GetBucketPolicyResult')
|
128
|
+
GetBucketReplicationRequest = Shapes::StructureShape.new(name: 'GetBucketReplicationRequest')
|
129
|
+
GetBucketReplicationResult = Shapes::StructureShape.new(name: 'GetBucketReplicationResult')
|
119
130
|
GetBucketRequest = Shapes::StructureShape.new(name: 'GetBucketRequest')
|
120
131
|
GetBucketResult = Shapes::StructureShape.new(name: 'GetBucketResult')
|
121
132
|
GetBucketTaggingRequest = Shapes::StructureShape.new(name: 'GetBucketTaggingRequest')
|
@@ -214,7 +225,10 @@ module Aws::S3Control
|
|
214
225
|
ManifestPrefixString = Shapes::StringShape.new(name: 'ManifestPrefixString')
|
215
226
|
MaxLength1024String = Shapes::StringShape.new(name: 'MaxLength1024String')
|
216
227
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
228
|
+
Metrics = Shapes::StructureShape.new(name: 'Metrics')
|
229
|
+
MetricsStatus = Shapes::StringShape.new(name: 'MetricsStatus')
|
217
230
|
MinStorageBytesPercentage = Shapes::FloatShape.new(name: 'MinStorageBytesPercentage')
|
231
|
+
Minutes = Shapes::IntegerShape.new(name: 'Minutes')
|
218
232
|
MultiRegionAccessPointAlias = Shapes::StringShape.new(name: 'MultiRegionAccessPointAlias')
|
219
233
|
MultiRegionAccessPointClientToken = Shapes::StringShape.new(name: 'MultiRegionAccessPointClientToken')
|
220
234
|
MultiRegionAccessPointId = Shapes::StringShape.new(name: 'MultiRegionAccessPointId')
|
@@ -259,11 +273,13 @@ module Aws::S3Control
|
|
259
273
|
ObjectSizeLessThanBytes = Shapes::IntegerShape.new(name: 'ObjectSizeLessThanBytes')
|
260
274
|
OperationName = Shapes::StringShape.new(name: 'OperationName')
|
261
275
|
OutputSchemaVersion = Shapes::StringShape.new(name: 'OutputSchemaVersion')
|
276
|
+
OwnerOverride = Shapes::StringShape.new(name: 'OwnerOverride')
|
262
277
|
Policy = Shapes::StringShape.new(name: 'Policy')
|
263
278
|
PolicyStatus = Shapes::StructureShape.new(name: 'PolicyStatus')
|
264
279
|
Prefix = Shapes::StringShape.new(name: 'Prefix')
|
265
280
|
PrefixLevel = Shapes::StructureShape.new(name: 'PrefixLevel')
|
266
281
|
PrefixLevelStorageMetrics = Shapes::StructureShape.new(name: 'PrefixLevelStorageMetrics')
|
282
|
+
Priority = Shapes::IntegerShape.new(name: 'Priority')
|
267
283
|
ProposedMultiRegionAccessPointPolicy = Shapes::StructureShape.new(name: 'ProposedMultiRegionAccessPointPolicy')
|
268
284
|
PublicAccessBlockConfiguration = Shapes::StructureShape.new(name: 'PublicAccessBlockConfiguration')
|
269
285
|
PublicAccessBlockEnabled = Shapes::BooleanShape.new(name: 'PublicAccessBlockEnabled')
|
@@ -272,6 +288,7 @@ module Aws::S3Control
|
|
272
288
|
PutAccessPointPolicyRequest = Shapes::StructureShape.new(name: 'PutAccessPointPolicyRequest')
|
273
289
|
PutBucketLifecycleConfigurationRequest = Shapes::StructureShape.new(name: 'PutBucketLifecycleConfigurationRequest')
|
274
290
|
PutBucketPolicyRequest = Shapes::StructureShape.new(name: 'PutBucketPolicyRequest')
|
291
|
+
PutBucketReplicationRequest = Shapes::StructureShape.new(name: 'PutBucketReplicationRequest')
|
275
292
|
PutBucketTaggingRequest = Shapes::StructureShape.new(name: 'PutBucketTaggingRequest')
|
276
293
|
PutBucketVersioningRequest = Shapes::StructureShape.new(name: 'PutBucketVersioningRequest')
|
277
294
|
PutJobTaggingRequest = Shapes::StructureShape.new(name: 'PutJobTaggingRequest')
|
@@ -291,10 +308,24 @@ module Aws::S3Control
|
|
291
308
|
RegionalBucket = Shapes::StructureShape.new(name: 'RegionalBucket')
|
292
309
|
RegionalBucketList = Shapes::ListShape.new(name: 'RegionalBucketList')
|
293
310
|
Regions = Shapes::ListShape.new(name: 'Regions')
|
311
|
+
ReplicaKmsKeyID = Shapes::StringShape.new(name: 'ReplicaKmsKeyID')
|
312
|
+
ReplicaModifications = Shapes::StructureShape.new(name: 'ReplicaModifications')
|
313
|
+
ReplicaModificationsStatus = Shapes::StringShape.new(name: 'ReplicaModificationsStatus')
|
314
|
+
ReplicationConfiguration = Shapes::StructureShape.new(name: 'ReplicationConfiguration')
|
315
|
+
ReplicationRule = Shapes::StructureShape.new(name: 'ReplicationRule')
|
316
|
+
ReplicationRuleAndOperator = Shapes::StructureShape.new(name: 'ReplicationRuleAndOperator')
|
317
|
+
ReplicationRuleFilter = Shapes::StructureShape.new(name: 'ReplicationRuleFilter')
|
318
|
+
ReplicationRuleStatus = Shapes::StringShape.new(name: 'ReplicationRuleStatus')
|
319
|
+
ReplicationRules = Shapes::ListShape.new(name: 'ReplicationRules')
|
294
320
|
ReplicationStatus = Shapes::StringShape.new(name: 'ReplicationStatus')
|
295
321
|
ReplicationStatusFilterList = Shapes::ListShape.new(name: 'ReplicationStatusFilterList')
|
322
|
+
ReplicationStorageClass = Shapes::StringShape.new(name: 'ReplicationStorageClass')
|
323
|
+
ReplicationTime = Shapes::StructureShape.new(name: 'ReplicationTime')
|
324
|
+
ReplicationTimeStatus = Shapes::StringShape.new(name: 'ReplicationTimeStatus')
|
325
|
+
ReplicationTimeValue = Shapes::StructureShape.new(name: 'ReplicationTimeValue')
|
296
326
|
ReportPrefixString = Shapes::StringShape.new(name: 'ReportPrefixString')
|
297
327
|
RequestedJobStatus = Shapes::StringShape.new(name: 'RequestedJobStatus')
|
328
|
+
Role = Shapes::StringShape.new(name: 'Role')
|
298
329
|
RouteList = Shapes::ListShape.new(name: 'RouteList')
|
299
330
|
S3AWSRegion = Shapes::StringShape.new(name: 'S3AWSRegion')
|
300
331
|
S3AccessControlList = Shapes::StructureShape.new(name: 'S3AccessControlList')
|
@@ -346,6 +377,9 @@ module Aws::S3Control
|
|
346
377
|
SSES3Encryption = Shapes::StructureShape.new(name: 'SSES3Encryption')
|
347
378
|
SelectionCriteria = Shapes::StructureShape.new(name: 'SelectionCriteria')
|
348
379
|
Setting = Shapes::BooleanShape.new(name: 'Setting')
|
380
|
+
SourceSelectionCriteria = Shapes::StructureShape.new(name: 'SourceSelectionCriteria')
|
381
|
+
SseKmsEncryptedObjects = Shapes::StructureShape.new(name: 'SseKmsEncryptedObjects')
|
382
|
+
SseKmsEncryptedObjectsStatus = Shapes::StringShape.new(name: 'SseKmsEncryptedObjectsStatus')
|
349
383
|
StorageLensArn = Shapes::StringShape.new(name: 'StorageLensArn')
|
350
384
|
StorageLensAwsOrg = Shapes::StructureShape.new(name: 'StorageLensAwsOrg')
|
351
385
|
StorageLensConfiguration = Shapes::StructureShape.new(name: 'StorageLensConfiguration')
|
@@ -382,6 +416,9 @@ module Aws::S3Control
|
|
382
416
|
AbortIncompleteMultipartUpload.add_member(:days_after_initiation, Shapes::ShapeRef.new(shape: DaysAfterInitiation, location_name: "DaysAfterInitiation"))
|
383
417
|
AbortIncompleteMultipartUpload.struct_class = Types::AbortIncompleteMultipartUpload
|
384
418
|
|
419
|
+
AccessControlTranslation.add_member(:owner, Shapes::ShapeRef.new(shape: OwnerOverride, required: true, location_name: "Owner"))
|
420
|
+
AccessControlTranslation.struct_class = Types::AccessControlTranslation
|
421
|
+
|
385
422
|
AccessPoint.add_member(:name, Shapes::ShapeRef.new(shape: AccessPointName, required: true, location_name: "Name"))
|
386
423
|
AccessPoint.add_member(:network_origin, Shapes::ShapeRef.new(shape: NetworkOrigin, required: true, location_name: "NetworkOrigin"))
|
387
424
|
AccessPoint.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: VpcConfiguration, location_name: "VpcConfiguration"))
|
@@ -549,6 +586,10 @@ module Aws::S3Control
|
|
549
586
|
DeleteBucketPolicyRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "name", metadata: {"contextParam"=>{"name"=>"Bucket"}}))
|
550
587
|
DeleteBucketPolicyRequest.struct_class = Types::DeleteBucketPolicyRequest
|
551
588
|
|
589
|
+
DeleteBucketReplicationRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-account-id", metadata: {"contextParam"=>{"name"=>"AccountId"}}))
|
590
|
+
DeleteBucketReplicationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "name", metadata: {"contextParam"=>{"name"=>"Bucket"}}))
|
591
|
+
DeleteBucketReplicationRequest.struct_class = Types::DeleteBucketReplicationRequest
|
592
|
+
|
552
593
|
DeleteBucketRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-account-id", metadata: {"contextParam"=>{"name"=>"AccountId"}}))
|
553
594
|
DeleteBucketRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "name", metadata: {"contextParam"=>{"name"=>"Bucket"}}))
|
554
595
|
DeleteBucketRequest.struct_class = Types::DeleteBucketRequest
|
@@ -563,6 +604,9 @@ module Aws::S3Control
|
|
563
604
|
|
564
605
|
DeleteJobTaggingResult.struct_class = Types::DeleteJobTaggingResult
|
565
606
|
|
607
|
+
DeleteMarkerReplication.add_member(:status, Shapes::ShapeRef.new(shape: DeleteMarkerReplicationStatus, required: true, location_name: "Status"))
|
608
|
+
DeleteMarkerReplication.struct_class = Types::DeleteMarkerReplication
|
609
|
+
|
566
610
|
DeleteMultiRegionAccessPointInput.add_member(:name, Shapes::ShapeRef.new(shape: MultiRegionAccessPointName, required: true, location_name: "Name"))
|
567
611
|
DeleteMultiRegionAccessPointInput.struct_class = Types::DeleteMultiRegionAccessPointInput
|
568
612
|
|
@@ -601,9 +645,21 @@ module Aws::S3Control
|
|
601
645
|
DescribeMultiRegionAccessPointOperationResult.add_member(:async_operation, Shapes::ShapeRef.new(shape: AsyncOperation, location_name: "AsyncOperation"))
|
602
646
|
DescribeMultiRegionAccessPointOperationResult.struct_class = Types::DescribeMultiRegionAccessPointOperationResult
|
603
647
|
|
648
|
+
Destination.add_member(:account, Shapes::ShapeRef.new(shape: AccountId, location_name: "Account"))
|
649
|
+
Destination.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketIdentifierString, required: true, location_name: "Bucket"))
|
650
|
+
Destination.add_member(:replication_time, Shapes::ShapeRef.new(shape: ReplicationTime, location_name: "ReplicationTime"))
|
651
|
+
Destination.add_member(:access_control_translation, Shapes::ShapeRef.new(shape: AccessControlTranslation, location_name: "AccessControlTranslation"))
|
652
|
+
Destination.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "EncryptionConfiguration"))
|
653
|
+
Destination.add_member(:metrics, Shapes::ShapeRef.new(shape: Metrics, location_name: "Metrics"))
|
654
|
+
Destination.add_member(:storage_class, Shapes::ShapeRef.new(shape: ReplicationStorageClass, location_name: "StorageClass"))
|
655
|
+
Destination.struct_class = Types::Destination
|
656
|
+
|
604
657
|
DetailedStatusCodesMetrics.add_member(:is_enabled, Shapes::ShapeRef.new(shape: IsEnabled, location_name: "IsEnabled"))
|
605
658
|
DetailedStatusCodesMetrics.struct_class = Types::DetailedStatusCodesMetrics
|
606
659
|
|
660
|
+
EncryptionConfiguration.add_member(:replica_kms_key_id, Shapes::ShapeRef.new(shape: ReplicaKmsKeyID, location_name: "ReplicaKmsKeyID", metadata: {"box"=>true}))
|
661
|
+
EncryptionConfiguration.struct_class = Types::EncryptionConfiguration
|
662
|
+
|
607
663
|
Endpoints.key = Shapes::ShapeRef.new(shape: NonEmptyMaxLength64String)
|
608
664
|
Endpoints.value = Shapes::ShapeRef.new(shape: NonEmptyMaxLength1024String)
|
609
665
|
|
@@ -614,6 +670,9 @@ module Aws::S3Control
|
|
614
670
|
Exclude.add_member(:regions, Shapes::ShapeRef.new(shape: Regions, location_name: "Regions"))
|
615
671
|
Exclude.struct_class = Types::Exclude
|
616
672
|
|
673
|
+
ExistingObjectReplication.add_member(:status, Shapes::ShapeRef.new(shape: ExistingObjectReplicationStatus, required: true, location_name: "Status"))
|
674
|
+
ExistingObjectReplication.struct_class = Types::ExistingObjectReplication
|
675
|
+
|
617
676
|
GeneratedManifestEncryption.add_member(:sses3, Shapes::ShapeRef.new(shape: SSES3Encryption, location_name: "SSE-S3"))
|
618
677
|
GeneratedManifestEncryption.add_member(:ssekms, Shapes::ShapeRef.new(shape: SSEKMSEncryption, location_name: "SSE-KMS"))
|
619
678
|
GeneratedManifestEncryption.struct_class = Types::GeneratedManifestEncryption
|
@@ -692,6 +751,13 @@ module Aws::S3Control
|
|
692
751
|
GetBucketPolicyResult.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, location_name: "Policy"))
|
693
752
|
GetBucketPolicyResult.struct_class = Types::GetBucketPolicyResult
|
694
753
|
|
754
|
+
GetBucketReplicationRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-account-id", metadata: {"contextParam"=>{"name"=>"AccountId"}}))
|
755
|
+
GetBucketReplicationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "name", metadata: {"contextParam"=>{"name"=>"Bucket"}}))
|
756
|
+
GetBucketReplicationRequest.struct_class = Types::GetBucketReplicationRequest
|
757
|
+
|
758
|
+
GetBucketReplicationResult.add_member(:replication_configuration, Shapes::ShapeRef.new(shape: ReplicationConfiguration, location_name: "ReplicationConfiguration"))
|
759
|
+
GetBucketReplicationResult.struct_class = Types::GetBucketReplicationResult
|
760
|
+
|
695
761
|
GetBucketRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-account-id", metadata: {"contextParam"=>{"name"=>"AccountId"}}))
|
696
762
|
GetBucketRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "name", metadata: {"contextParam"=>{"name"=>"Bucket"}}))
|
697
763
|
GetBucketRequest.struct_class = Types::GetBucketRequest
|
@@ -988,6 +1054,10 @@ module Aws::S3Control
|
|
988
1054
|
ListStorageLensConfigurationsResult.add_member(:storage_lens_configuration_list, Shapes::ShapeRef.new(shape: StorageLensConfigurationList, location_name: "StorageLensConfigurationList"))
|
989
1055
|
ListStorageLensConfigurationsResult.struct_class = Types::ListStorageLensConfigurationsResult
|
990
1056
|
|
1057
|
+
Metrics.add_member(:status, Shapes::ShapeRef.new(shape: MetricsStatus, required: true, location_name: "Status"))
|
1058
|
+
Metrics.add_member(:event_threshold, Shapes::ShapeRef.new(shape: ReplicationTimeValue, location_name: "EventThreshold"))
|
1059
|
+
Metrics.struct_class = Types::Metrics
|
1060
|
+
|
991
1061
|
MultiRegionAccessPointPolicyDocument.add_member(:established, Shapes::ShapeRef.new(shape: EstablishedMultiRegionAccessPointPolicy, location_name: "Established"))
|
992
1062
|
MultiRegionAccessPointPolicyDocument.add_member(:proposed, Shapes::ShapeRef.new(shape: ProposedMultiRegionAccessPointPolicy, location_name: "Proposed"))
|
993
1063
|
MultiRegionAccessPointPolicyDocument.struct_class = Types::MultiRegionAccessPointPolicyDocument
|
@@ -1107,6 +1177,13 @@ module Aws::S3Control
|
|
1107
1177
|
PutBucketPolicyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, required: true, location_name: "Policy"))
|
1108
1178
|
PutBucketPolicyRequest.struct_class = Types::PutBucketPolicyRequest
|
1109
1179
|
|
1180
|
+
PutBucketReplicationRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-account-id", metadata: {"contextParam"=>{"name"=>"AccountId"}}))
|
1181
|
+
PutBucketReplicationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "name", metadata: {"contextParam"=>{"name"=>"Bucket"}}))
|
1182
|
+
PutBucketReplicationRequest.add_member(:replication_configuration, Shapes::ShapeRef.new(shape: ReplicationConfiguration, required: true, location_name: "ReplicationConfiguration", metadata: {"xmlNamespace"=>{"uri"=>"http://awss3control.amazonaws.com/doc/2018-08-20/"}}))
|
1183
|
+
PutBucketReplicationRequest.struct_class = Types::PutBucketReplicationRequest
|
1184
|
+
PutBucketReplicationRequest[:payload] = :replication_configuration
|
1185
|
+
PutBucketReplicationRequest[:payload_member] = PutBucketReplicationRequest.member(:replication_configuration)
|
1186
|
+
|
1110
1187
|
PutBucketTaggingRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-account-id", metadata: {"contextParam"=>{"name"=>"AccountId"}}))
|
1111
1188
|
PutBucketTaggingRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "name", metadata: {"contextParam"=>{"name"=>"Bucket"}}))
|
1112
1189
|
PutBucketTaggingRequest.add_member(:tagging, Shapes::ShapeRef.new(shape: Tagging, required: true, location_name: "Tagging", metadata: {"xmlNamespace"=>{"uri"=>"http://awss3control.amazonaws.com/doc/2018-08-20/"}}))
|
@@ -1161,12 +1238,14 @@ module Aws::S3Control
|
|
1161
1238
|
PutStorageLensConfigurationTaggingResult.struct_class = Types::PutStorageLensConfigurationTaggingResult
|
1162
1239
|
|
1163
1240
|
Region.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "Bucket"))
|
1241
|
+
Region.add_member(:bucket_account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "BucketAccountId"))
|
1164
1242
|
Region.struct_class = Types::Region
|
1165
1243
|
|
1166
1244
|
RegionCreationList.member = Shapes::ShapeRef.new(shape: Region, location_name: "Region")
|
1167
1245
|
|
1168
1246
|
RegionReport.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, location_name: "Bucket"))
|
1169
1247
|
RegionReport.add_member(:region, Shapes::ShapeRef.new(shape: RegionName, location_name: "Region"))
|
1248
|
+
RegionReport.add_member(:bucket_account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "BucketAccountId"))
|
1170
1249
|
RegionReport.struct_class = Types::RegionReport
|
1171
1250
|
|
1172
1251
|
RegionReportList.member = Shapes::ShapeRef.new(shape: RegionReport, location_name: "Region")
|
@@ -1182,8 +1261,45 @@ module Aws::S3Control
|
|
1182
1261
|
|
1183
1262
|
Regions.member = Shapes::ShapeRef.new(shape: S3AWSRegion, location_name: "Region")
|
1184
1263
|
|
1264
|
+
ReplicaModifications.add_member(:status, Shapes::ShapeRef.new(shape: ReplicaModificationsStatus, required: true, location_name: "Status"))
|
1265
|
+
ReplicaModifications.struct_class = Types::ReplicaModifications
|
1266
|
+
|
1267
|
+
ReplicationConfiguration.add_member(:role, Shapes::ShapeRef.new(shape: Role, required: true, location_name: "Role"))
|
1268
|
+
ReplicationConfiguration.add_member(:rules, Shapes::ShapeRef.new(shape: ReplicationRules, required: true, location_name: "Rules"))
|
1269
|
+
ReplicationConfiguration.struct_class = Types::ReplicationConfiguration
|
1270
|
+
|
1271
|
+
ReplicationRule.add_member(:id, Shapes::ShapeRef.new(shape: ID, location_name: "ID"))
|
1272
|
+
ReplicationRule.add_member(:priority, Shapes::ShapeRef.new(shape: Priority, location_name: "Priority", metadata: {"box"=>true}))
|
1273
|
+
ReplicationRule.add_member(:prefix, Shapes::ShapeRef.new(shape: Prefix, deprecated: true, location_name: "Prefix", metadata: {"deprecatedMessage"=>"Prefix has been deprecated"}))
|
1274
|
+
ReplicationRule.add_member(:filter, Shapes::ShapeRef.new(shape: ReplicationRuleFilter, location_name: "Filter"))
|
1275
|
+
ReplicationRule.add_member(:status, Shapes::ShapeRef.new(shape: ReplicationRuleStatus, required: true, location_name: "Status"))
|
1276
|
+
ReplicationRule.add_member(:source_selection_criteria, Shapes::ShapeRef.new(shape: SourceSelectionCriteria, location_name: "SourceSelectionCriteria"))
|
1277
|
+
ReplicationRule.add_member(:existing_object_replication, Shapes::ShapeRef.new(shape: ExistingObjectReplication, location_name: "ExistingObjectReplication"))
|
1278
|
+
ReplicationRule.add_member(:destination, Shapes::ShapeRef.new(shape: Destination, required: true, location_name: "Destination"))
|
1279
|
+
ReplicationRule.add_member(:delete_marker_replication, Shapes::ShapeRef.new(shape: DeleteMarkerReplication, location_name: "DeleteMarkerReplication"))
|
1280
|
+
ReplicationRule.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketIdentifierString, required: true, location_name: "Bucket"))
|
1281
|
+
ReplicationRule.struct_class = Types::ReplicationRule
|
1282
|
+
|
1283
|
+
ReplicationRuleAndOperator.add_member(:prefix, Shapes::ShapeRef.new(shape: Prefix, location_name: "Prefix"))
|
1284
|
+
ReplicationRuleAndOperator.add_member(:tags, Shapes::ShapeRef.new(shape: S3TagSet, location_name: "Tags"))
|
1285
|
+
ReplicationRuleAndOperator.struct_class = Types::ReplicationRuleAndOperator
|
1286
|
+
|
1287
|
+
ReplicationRuleFilter.add_member(:prefix, Shapes::ShapeRef.new(shape: Prefix, location_name: "Prefix"))
|
1288
|
+
ReplicationRuleFilter.add_member(:tag, Shapes::ShapeRef.new(shape: S3Tag, location_name: "Tag"))
|
1289
|
+
ReplicationRuleFilter.add_member(:and, Shapes::ShapeRef.new(shape: ReplicationRuleAndOperator, location_name: "And"))
|
1290
|
+
ReplicationRuleFilter.struct_class = Types::ReplicationRuleFilter
|
1291
|
+
|
1292
|
+
ReplicationRules.member = Shapes::ShapeRef.new(shape: ReplicationRule, location_name: "Rule")
|
1293
|
+
|
1185
1294
|
ReplicationStatusFilterList.member = Shapes::ShapeRef.new(shape: ReplicationStatus)
|
1186
1295
|
|
1296
|
+
ReplicationTime.add_member(:status, Shapes::ShapeRef.new(shape: ReplicationTimeStatus, required: true, location_name: "Status"))
|
1297
|
+
ReplicationTime.add_member(:time, Shapes::ShapeRef.new(shape: ReplicationTimeValue, required: true, location_name: "Time"))
|
1298
|
+
ReplicationTime.struct_class = Types::ReplicationTime
|
1299
|
+
|
1300
|
+
ReplicationTimeValue.add_member(:minutes, Shapes::ShapeRef.new(shape: Minutes, location_name: "Minutes", metadata: {"box"=>true}))
|
1301
|
+
ReplicationTimeValue.struct_class = Types::ReplicationTimeValue
|
1302
|
+
|
1187
1303
|
RouteList.member = Shapes::ShapeRef.new(shape: MultiRegionAccessPointRoute, location_name: "Route")
|
1188
1304
|
|
1189
1305
|
S3AccessControlList.add_member(:owner, Shapes::ShapeRef.new(shape: S3ObjectOwner, required: true, location_name: "Owner"))
|
@@ -1320,6 +1436,13 @@ module Aws::S3Control
|
|
1320
1436
|
SelectionCriteria.add_member(:min_storage_bytes_percentage, Shapes::ShapeRef.new(shape: MinStorageBytesPercentage, location_name: "MinStorageBytesPercentage"))
|
1321
1437
|
SelectionCriteria.struct_class = Types::SelectionCriteria
|
1322
1438
|
|
1439
|
+
SourceSelectionCriteria.add_member(:sse_kms_encrypted_objects, Shapes::ShapeRef.new(shape: SseKmsEncryptedObjects, location_name: "SseKmsEncryptedObjects"))
|
1440
|
+
SourceSelectionCriteria.add_member(:replica_modifications, Shapes::ShapeRef.new(shape: ReplicaModifications, location_name: "ReplicaModifications"))
|
1441
|
+
SourceSelectionCriteria.struct_class = Types::SourceSelectionCriteria
|
1442
|
+
|
1443
|
+
SseKmsEncryptedObjects.add_member(:status, Shapes::ShapeRef.new(shape: SseKmsEncryptedObjectsStatus, required: true, location_name: "Status"))
|
1444
|
+
SseKmsEncryptedObjects.struct_class = Types::SseKmsEncryptedObjects
|
1445
|
+
|
1323
1446
|
StorageLensAwsOrg.add_member(:arn, Shapes::ShapeRef.new(shape: AwsOrgArn, required: true, location_name: "Arn"))
|
1324
1447
|
StorageLensAwsOrg.struct_class = Types::StorageLensAwsOrg
|
1325
1448
|
|
@@ -1562,6 +1685,16 @@ module Aws::S3Control
|
|
1562
1685
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1563
1686
|
end)
|
1564
1687
|
|
1688
|
+
api.add_operation(:delete_bucket_replication, Seahorse::Model::Operation.new.tap do |o|
|
1689
|
+
o.name = "DeleteBucketReplication"
|
1690
|
+
o.http_method = "DELETE"
|
1691
|
+
o.http_request_uri = "/v20180820/bucket/{name}/replication"
|
1692
|
+
o.endpoint_pattern = {
|
1693
|
+
}
|
1694
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteBucketReplicationRequest)
|
1695
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1696
|
+
end)
|
1697
|
+
|
1565
1698
|
api.add_operation(:delete_bucket_tagging, Seahorse::Model::Operation.new.tap do |o|
|
1566
1699
|
o.name = "DeleteBucketTagging"
|
1567
1700
|
o.http_method = "DELETE"
|
@@ -1756,6 +1889,16 @@ module Aws::S3Control
|
|
1756
1889
|
o.output = Shapes::ShapeRef.new(shape: GetBucketPolicyResult)
|
1757
1890
|
end)
|
1758
1891
|
|
1892
|
+
api.add_operation(:get_bucket_replication, Seahorse::Model::Operation.new.tap do |o|
|
1893
|
+
o.name = "GetBucketReplication"
|
1894
|
+
o.http_method = "GET"
|
1895
|
+
o.http_request_uri = "/v20180820/bucket/{name}/replication"
|
1896
|
+
o.endpoint_pattern = {
|
1897
|
+
}
|
1898
|
+
o.input = Shapes::ShapeRef.new(shape: GetBucketReplicationRequest)
|
1899
|
+
o.output = Shapes::ShapeRef.new(shape: GetBucketReplicationResult)
|
1900
|
+
end)
|
1901
|
+
|
1759
1902
|
api.add_operation(:get_bucket_tagging, Seahorse::Model::Operation.new.tap do |o|
|
1760
1903
|
o.name = "GetBucketTagging"
|
1761
1904
|
o.http_method = "GET"
|
@@ -2035,6 +2178,17 @@ module Aws::S3Control
|
|
2035
2178
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
2036
2179
|
end)
|
2037
2180
|
|
2181
|
+
api.add_operation(:put_bucket_replication, Seahorse::Model::Operation.new.tap do |o|
|
2182
|
+
o.name = "PutBucketReplication"
|
2183
|
+
o.http_method = "PUT"
|
2184
|
+
o.http_request_uri = "/v20180820/bucket/{name}/replication"
|
2185
|
+
o.http_checksum_required = true
|
2186
|
+
o.endpoint_pattern = {
|
2187
|
+
}
|
2188
|
+
o.input = Shapes::ShapeRef.new(shape: PutBucketReplicationRequest)
|
2189
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
2190
|
+
end)
|
2191
|
+
|
2038
2192
|
api.add_operation(:put_bucket_tagging, Seahorse::Model::Operation.new.tap do |o|
|
2039
2193
|
o.name = "PutBucketTagging"
|
2040
2194
|
o.http_method = "PUT"
|
@@ -40,12 +40,12 @@ module Aws::S3Control
|
|
40
40
|
raise ArgumentError, "Invalid configuration: Outposts do not support dual-stack"
|
41
41
|
end
|
42
42
|
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
43
|
-
return Aws::Endpoints::Endpoint.new(url: "#{url['scheme']}://#{url['authority']}#{url['path']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "
|
43
|
+
return Aws::Endpoints::Endpoint.new(url: "#{url['scheme']}://#{url['authority']}#{url['path']}", headers: {}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"#{region}"}]})
|
44
44
|
end
|
45
45
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
46
|
-
return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"#{region}"}]})
|
47
47
|
end
|
48
|
-
return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "
|
48
|
+
return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"#{region}"}]})
|
49
49
|
end
|
50
50
|
raise ArgumentError, "Invalid region: region was not a valid DNS name."
|
51
51
|
end
|
@@ -75,12 +75,12 @@ module Aws::S3Control
|
|
75
75
|
if (access_point_name = Aws::Endpoints::Matchers.attr(access_point_arn, "resourceId[3]"))
|
76
76
|
if Aws::Endpoints::Matchers.string_equals?(outpost_type, "accesspoint")
|
77
77
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
78
|
-
return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts-fips.#{access_point_arn['region']}.#{arn_partition['dnsSuffix']}", headers: {"x-amz-account-id"=>["#{access_point_arn['accountId']}"], "x-amz-outpost-id"=>["#{outpost_id}"]}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "
|
78
|
+
return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts-fips.#{access_point_arn['region']}.#{arn_partition['dnsSuffix']}", headers: {"x-amz-account-id"=>["#{access_point_arn['accountId']}"], "x-amz-outpost-id"=>["#{outpost_id}"]}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"#{access_point_arn['region']}"}]})
|
79
79
|
end
|
80
80
|
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
81
|
-
return Aws::Endpoints::Endpoint.new(url: "#{url['scheme']}://#{url['authority']}#{url['path']}", headers: {"x-amz-account-id"=>["#{access_point_arn['accountId']}"], "x-amz-outpost-id"=>["#{outpost_id}"]}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "
|
81
|
+
return Aws::Endpoints::Endpoint.new(url: "#{url['scheme']}://#{url['authority']}#{url['path']}", headers: {"x-amz-account-id"=>["#{access_point_arn['accountId']}"], "x-amz-outpost-id"=>["#{outpost_id}"]}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"#{access_point_arn['region']}"}]})
|
82
82
|
end
|
83
|
-
return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts.#{access_point_arn['region']}.#{arn_partition['dnsSuffix']}", headers: {"x-amz-account-id"=>["#{access_point_arn['accountId']}"], "x-amz-outpost-id"=>["#{outpost_id}"]}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "
|
83
|
+
return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts.#{access_point_arn['region']}.#{arn_partition['dnsSuffix']}", headers: {"x-amz-account-id"=>["#{access_point_arn['accountId']}"], "x-amz-outpost-id"=>["#{outpost_id}"]}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"#{access_point_arn['region']}"}]})
|
84
84
|
end
|
85
85
|
raise ArgumentError, "Expected an outpost type `accesspoint`, found `#{outpost_type}`"
|
86
86
|
end
|
@@ -131,12 +131,12 @@ module Aws::S3Control
|
|
131
131
|
if (bucket_name = Aws::Endpoints::Matchers.attr(bucket_arn, "resourceId[3]"))
|
132
132
|
if Aws::Endpoints::Matchers.string_equals?(outpost_type, "bucket")
|
133
133
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
134
|
-
return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts-fips.#{bucket_arn['region']}.#{arn_partition['dnsSuffix']}", headers: {"x-amz-account-id"=>["#{bucket_arn['accountId']}"], "x-amz-outpost-id"=>["#{outpost_id}"]}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "
|
134
|
+
return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts-fips.#{bucket_arn['region']}.#{arn_partition['dnsSuffix']}", headers: {"x-amz-account-id"=>["#{bucket_arn['accountId']}"], "x-amz-outpost-id"=>["#{outpost_id}"]}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"#{bucket_arn['region']}"}]})
|
135
135
|
end
|
136
136
|
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
137
|
-
return Aws::Endpoints::Endpoint.new(url: "#{url['scheme']}://#{url['authority']}#{url['path']}", headers: {"x-amz-account-id"=>["#{bucket_arn['accountId']}"], "x-amz-outpost-id"=>["#{outpost_id}"]}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "
|
137
|
+
return Aws::Endpoints::Endpoint.new(url: "#{url['scheme']}://#{url['authority']}#{url['path']}", headers: {"x-amz-account-id"=>["#{bucket_arn['accountId']}"], "x-amz-outpost-id"=>["#{outpost_id}"]}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"#{bucket_arn['region']}"}]})
|
138
138
|
end
|
139
|
-
return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts.#{bucket_arn['region']}.#{arn_partition['dnsSuffix']}", headers: {"x-amz-account-id"=>["#{bucket_arn['accountId']}"], "x-amz-outpost-id"=>["#{outpost_id}"]}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "
|
139
|
+
return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts.#{bucket_arn['region']}.#{arn_partition['dnsSuffix']}", headers: {"x-amz-account-id"=>["#{bucket_arn['accountId']}"], "x-amz-outpost-id"=>["#{outpost_id}"]}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"#{bucket_arn['region']}"}]})
|
140
140
|
end
|
141
141
|
raise ArgumentError, "Invalid ARN: Expected an outpost type `bucket`, found `#{outpost_type}`"
|
142
142
|
end
|
@@ -179,33 +179,33 @@ module Aws::S3Control
|
|
179
179
|
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
180
180
|
end
|
181
181
|
if Aws::Endpoints::Matchers.set?(requires_account_id) && Aws::Endpoints::Matchers.boolean_equals?(requires_account_id, true) && Aws::Endpoints::Matchers.set?(account_id)
|
182
|
-
return Aws::Endpoints::Endpoint.new(url: "#{url['scheme']}://#{account_id}.#{url['authority']}#{url['path']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "
|
182
|
+
return Aws::Endpoints::Endpoint.new(url: "#{url['scheme']}://#{account_id}.#{url['authority']}#{url['path']}", headers: {}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"#{region}"}]})
|
183
183
|
end
|
184
|
-
return Aws::Endpoints::Endpoint.new(url: "#{url['scheme']}://#{url['authority']}#{url['path']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "
|
184
|
+
return Aws::Endpoints::Endpoint.new(url: "#{url['scheme']}://#{url['authority']}#{url['path']}", headers: {}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"#{region}"}]})
|
185
185
|
end
|
186
186
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true) && Aws::Endpoints::Matchers.set?(requires_account_id) && Aws::Endpoints::Matchers.boolean_equals?(requires_account_id, true) && Aws::Endpoints::Matchers.set?(account_id)
|
187
|
-
return Aws::Endpoints::Endpoint.new(url: "https://#{account_id}.s3-control-fips.dualstack.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "
|
187
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{account_id}.s3-control-fips.dualstack.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"#{region}"}]})
|
188
188
|
end
|
189
189
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
190
|
-
return Aws::Endpoints::Endpoint.new(url: "https://s3-control-fips.dualstack.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "
|
190
|
+
return Aws::Endpoints::Endpoint.new(url: "https://s3-control-fips.dualstack.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"#{region}"}]})
|
191
191
|
end
|
192
192
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false) && Aws::Endpoints::Matchers.set?(requires_account_id) && Aws::Endpoints::Matchers.boolean_equals?(requires_account_id, true) && Aws::Endpoints::Matchers.set?(account_id)
|
193
|
-
return Aws::Endpoints::Endpoint.new(url: "https://#{account_id}.s3-control-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "
|
193
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{account_id}.s3-control-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"#{region}"}]})
|
194
194
|
end
|
195
195
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false)
|
196
|
-
return Aws::Endpoints::Endpoint.new(url: "https://s3-control-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "
|
196
|
+
return Aws::Endpoints::Endpoint.new(url: "https://s3-control-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"#{region}"}]})
|
197
197
|
end
|
198
198
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true) && Aws::Endpoints::Matchers.set?(requires_account_id) && Aws::Endpoints::Matchers.boolean_equals?(requires_account_id, true) && Aws::Endpoints::Matchers.set?(account_id)
|
199
|
-
return Aws::Endpoints::Endpoint.new(url: "https://#{account_id}.s3-control.dualstack.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "
|
199
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{account_id}.s3-control.dualstack.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"#{region}"}]})
|
200
200
|
end
|
201
201
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
202
|
-
return Aws::Endpoints::Endpoint.new(url: "https://s3-control.dualstack.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "
|
202
|
+
return Aws::Endpoints::Endpoint.new(url: "https://s3-control.dualstack.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"#{region}"}]})
|
203
203
|
end
|
204
204
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false) && Aws::Endpoints::Matchers.set?(requires_account_id) && Aws::Endpoints::Matchers.boolean_equals?(requires_account_id, true) && Aws::Endpoints::Matchers.set?(account_id)
|
205
|
-
return Aws::Endpoints::Endpoint.new(url: "https://#{account_id}.s3-control.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "
|
205
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{account_id}.s3-control.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"#{region}"}]})
|
206
206
|
end
|
207
207
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false)
|
208
|
-
return Aws::Endpoints::Endpoint.new(url: "https://s3-control.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "
|
208
|
+
return Aws::Endpoints::Endpoint.new(url: "https://s3-control.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"#{region}"}]})
|
209
209
|
end
|
210
210
|
end
|
211
211
|
raise ArgumentError, "Invalid region: region was not a valid DNS name."
|
@@ -251,6 +251,26 @@ module Aws::S3Control
|
|
251
251
|
end
|
252
252
|
end
|
253
253
|
|
254
|
+
class DeleteBucketReplication
|
255
|
+
def self.build(context)
|
256
|
+
unless context.config.regional_endpoint
|
257
|
+
endpoint = context.config.endpoint.to_s
|
258
|
+
end
|
259
|
+
Aws::S3Control::EndpointParameters.new(
|
260
|
+
region: context.config.region,
|
261
|
+
use_fips: context.config.use_fips_endpoint,
|
262
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
263
|
+
endpoint: endpoint,
|
264
|
+
account_id: context.params[:account_id],
|
265
|
+
requires_account_id: true,
|
266
|
+
outpost_id: nil,
|
267
|
+
bucket: context.params[:bucket],
|
268
|
+
access_point_name: nil,
|
269
|
+
use_arn_region: context.config.s3_use_arn_region,
|
270
|
+
)
|
271
|
+
end
|
272
|
+
end
|
273
|
+
|
254
274
|
class DeleteBucketTagging
|
255
275
|
def self.build(context)
|
256
276
|
unless context.config.regional_endpoint
|
@@ -611,6 +631,26 @@ module Aws::S3Control
|
|
611
631
|
end
|
612
632
|
end
|
613
633
|
|
634
|
+
class GetBucketReplication
|
635
|
+
def self.build(context)
|
636
|
+
unless context.config.regional_endpoint
|
637
|
+
endpoint = context.config.endpoint.to_s
|
638
|
+
end
|
639
|
+
Aws::S3Control::EndpointParameters.new(
|
640
|
+
region: context.config.region,
|
641
|
+
use_fips: context.config.use_fips_endpoint,
|
642
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
643
|
+
endpoint: endpoint,
|
644
|
+
account_id: context.params[:account_id],
|
645
|
+
requires_account_id: true,
|
646
|
+
outpost_id: nil,
|
647
|
+
bucket: context.params[:bucket],
|
648
|
+
access_point_name: nil,
|
649
|
+
use_arn_region: context.config.s3_use_arn_region,
|
650
|
+
)
|
651
|
+
end
|
652
|
+
end
|
653
|
+
|
614
654
|
class GetBucketTagging
|
615
655
|
def self.build(context)
|
616
656
|
unless context.config.regional_endpoint
|
@@ -1031,6 +1071,26 @@ module Aws::S3Control
|
|
1031
1071
|
end
|
1032
1072
|
end
|
1033
1073
|
|
1074
|
+
class PutBucketReplication
|
1075
|
+
def self.build(context)
|
1076
|
+
unless context.config.regional_endpoint
|
1077
|
+
endpoint = context.config.endpoint.to_s
|
1078
|
+
end
|
1079
|
+
Aws::S3Control::EndpointParameters.new(
|
1080
|
+
region: context.config.region,
|
1081
|
+
use_fips: context.config.use_fips_endpoint,
|
1082
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
1083
|
+
endpoint: endpoint,
|
1084
|
+
account_id: context.params[:account_id],
|
1085
|
+
requires_account_id: true,
|
1086
|
+
outpost_id: nil,
|
1087
|
+
bucket: context.params[:bucket],
|
1088
|
+
access_point_name: nil,
|
1089
|
+
use_arn_region: context.config.s3_use_arn_region,
|
1090
|
+
)
|
1091
|
+
end
|
1092
|
+
end
|
1093
|
+
|
1034
1094
|
class PutBucketTagging
|
1035
1095
|
def self.build(context)
|
1036
1096
|
unless context.config.regional_endpoint
|
@@ -80,6 +80,8 @@ module Aws::S3Control
|
|
80
80
|
Aws::S3Control::Endpoints::DeleteBucketLifecycleConfiguration.build(context)
|
81
81
|
when :delete_bucket_policy
|
82
82
|
Aws::S3Control::Endpoints::DeleteBucketPolicy.build(context)
|
83
|
+
when :delete_bucket_replication
|
84
|
+
Aws::S3Control::Endpoints::DeleteBucketReplication.build(context)
|
83
85
|
when :delete_bucket_tagging
|
84
86
|
Aws::S3Control::Endpoints::DeleteBucketTagging.build(context)
|
85
87
|
when :delete_job_tagging
|
@@ -116,6 +118,8 @@ module Aws::S3Control
|
|
116
118
|
Aws::S3Control::Endpoints::GetBucketLifecycleConfiguration.build(context)
|
117
119
|
when :get_bucket_policy
|
118
120
|
Aws::S3Control::Endpoints::GetBucketPolicy.build(context)
|
121
|
+
when :get_bucket_replication
|
122
|
+
Aws::S3Control::Endpoints::GetBucketReplication.build(context)
|
119
123
|
when :get_bucket_tagging
|
120
124
|
Aws::S3Control::Endpoints::GetBucketTagging.build(context)
|
121
125
|
when :get_bucket_versioning
|
@@ -158,6 +162,8 @@ module Aws::S3Control
|
|
158
162
|
Aws::S3Control::Endpoints::PutBucketLifecycleConfiguration.build(context)
|
159
163
|
when :put_bucket_policy
|
160
164
|
Aws::S3Control::Endpoints::PutBucketPolicy.build(context)
|
165
|
+
when :put_bucket_replication
|
166
|
+
Aws::S3Control::Endpoints::PutBucketReplication.build(context)
|
161
167
|
when :put_bucket_tagging
|
162
168
|
Aws::S3Control::Endpoints::PutBucketTagging.build(context)
|
163
169
|
when :put_bucket_versioning
|