aws-sdk-s3control 1.26.0 → 1.27.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-s3control.rb +1 -1
- data/lib/aws-sdk-s3control/arn/outpost_access_point_arn.rb +6 -2
- data/lib/aws-sdk-s3control/arn/outpost_bucket_arn.rb +6 -2
- data/lib/aws-sdk-s3control/client.rb +29 -20
- data/lib/aws-sdk-s3control/client_api.rb +4 -0
- data/lib/aws-sdk-s3control/plugins/arn.rb +28 -16
- data/lib/aws-sdk-s3control/plugins/dualstack.rb +11 -10
- data/lib/aws-sdk-s3control/plugins/s3_control_signer.rb +6 -2
- data/lib/aws-sdk-s3control/types.rb +41 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1a5c00be39571ea431e5c2657fcb75164b0d1fd95bb001a547b673092ea7cb4
|
4
|
+
data.tar.gz: 6858c8a05b71494c43d92f7e43c4e1c0e6dad516aff47309216fc583438e9f3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05cb9c5c7b72128d6e067ad1606c7c54c837f7fc1b4fb6315bf4002a071dc45c2d6dc1880d0805f8223e9a9e438f6cffb3e50ef75aa6166048fd66a2a1141449
|
7
|
+
data.tar.gz: 51ff4b9b389b8b89bbaece3980f96284645b9f7fdc7fbd7b287c38ad279b4b06a2692d56910312785c16ff637440491d11aeb2c3803c2c8d5052209f8e6674ef
|
data/lib/aws-sdk-s3control.rb
CHANGED
@@ -68,8 +68,12 @@ module Aws
|
|
68
68
|
end
|
69
69
|
|
70
70
|
# Outpost Access Point ARNs currently do not support dualstack
|
71
|
-
def host_url(region, _dualstack = false)
|
72
|
-
|
71
|
+
def host_url(region, _dualstack = false, custom_endpoint = nil)
|
72
|
+
if custom_endpoint
|
73
|
+
custom_endpoint
|
74
|
+
else
|
75
|
+
"s3-outposts.#{region}.amazonaws.com"
|
76
|
+
end
|
73
77
|
end
|
74
78
|
end
|
75
79
|
end
|
@@ -64,8 +64,12 @@ module Aws
|
|
64
64
|
end
|
65
65
|
|
66
66
|
# Outpost Bucket ARNs currently do not support dualstack
|
67
|
-
def host_url(region, _dualstack = false)
|
68
|
-
|
67
|
+
def host_url(region, _dualstack = false, custom_endpoint = nil)
|
68
|
+
if custom_endpoint
|
69
|
+
custom_endpoint
|
70
|
+
else
|
71
|
+
"s3-outposts.#{region}.amazonaws.com"
|
72
|
+
end
|
69
73
|
end
|
70
74
|
end
|
71
75
|
end
|
@@ -630,13 +630,13 @@ module Aws::S3Control
|
|
630
630
|
req.send_request(options)
|
631
631
|
end
|
632
632
|
|
633
|
-
# S3 Batch Operations
|
634
|
-
# objects. Batch Operations can run a single
|
635
|
-
# lists of Amazon S3 objects that you specify. For more
|
636
|
-
# [S3 Batch Operations][1] in the *Amazon Simple
|
637
|
-
# Developer Guide*.
|
633
|
+
# You can use S3 Batch Operations to perform large-scale batch
|
634
|
+
# operations on Amazon S3 objects. Batch Operations can run a single
|
635
|
+
# operation on lists of Amazon S3 objects that you specify. For more
|
636
|
+
# information, see [S3 Batch Operations][1] in the *Amazon Simple
|
637
|
+
# Storage Service Developer Guide*.
|
638
638
|
#
|
639
|
-
# This operation creates
|
639
|
+
# This operation creates a S3 Batch Operations job.
|
640
640
|
#
|
641
641
|
#
|
642
642
|
#
|
@@ -650,6 +650,8 @@ module Aws::S3Control
|
|
650
650
|
#
|
651
651
|
# * [UpdateJobStatus][5]
|
652
652
|
#
|
653
|
+
# * [JobOperation][6]
|
654
|
+
#
|
653
655
|
#
|
654
656
|
#
|
655
657
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/batch-ops-basics.html
|
@@ -657,6 +659,7 @@ module Aws::S3Control
|
|
657
659
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListJobs.html
|
658
660
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobPriority.html
|
659
661
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobStatus.html
|
662
|
+
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_JobOperation.html
|
660
663
|
#
|
661
664
|
# @option params [required, String] :account_id
|
662
665
|
# The AWS account ID that creates the job.
|
@@ -795,6 +798,8 @@ module Aws::S3Control
|
|
795
798
|
# },
|
796
799
|
# ],
|
797
800
|
# },
|
801
|
+
# s3_delete_object_tagging: {
|
802
|
+
# },
|
798
803
|
# s3_initiate_restore_object: {
|
799
804
|
# expiration_in_days: 1,
|
800
805
|
# glacier_job_tier: "BULK", # accepts BULK, STANDARD
|
@@ -1373,8 +1378,9 @@ module Aws::S3Control
|
|
1373
1378
|
end
|
1374
1379
|
|
1375
1380
|
# Deletes the Amazon S3 Storage Lens configuration. For more information
|
1376
|
-
# about S3 Storage Lens, see [
|
1377
|
-
# the *Amazon Simple Storage Service
|
1381
|
+
# about S3 Storage Lens, see [Assessing your storage activity and usage
|
1382
|
+
# with Amazon S3 Storage Lens ][1] in the *Amazon Simple Storage Service
|
1383
|
+
# Developer Guide*.
|
1378
1384
|
#
|
1379
1385
|
# <note markdown="1"> To use this action, you must have permission to perform the
|
1380
1386
|
# `s3:DeleteStorageLensConfiguration` action. For more information, see
|
@@ -1413,8 +1419,9 @@ module Aws::S3Control
|
|
1413
1419
|
end
|
1414
1420
|
|
1415
1421
|
# Deletes the Amazon S3 Storage Lens configuration tags. For more
|
1416
|
-
# information about S3 Storage Lens, see [
|
1417
|
-
# Lens][1] in the *Amazon
|
1422
|
+
# information about S3 Storage Lens, see [Assessing your storage
|
1423
|
+
# activity and usage with Amazon S3 Storage Lens ][1] in the *Amazon
|
1424
|
+
# Simple Storage Service Developer Guide*.
|
1418
1425
|
#
|
1419
1426
|
# <note markdown="1"> To use this action, you must have permission to perform the
|
1420
1427
|
# `s3:DeleteStorageLensConfigurationTagging` action. For more
|
@@ -2251,8 +2258,8 @@ module Aws::S3Control
|
|
2251
2258
|
end
|
2252
2259
|
|
2253
2260
|
# Gets the Amazon S3 Storage Lens configuration. For more information,
|
2254
|
-
# see [
|
2255
|
-
# Storage Service Developer Guide*.
|
2261
|
+
# see [Assessing your storage activity and usage with Amazon S3 Storage
|
2262
|
+
# Lens ][1] in the *Amazon Simple Storage Service Developer Guide*.
|
2256
2263
|
#
|
2257
2264
|
# <note markdown="1"> To use this action, you must have permission to perform the
|
2258
2265
|
# `s3:GetStorageLensConfiguration` action. For more information, see
|
@@ -2320,8 +2327,9 @@ module Aws::S3Control
|
|
2320
2327
|
end
|
2321
2328
|
|
2322
2329
|
# Gets the tags of Amazon S3 Storage Lens configuration. For more
|
2323
|
-
# information about S3 Storage Lens, see [
|
2324
|
-
# Lens][1] in the *Amazon
|
2330
|
+
# information about S3 Storage Lens, see [Assessing your storage
|
2331
|
+
# activity and usage with Amazon S3 Storage Lens ][1] in the *Amazon
|
2332
|
+
# Simple Storage Service Developer Guide*.
|
2325
2333
|
#
|
2326
2334
|
# <note markdown="1"> To use this action, you must have permission to perform the
|
2327
2335
|
# `s3:GetStorageLensConfigurationTagging` action. For more information,
|
@@ -2530,7 +2538,7 @@ module Aws::S3Control
|
|
2530
2538
|
# resp.jobs #=> Array
|
2531
2539
|
# resp.jobs[0].job_id #=> String
|
2532
2540
|
# resp.jobs[0].description #=> String
|
2533
|
-
# resp.jobs[0].operation #=> String, one of "LambdaInvoke", "S3PutObjectCopy", "S3PutObjectAcl", "S3PutObjectTagging", "S3InitiateRestoreObject", "S3PutObjectLegalHold", "S3PutObjectRetention"
|
2541
|
+
# resp.jobs[0].operation #=> String, one of "LambdaInvoke", "S3PutObjectCopy", "S3PutObjectAcl", "S3PutObjectTagging", "S3DeleteObjectTagging", "S3InitiateRestoreObject", "S3PutObjectLegalHold", "S3PutObjectRetention"
|
2534
2542
|
# resp.jobs[0].priority #=> Integer
|
2535
2543
|
# resp.jobs[0].status #=> String, one of "Active", "Cancelled", "Cancelling", "Complete", "Completing", "Failed", "Failing", "New", "Paused", "Pausing", "Preparing", "Ready", "Suspended"
|
2536
2544
|
# resp.jobs[0].creation_time #=> Time
|
@@ -2612,8 +2620,9 @@ module Aws::S3Control
|
|
2612
2620
|
end
|
2613
2621
|
|
2614
2622
|
# Gets a list of Amazon S3 Storage Lens configurations. For more
|
2615
|
-
# information about S3 Storage Lens, see [
|
2616
|
-
# Lens][1] in the *Amazon
|
2623
|
+
# information about S3 Storage Lens, see [Assessing your storage
|
2624
|
+
# activity and usage with Amazon S3 Storage Lens ][1] in the *Amazon
|
2625
|
+
# Simple Storage Service Developer Guide*.
|
2617
2626
|
#
|
2618
2627
|
# <note markdown="1"> To use this action, you must have permission to perform the
|
2619
2628
|
# `s3:ListStorageLensConfigurations` action. For more information, see
|
@@ -3342,8 +3351,8 @@ module Aws::S3Control
|
|
3342
3351
|
|
3343
3352
|
# Put or replace tags on an existing Amazon S3 Storage Lens
|
3344
3353
|
# configuration. For more information about S3 Storage Lens, see
|
3345
|
-
# [
|
3346
|
-
# Service Developer Guide*.
|
3354
|
+
# [Assessing your storage activity and usage with Amazon S3 Storage Lens
|
3355
|
+
# ][1] in the *Amazon Simple Storage Service Developer Guide*.
|
3347
3356
|
#
|
3348
3357
|
# <note markdown="1"> To use this action, you must have permission to perform the
|
3349
3358
|
# `s3:PutStorageLensConfigurationTagging` action. For more information,
|
@@ -3533,7 +3542,7 @@ module Aws::S3Control
|
|
3533
3542
|
params: params,
|
3534
3543
|
config: config)
|
3535
3544
|
context[:gem_name] = 'aws-sdk-s3control'
|
3536
|
-
context[:gem_version] = '1.
|
3545
|
+
context[:gem_version] = '1.27.0'
|
3537
3546
|
Seahorse::Client::Request.new(handlers, context)
|
3538
3547
|
end
|
3539
3548
|
|
@@ -197,6 +197,7 @@ module Aws::S3Control
|
|
197
197
|
S3CannedAccessControlList = Shapes::StringShape.new(name: 'S3CannedAccessControlList')
|
198
198
|
S3ContentLength = Shapes::IntegerShape.new(name: 'S3ContentLength')
|
199
199
|
S3CopyObjectOperation = Shapes::StructureShape.new(name: 'S3CopyObjectOperation')
|
200
|
+
S3DeleteObjectTaggingOperation = Shapes::StructureShape.new(name: 'S3DeleteObjectTaggingOperation')
|
200
201
|
S3ExpirationInDays = Shapes::IntegerShape.new(name: 'S3ExpirationInDays')
|
201
202
|
S3GlacierJobTier = Shapes::StringShape.new(name: 'S3GlacierJobTier')
|
202
203
|
S3Grant = Shapes::StructureShape.new(name: 'S3Grant')
|
@@ -550,6 +551,7 @@ module Aws::S3Control
|
|
550
551
|
JobOperation.add_member(:s3_put_object_copy, Shapes::ShapeRef.new(shape: S3CopyObjectOperation, location_name: "S3PutObjectCopy", metadata: {"box"=>true}))
|
551
552
|
JobOperation.add_member(:s3_put_object_acl, Shapes::ShapeRef.new(shape: S3SetObjectAclOperation, location_name: "S3PutObjectAcl", metadata: {"box"=>true}))
|
552
553
|
JobOperation.add_member(:s3_put_object_tagging, Shapes::ShapeRef.new(shape: S3SetObjectTaggingOperation, location_name: "S3PutObjectTagging", metadata: {"box"=>true}))
|
554
|
+
JobOperation.add_member(:s3_delete_object_tagging, Shapes::ShapeRef.new(shape: S3DeleteObjectTaggingOperation, location_name: "S3DeleteObjectTagging", metadata: {"box"=>true}))
|
553
555
|
JobOperation.add_member(:s3_initiate_restore_object, Shapes::ShapeRef.new(shape: S3InitiateRestoreObjectOperation, location_name: "S3InitiateRestoreObject", metadata: {"box"=>true}))
|
554
556
|
JobOperation.add_member(:s3_put_object_legal_hold, Shapes::ShapeRef.new(shape: S3SetObjectLegalHoldOperation, location_name: "S3PutObjectLegalHold", metadata: {"box"=>true}))
|
555
557
|
JobOperation.add_member(:s3_put_object_retention, Shapes::ShapeRef.new(shape: S3SetObjectRetentionOperation, location_name: "S3PutObjectRetention", metadata: {"box"=>true}))
|
@@ -775,6 +777,8 @@ module Aws::S3Control
|
|
775
777
|
S3CopyObjectOperation.add_member(:object_lock_retain_until_date, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "ObjectLockRetainUntilDate"))
|
776
778
|
S3CopyObjectOperation.struct_class = Types::S3CopyObjectOperation
|
777
779
|
|
780
|
+
S3DeleteObjectTaggingOperation.struct_class = Types::S3DeleteObjectTaggingOperation
|
781
|
+
|
778
782
|
S3Grant.add_member(:grantee, Shapes::ShapeRef.new(shape: S3Grantee, location_name: "Grantee"))
|
779
783
|
S3Grant.add_member(:permission, Shapes::ShapeRef.new(shape: S3Permission, location_name: "Permission"))
|
780
784
|
S3Grant.struct_class = Types::S3Grant
|
@@ -31,6 +31,7 @@ client's region instead.
|
|
31
31
|
handlers.add(UrlHandler)
|
32
32
|
end
|
33
33
|
|
34
|
+
# After extracting out any ARN input, resolve a new URL with it.
|
34
35
|
class UrlHandler < Seahorse::Client::Handler
|
35
36
|
def call(context)
|
36
37
|
if context.metadata[:s3_arn]
|
@@ -38,13 +39,18 @@ client's region instead.
|
|
38
39
|
context.http_request.endpoint,
|
39
40
|
context.metadata[:s3_arn][:arn],
|
40
41
|
context.metadata[:s3_arn][:resolved_region],
|
41
|
-
context.metadata[:s3_arn][:dualstack]
|
42
|
+
context.metadata[:s3_arn][:dualstack],
|
43
|
+
# if regional_endpoint is false, a custom endpoint was provided
|
44
|
+
# in this case, we want to prefix the endpoint using the ARN
|
45
|
+
!context.config.regional_endpoint
|
42
46
|
)
|
43
47
|
end
|
44
48
|
@handler.call(context)
|
45
49
|
end
|
46
50
|
end
|
47
51
|
|
52
|
+
# This plugin will extract out any ARN input and set context for other
|
53
|
+
# plugins to use without having to translate the ARN again.
|
48
54
|
class ARNHandler < Seahorse::Client::Handler
|
49
55
|
def call(context)
|
50
56
|
arn_member = _arn_member(context.operation.input.shape)
|
@@ -54,6 +60,7 @@ client's region instead.
|
|
54
60
|
context.config.region,
|
55
61
|
context.config.s3_use_arn_region
|
56
62
|
)
|
63
|
+
validate_outpost_dualstack!(context)
|
57
64
|
if arn
|
58
65
|
validate_config!(context, arn)
|
59
66
|
|
@@ -68,7 +75,6 @@ client's region instead.
|
|
68
75
|
# depending on the ARN's resource type, put the resource value
|
69
76
|
# back onto params
|
70
77
|
context.params[arn_member] = arn.input_member
|
71
|
-
|
72
78
|
context.metadata[:s3_arn] = {
|
73
79
|
arn: arn,
|
74
80
|
resolved_region: resolved_region,
|
@@ -81,6 +87,17 @@ client's region instead.
|
|
81
87
|
|
82
88
|
private
|
83
89
|
|
90
|
+
# this validation has nothing to do with ARNs (can't be in
|
91
|
+
# validate_config!) outposts does not support dualstack, so operations
|
92
|
+
# using an outpost id should be validated too.
|
93
|
+
def validate_outpost_dualstack!(context)
|
94
|
+
if context.params[:outpost_id] && context[:use_dualstack_endpoint]
|
95
|
+
raise ArgumentError,
|
96
|
+
'Cannot provide an Outpost ID when '\
|
97
|
+
'`:use_dualstack_endpoint` is set to true.'
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
84
101
|
# This looks for BucketName or AccessPointName, but prefers BucketName
|
85
102
|
# for CreateAccessPoint because it contains both but should not have
|
86
103
|
# an Access Point ARN as AccessPointName.
|
@@ -102,16 +119,10 @@ client's region instead.
|
|
102
119
|
end
|
103
120
|
|
104
121
|
def validate_config!(context, arn)
|
105
|
-
unless context.config.regional_endpoint
|
106
|
-
raise ArgumentError,
|
107
|
-
'Cannot provide both an Access Point ARN and setting '\
|
108
|
-
':endpoint.'
|
109
|
-
end
|
110
|
-
|
111
122
|
if !arn.support_dualstack? && context[:use_dualstack_endpoint]
|
112
123
|
raise ArgumentError,
|
113
|
-
'Cannot provide
|
114
|
-
'
|
124
|
+
'Cannot provide an Outpost Access Point ARN when '\
|
125
|
+
'`:use_dualstack_endpoint` is set to true.'
|
115
126
|
end
|
116
127
|
end
|
117
128
|
|
@@ -154,8 +165,9 @@ client's region instead.
|
|
154
165
|
end
|
155
166
|
|
156
167
|
# @api private
|
157
|
-
def resolve_url!(url, arn, region, dualstack = false)
|
158
|
-
url.host
|
168
|
+
def resolve_url!(url, arn, region, dualstack = false, has_custom_endpoint = false)
|
169
|
+
custom_endpoint = url.host if has_custom_endpoint
|
170
|
+
url.host = arn.host_url(region, dualstack, custom_endpoint)
|
159
171
|
url
|
160
172
|
end
|
161
173
|
|
@@ -169,9 +181,9 @@ client's region instead.
|
|
169
181
|
# Raise if provided value is not true or false
|
170
182
|
if value.nil?
|
171
183
|
raise ArgumentError,
|
172
|
-
'Must provide either `true` or `false` for '\
|
173
|
-
's3_use_arn_region profile option or for '\
|
174
|
-
"ENV['AWS_S3_USE_ARN_REGION']"
|
184
|
+
'Must provide either `true` or `false` for the '\
|
185
|
+
'`s3_use_arn_region` profile option or for '\
|
186
|
+
"ENV['AWS_S3_USE_ARN_REGION']."
|
175
187
|
end
|
176
188
|
value
|
177
189
|
end
|
@@ -191,7 +203,7 @@ client's region instead.
|
|
191
203
|
if !fips && !use_arn_region && region.include?('fips')
|
192
204
|
raise ArgumentError,
|
193
205
|
'FIPS client regions are not supported for this type of '\
|
194
|
-
'ARN without s3_use_arn_region
|
206
|
+
'ARN without `:s3_use_arn_region`.'
|
195
207
|
end
|
196
208
|
|
197
209
|
# if it's a fips region, attempt to normalize it
|
@@ -16,16 +16,22 @@ for all operations.
|
|
16
16
|
|
17
17
|
def add_handlers(handlers, config)
|
18
18
|
handlers.add(OptionHandler, step: :initialize)
|
19
|
-
handlers.add(DualstackHandler, step: :build, priority:
|
19
|
+
handlers.add(DualstackHandler, step: :build, priority: 11)
|
20
20
|
end
|
21
21
|
|
22
22
|
# @api private
|
23
23
|
class OptionHandler < Seahorse::Client::Handler
|
24
24
|
def call(context)
|
25
|
+
# Support client configuration and per-operation configuration
|
25
26
|
if context.params.is_a?(Hash)
|
26
27
|
dualstack = context.params.delete(:use_dualstack_endpoint)
|
27
28
|
end
|
28
29
|
dualstack = context.config.use_dualstack_endpoint if dualstack.nil?
|
30
|
+
# Raise if :endpoint and dualstack are both provided
|
31
|
+
if dualstack && !context.config.regional_endpoint
|
32
|
+
raise ArgumentError,
|
33
|
+
'Cannot use both :use_dualstack_endpoint and :endpoint'
|
34
|
+
end
|
29
35
|
context[:use_dualstack_endpoint] = dualstack
|
30
36
|
@handler.call(context)
|
31
37
|
end
|
@@ -34,17 +40,16 @@ for all operations.
|
|
34
40
|
# @api private
|
35
41
|
class DualstackHandler < Seahorse::Client::Handler
|
36
42
|
def call(context)
|
37
|
-
|
43
|
+
if context.config.regional_endpoint && context[:use_dualstack_endpoint]
|
44
|
+
apply_dualstack_endpoint(context)
|
45
|
+
end
|
38
46
|
@handler.call(context)
|
39
47
|
end
|
40
48
|
|
41
49
|
private
|
42
50
|
def apply_dualstack_endpoint(context)
|
43
|
-
bucket_name = context.params[:bucket]
|
44
51
|
region = context.config.region
|
45
|
-
dns_suffix = Aws::Partitions::EndpointProvider.dns_suffix_for(
|
46
|
-
region
|
47
|
-
)
|
52
|
+
dns_suffix = Aws::Partitions::EndpointProvider.dns_suffix_for(region)
|
48
53
|
host = "s3-control.dualstack.#{region}.#{dns_suffix}"
|
49
54
|
endpoint = URI.parse(context.http_request.endpoint.to_s)
|
50
55
|
endpoint.scheme = context.http_request.endpoint.scheme
|
@@ -52,10 +57,6 @@ for all operations.
|
|
52
57
|
endpoint.host = host
|
53
58
|
context.http_request.endpoint = endpoint.to_s
|
54
59
|
end
|
55
|
-
|
56
|
-
def use_dualstack_endpoint?(context)
|
57
|
-
context[:use_dualstack_endpoint]
|
58
|
-
end
|
59
60
|
end
|
60
61
|
|
61
62
|
end
|
@@ -51,8 +51,12 @@ module Aws
|
|
51
51
|
credentials: context.config.credentials
|
52
52
|
)
|
53
53
|
elsif outpost_operation?(context)
|
54
|
-
|
55
|
-
|
54
|
+
# outpost operations should go to the outposts endpoint only if
|
55
|
+
# it's not a custom endpoint. the ARN class changes this for ARNs
|
56
|
+
if context.config.regional_endpoint
|
57
|
+
context.http_request.endpoint.host =
|
58
|
+
"s3-outposts.#{context.config.region}.amazonaws.com"
|
59
|
+
end
|
56
60
|
S3ControlSigner.build_v4_signer(
|
57
61
|
service: 's3-outposts',
|
58
62
|
region: context.config.region,
|
@@ -558,6 +558,8 @@ module Aws::S3Control
|
|
558
558
|
# },
|
559
559
|
# ],
|
560
560
|
# },
|
561
|
+
# s3_delete_object_tagging: {
|
562
|
+
# },
|
561
563
|
# s3_initiate_restore_object: {
|
562
564
|
# expiration_in_days: 1,
|
563
565
|
# glacier_job_tier: "BULK", # accepts BULK, STANDARD
|
@@ -1926,6 +1928,14 @@ module Aws::S3Control
|
|
1926
1928
|
#
|
1927
1929
|
# @!attribute [rw] object_arn
|
1928
1930
|
# The Amazon Resource Name (ARN) for a manifest object.
|
1931
|
+
#
|
1932
|
+
# Replacement must be made for object keys containing special
|
1933
|
+
# characters (such as carriage returns) when using XML requests. For
|
1934
|
+
# more information, see [ XML related object key constraints][1].
|
1935
|
+
#
|
1936
|
+
#
|
1937
|
+
#
|
1938
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
|
1929
1939
|
# @return [String]
|
1930
1940
|
#
|
1931
1941
|
# @!attribute [rw] object_version_id
|
@@ -2069,6 +2079,8 @@ module Aws::S3Control
|
|
2069
2079
|
# },
|
2070
2080
|
# ],
|
2071
2081
|
# },
|
2082
|
+
# s3_delete_object_tagging: {
|
2083
|
+
# },
|
2072
2084
|
# s3_initiate_restore_object: {
|
2073
2085
|
# expiration_in_days: 1,
|
2074
2086
|
# glacier_job_tier: "BULK", # accepts BULK, STANDARD
|
@@ -2107,6 +2119,11 @@ module Aws::S3Control
|
|
2107
2119
|
# object in the manifest.
|
2108
2120
|
# @return [Types::S3SetObjectTaggingOperation]
|
2109
2121
|
#
|
2122
|
+
# @!attribute [rw] s3_delete_object_tagging
|
2123
|
+
# Directs the specified job to execute a DELETE Object tagging call on
|
2124
|
+
# every object in the manifest.
|
2125
|
+
# @return [Types::S3DeleteObjectTaggingOperation]
|
2126
|
+
#
|
2110
2127
|
# @!attribute [rw] s3_initiate_restore_object
|
2111
2128
|
# Directs the specified job to initiate restore requests for every
|
2112
2129
|
# archived object in the manifest.
|
@@ -2144,6 +2161,7 @@ module Aws::S3Control
|
|
2144
2161
|
:s3_put_object_copy,
|
2145
2162
|
:s3_put_object_acl,
|
2146
2163
|
:s3_put_object_tagging,
|
2164
|
+
:s3_delete_object_tagging,
|
2147
2165
|
:s3_initiate_restore_object,
|
2148
2166
|
:s3_put_object_legal_hold,
|
2149
2167
|
:s3_put_object_retention)
|
@@ -2544,6 +2562,14 @@ module Aws::S3Control
|
|
2544
2562
|
#
|
2545
2563
|
# @!attribute [rw] prefix
|
2546
2564
|
# Prefix identifying one or more objects to which the rule applies.
|
2565
|
+
#
|
2566
|
+
# Replacement must be made for object keys containing special
|
2567
|
+
# characters (such as carriage returns) when using XML requests. For
|
2568
|
+
# more information, see [ XML related object key constraints][1].
|
2569
|
+
#
|
2570
|
+
#
|
2571
|
+
#
|
2572
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints
|
2547
2573
|
# @return [String]
|
2548
2574
|
#
|
2549
2575
|
# @!attribute [rw] tag
|
@@ -3860,6 +3886,16 @@ module Aws::S3Control
|
|
3860
3886
|
include Aws::Structure
|
3861
3887
|
end
|
3862
3888
|
|
3889
|
+
# Contains no configuration parameters because the DELETE Object tagging
|
3890
|
+
# API only accepts the bucket name and key name as parameters, which are
|
3891
|
+
# defined in the job's manifest.
|
3892
|
+
#
|
3893
|
+
# @api private
|
3894
|
+
#
|
3895
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/S3DeleteObjectTaggingOperation AWS API Documentation
|
3896
|
+
#
|
3897
|
+
class S3DeleteObjectTaggingOperation < Aws::EmptyStructure; end
|
3898
|
+
|
3863
3899
|
# @note When making an API call, you may pass S3Grant
|
3864
3900
|
# data as a hash:
|
3865
3901
|
#
|
@@ -4531,6 +4567,11 @@ module Aws::S3Control
|
|
4531
4567
|
# @!attribute [rw] s3_bucket_destination
|
4532
4568
|
# A container for the bucket where the S3 Storage Lens metrics export
|
4533
4569
|
# will be located.
|
4570
|
+
#
|
4571
|
+
# <note markdown="1"> This bucket must be located in the same Region as the storage lens
|
4572
|
+
# configuration.
|
4573
|
+
#
|
4574
|
+
# </note>
|
4534
4575
|
# @return [Types::S3BucketDestination]
|
4535
4576
|
#
|
4536
4577
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/StorageLensDataExport AWS API Documentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-s3control
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.27.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
version: '3'
|
34
34
|
- - ">="
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version: 3.
|
36
|
+
version: 3.112.0
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '3'
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 3.
|
46
|
+
version: 3.112.0
|
47
47
|
description: Official AWS Ruby gem for AWS S3 Control. This gem is part of the AWS
|
48
48
|
SDK for Ruby.
|
49
49
|
email:
|