aws-sdk-s3control 1.23.0 → 1.24.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/lib/aws-sdk-s3control.rb +1 -1
- data/lib/aws-sdk-s3control/arn/outpost_access_point_arn.rb +76 -0
- data/lib/aws-sdk-s3control/arn/outpost_bucket_arn.rb +72 -0
- data/lib/aws-sdk-s3control/client.rb +1645 -110
- data/lib/aws-sdk-s3control/client_api.rb +458 -20
- data/lib/aws-sdk-s3control/errors.rb +22 -0
- data/lib/aws-sdk-s3control/plugins/arn.rb +215 -0
- data/lib/aws-sdk-s3control/plugins/{s3_signer.rb → s3_control_signer.rb} +33 -28
- data/lib/aws-sdk-s3control/types.rb +1466 -100
- metadata +8 -6
- data/lib/aws-sdk-s3control/plugins/s3_control_dns.rb +0 -29
@@ -13,26 +13,45 @@ module Aws::S3Control
|
|
13
13
|
|
14
14
|
include Seahorse::Model
|
15
15
|
|
16
|
+
AbortIncompleteMultipartUpload = Shapes::StructureShape.new(name: 'AbortIncompleteMultipartUpload')
|
16
17
|
AccessPoint = Shapes::StructureShape.new(name: 'AccessPoint')
|
17
18
|
AccessPointList = Shapes::ListShape.new(name: 'AccessPointList')
|
18
19
|
AccessPointName = Shapes::StringShape.new(name: 'AccessPointName')
|
19
20
|
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
20
21
|
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
|
21
22
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
23
|
+
BucketAlreadyExists = Shapes::StructureShape.new(name: 'BucketAlreadyExists')
|
24
|
+
BucketAlreadyOwnedByYou = Shapes::StructureShape.new(name: 'BucketAlreadyOwnedByYou')
|
25
|
+
BucketCannedACL = Shapes::StringShape.new(name: 'BucketCannedACL')
|
26
|
+
BucketLocationConstraint = Shapes::StringShape.new(name: 'BucketLocationConstraint')
|
22
27
|
BucketName = Shapes::StringShape.new(name: 'BucketName')
|
28
|
+
ConfirmRemoveSelfBucketAccess = Shapes::BooleanShape.new(name: 'ConfirmRemoveSelfBucketAccess')
|
23
29
|
ConfirmationRequired = Shapes::BooleanShape.new(name: 'ConfirmationRequired')
|
24
30
|
CreateAccessPointRequest = Shapes::StructureShape.new(name: 'CreateAccessPointRequest')
|
31
|
+
CreateAccessPointResult = Shapes::StructureShape.new(name: 'CreateAccessPointResult')
|
32
|
+
CreateBucketConfiguration = Shapes::StructureShape.new(name: 'CreateBucketConfiguration')
|
33
|
+
CreateBucketRequest = Shapes::StructureShape.new(name: 'CreateBucketRequest')
|
34
|
+
CreateBucketResult = Shapes::StructureShape.new(name: 'CreateBucketResult')
|
25
35
|
CreateJobRequest = Shapes::StructureShape.new(name: 'CreateJobRequest')
|
26
36
|
CreateJobResult = Shapes::StructureShape.new(name: 'CreateJobResult')
|
27
37
|
CreationDate = Shapes::TimestampShape.new(name: 'CreationDate')
|
38
|
+
Date = Shapes::TimestampShape.new(name: 'Date')
|
39
|
+
Days = Shapes::IntegerShape.new(name: 'Days')
|
40
|
+
DaysAfterInitiation = Shapes::IntegerShape.new(name: 'DaysAfterInitiation')
|
28
41
|
DeleteAccessPointPolicyRequest = Shapes::StructureShape.new(name: 'DeleteAccessPointPolicyRequest')
|
29
42
|
DeleteAccessPointRequest = Shapes::StructureShape.new(name: 'DeleteAccessPointRequest')
|
43
|
+
DeleteBucketLifecycleConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteBucketLifecycleConfigurationRequest')
|
44
|
+
DeleteBucketPolicyRequest = Shapes::StructureShape.new(name: 'DeleteBucketPolicyRequest')
|
45
|
+
DeleteBucketRequest = Shapes::StructureShape.new(name: 'DeleteBucketRequest')
|
46
|
+
DeleteBucketTaggingRequest = Shapes::StructureShape.new(name: 'DeleteBucketTaggingRequest')
|
30
47
|
DeleteJobTaggingRequest = Shapes::StructureShape.new(name: 'DeleteJobTaggingRequest')
|
31
48
|
DeleteJobTaggingResult = Shapes::StructureShape.new(name: 'DeleteJobTaggingResult')
|
32
49
|
DeletePublicAccessBlockRequest = Shapes::StructureShape.new(name: 'DeletePublicAccessBlockRequest')
|
33
50
|
DescribeJobRequest = Shapes::StructureShape.new(name: 'DescribeJobRequest')
|
34
51
|
DescribeJobResult = Shapes::StructureShape.new(name: 'DescribeJobResult')
|
35
52
|
ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
|
53
|
+
ExpirationStatus = Shapes::StringShape.new(name: 'ExpirationStatus')
|
54
|
+
ExpiredObjectDeleteMarker = Shapes::BooleanShape.new(name: 'ExpiredObjectDeleteMarker')
|
36
55
|
FunctionArnString = Shapes::StringShape.new(name: 'FunctionArnString')
|
37
56
|
GetAccessPointPolicyRequest = Shapes::StructureShape.new(name: 'GetAccessPointPolicyRequest')
|
38
57
|
GetAccessPointPolicyResult = Shapes::StructureShape.new(name: 'GetAccessPointPolicyResult')
|
@@ -40,11 +59,25 @@ module Aws::S3Control
|
|
40
59
|
GetAccessPointPolicyStatusResult = Shapes::StructureShape.new(name: 'GetAccessPointPolicyStatusResult')
|
41
60
|
GetAccessPointRequest = Shapes::StructureShape.new(name: 'GetAccessPointRequest')
|
42
61
|
GetAccessPointResult = Shapes::StructureShape.new(name: 'GetAccessPointResult')
|
62
|
+
GetBucketLifecycleConfigurationRequest = Shapes::StructureShape.new(name: 'GetBucketLifecycleConfigurationRequest')
|
63
|
+
GetBucketLifecycleConfigurationResult = Shapes::StructureShape.new(name: 'GetBucketLifecycleConfigurationResult')
|
64
|
+
GetBucketPolicyRequest = Shapes::StructureShape.new(name: 'GetBucketPolicyRequest')
|
65
|
+
GetBucketPolicyResult = Shapes::StructureShape.new(name: 'GetBucketPolicyResult')
|
66
|
+
GetBucketRequest = Shapes::StructureShape.new(name: 'GetBucketRequest')
|
67
|
+
GetBucketResult = Shapes::StructureShape.new(name: 'GetBucketResult')
|
68
|
+
GetBucketTaggingRequest = Shapes::StructureShape.new(name: 'GetBucketTaggingRequest')
|
69
|
+
GetBucketTaggingResult = Shapes::StructureShape.new(name: 'GetBucketTaggingResult')
|
43
70
|
GetJobTaggingRequest = Shapes::StructureShape.new(name: 'GetJobTaggingRequest')
|
44
71
|
GetJobTaggingResult = Shapes::StructureShape.new(name: 'GetJobTaggingResult')
|
45
72
|
GetPublicAccessBlockOutput = Shapes::StructureShape.new(name: 'GetPublicAccessBlockOutput')
|
46
73
|
GetPublicAccessBlockRequest = Shapes::StructureShape.new(name: 'GetPublicAccessBlockRequest')
|
74
|
+
GrantFullControl = Shapes::StringShape.new(name: 'GrantFullControl')
|
75
|
+
GrantRead = Shapes::StringShape.new(name: 'GrantRead')
|
76
|
+
GrantReadACP = Shapes::StringShape.new(name: 'GrantReadACP')
|
77
|
+
GrantWrite = Shapes::StringShape.new(name: 'GrantWrite')
|
78
|
+
GrantWriteACP = Shapes::StringShape.new(name: 'GrantWriteACP')
|
47
79
|
IAMRoleArn = Shapes::StringShape.new(name: 'IAMRoleArn')
|
80
|
+
ID = Shapes::StringShape.new(name: 'ID')
|
48
81
|
IdempotencyException = Shapes::StructureShape.new(name: 'IdempotencyException')
|
49
82
|
InternalServiceException = Shapes::StructureShape.new(name: 'InternalServiceException')
|
50
83
|
InvalidNextTokenException = Shapes::StructureShape.new(name: 'InvalidNextTokenException')
|
@@ -82,10 +115,19 @@ module Aws::S3Control
|
|
82
115
|
JobTotalNumberOfTasks = Shapes::IntegerShape.new(name: 'JobTotalNumberOfTasks')
|
83
116
|
KmsKeyArnString = Shapes::StringShape.new(name: 'KmsKeyArnString')
|
84
117
|
LambdaInvokeOperation = Shapes::StructureShape.new(name: 'LambdaInvokeOperation')
|
118
|
+
LifecycleConfiguration = Shapes::StructureShape.new(name: 'LifecycleConfiguration')
|
119
|
+
LifecycleExpiration = Shapes::StructureShape.new(name: 'LifecycleExpiration')
|
120
|
+
LifecycleRule = Shapes::StructureShape.new(name: 'LifecycleRule')
|
121
|
+
LifecycleRuleAndOperator = Shapes::StructureShape.new(name: 'LifecycleRuleAndOperator')
|
122
|
+
LifecycleRuleFilter = Shapes::StructureShape.new(name: 'LifecycleRuleFilter')
|
123
|
+
LifecycleRules = Shapes::ListShape.new(name: 'LifecycleRules')
|
85
124
|
ListAccessPointsRequest = Shapes::StructureShape.new(name: 'ListAccessPointsRequest')
|
86
125
|
ListAccessPointsResult = Shapes::StructureShape.new(name: 'ListAccessPointsResult')
|
87
126
|
ListJobsRequest = Shapes::StructureShape.new(name: 'ListJobsRequest')
|
88
127
|
ListJobsResult = Shapes::StructureShape.new(name: 'ListJobsResult')
|
128
|
+
ListRegionalBucketsRequest = Shapes::StructureShape.new(name: 'ListRegionalBucketsRequest')
|
129
|
+
ListRegionalBucketsResult = Shapes::StructureShape.new(name: 'ListRegionalBucketsResult')
|
130
|
+
Location = Shapes::StringShape.new(name: 'Location')
|
89
131
|
MaxLength1024String = Shapes::StringShape.new(name: 'MaxLength1024String')
|
90
132
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
91
133
|
NetworkOrigin = Shapes::StringShape.new(name: 'NetworkOrigin')
|
@@ -95,19 +137,31 @@ module Aws::S3Control
|
|
95
137
|
NonEmptyMaxLength2048String = Shapes::StringShape.new(name: 'NonEmptyMaxLength2048String')
|
96
138
|
NonEmptyMaxLength256String = Shapes::StringShape.new(name: 'NonEmptyMaxLength256String')
|
97
139
|
NonEmptyMaxLength64String = Shapes::StringShape.new(name: 'NonEmptyMaxLength64String')
|
140
|
+
NoncurrentVersionExpiration = Shapes::StructureShape.new(name: 'NoncurrentVersionExpiration')
|
141
|
+
NoncurrentVersionTransition = Shapes::StructureShape.new(name: 'NoncurrentVersionTransition')
|
142
|
+
NoncurrentVersionTransitionList = Shapes::ListShape.new(name: 'NoncurrentVersionTransitionList')
|
98
143
|
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
144
|
+
ObjectLockEnabledForBucket = Shapes::BooleanShape.new(name: 'ObjectLockEnabledForBucket')
|
99
145
|
OperationName = Shapes::StringShape.new(name: 'OperationName')
|
100
146
|
Policy = Shapes::StringShape.new(name: 'Policy')
|
101
147
|
PolicyStatus = Shapes::StructureShape.new(name: 'PolicyStatus')
|
148
|
+
Prefix = Shapes::StringShape.new(name: 'Prefix')
|
102
149
|
PublicAccessBlockConfiguration = Shapes::StructureShape.new(name: 'PublicAccessBlockConfiguration')
|
150
|
+
PublicAccessBlockEnabled = Shapes::BooleanShape.new(name: 'PublicAccessBlockEnabled')
|
103
151
|
PutAccessPointPolicyRequest = Shapes::StructureShape.new(name: 'PutAccessPointPolicyRequest')
|
152
|
+
PutBucketLifecycleConfigurationRequest = Shapes::StructureShape.new(name: 'PutBucketLifecycleConfigurationRequest')
|
153
|
+
PutBucketPolicyRequest = Shapes::StructureShape.new(name: 'PutBucketPolicyRequest')
|
154
|
+
PutBucketTaggingRequest = Shapes::StructureShape.new(name: 'PutBucketTaggingRequest')
|
104
155
|
PutJobTaggingRequest = Shapes::StructureShape.new(name: 'PutJobTaggingRequest')
|
105
156
|
PutJobTaggingResult = Shapes::StructureShape.new(name: 'PutJobTaggingResult')
|
106
157
|
PutPublicAccessBlockRequest = Shapes::StructureShape.new(name: 'PutPublicAccessBlockRequest')
|
158
|
+
RegionalBucket = Shapes::StructureShape.new(name: 'RegionalBucket')
|
159
|
+
RegionalBucketList = Shapes::ListShape.new(name: 'RegionalBucketList')
|
107
160
|
ReportPrefixString = Shapes::StringShape.new(name: 'ReportPrefixString')
|
108
161
|
RequestedJobStatus = Shapes::StringShape.new(name: 'RequestedJobStatus')
|
109
162
|
S3AccessControlList = Shapes::StructureShape.new(name: 'S3AccessControlList')
|
110
163
|
S3AccessControlPolicy = Shapes::StructureShape.new(name: 'S3AccessControlPolicy')
|
164
|
+
S3AccessPointArn = Shapes::StringShape.new(name: 'S3AccessPointArn')
|
111
165
|
S3BucketArnString = Shapes::StringShape.new(name: 'S3BucketArnString')
|
112
166
|
S3CannedAccessControlList = Shapes::StringShape.new(name: 'S3CannedAccessControlList')
|
113
167
|
S3ContentLength = Shapes::IntegerShape.new(name: 'S3ContentLength')
|
@@ -129,6 +183,7 @@ module Aws::S3Control
|
|
129
183
|
S3ObjectOwner = Shapes::StructureShape.new(name: 'S3ObjectOwner')
|
130
184
|
S3ObjectVersionId = Shapes::StringShape.new(name: 'S3ObjectVersionId')
|
131
185
|
S3Permission = Shapes::StringShape.new(name: 'S3Permission')
|
186
|
+
S3RegionalBucketArn = Shapes::StringShape.new(name: 'S3RegionalBucketArn')
|
132
187
|
S3Retention = Shapes::StructureShape.new(name: 'S3Retention')
|
133
188
|
S3SSEAlgorithm = Shapes::StringShape.new(name: 'S3SSEAlgorithm')
|
134
189
|
S3SetObjectAclOperation = Shapes::StructureShape.new(name: 'S3SetObjectAclOperation')
|
@@ -145,9 +200,13 @@ module Aws::S3Control
|
|
145
200
|
SuspendedDate = Shapes::TimestampShape.new(name: 'SuspendedDate')
|
146
201
|
TagKeyString = Shapes::StringShape.new(name: 'TagKeyString')
|
147
202
|
TagValueString = Shapes::StringShape.new(name: 'TagValueString')
|
203
|
+
Tagging = Shapes::StructureShape.new(name: 'Tagging')
|
148
204
|
TimeStamp = Shapes::TimestampShape.new(name: 'TimeStamp')
|
149
205
|
TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
|
150
206
|
TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
|
207
|
+
Transition = Shapes::StructureShape.new(name: 'Transition')
|
208
|
+
TransitionList = Shapes::ListShape.new(name: 'TransitionList')
|
209
|
+
TransitionStorageClass = Shapes::StringShape.new(name: 'TransitionStorageClass')
|
151
210
|
UpdateJobPriorityRequest = Shapes::StructureShape.new(name: 'UpdateJobPriorityRequest')
|
152
211
|
UpdateJobPriorityResult = Shapes::StructureShape.new(name: 'UpdateJobPriorityResult')
|
153
212
|
UpdateJobStatusRequest = Shapes::StructureShape.new(name: 'UpdateJobStatusRequest')
|
@@ -155,10 +214,14 @@ module Aws::S3Control
|
|
155
214
|
VpcConfiguration = Shapes::StructureShape.new(name: 'VpcConfiguration')
|
156
215
|
VpcId = Shapes::StringShape.new(name: 'VpcId')
|
157
216
|
|
217
|
+
AbortIncompleteMultipartUpload.add_member(:days_after_initiation, Shapes::ShapeRef.new(shape: DaysAfterInitiation, location_name: "DaysAfterInitiation"))
|
218
|
+
AbortIncompleteMultipartUpload.struct_class = Types::AbortIncompleteMultipartUpload
|
219
|
+
|
158
220
|
AccessPoint.add_member(:name, Shapes::ShapeRef.new(shape: AccessPointName, required: true, location_name: "Name"))
|
159
221
|
AccessPoint.add_member(:network_origin, Shapes::ShapeRef.new(shape: NetworkOrigin, required: true, location_name: "NetworkOrigin"))
|
160
222
|
AccessPoint.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: VpcConfiguration, location_name: "VpcConfiguration"))
|
161
223
|
AccessPoint.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "Bucket"))
|
224
|
+
AccessPoint.add_member(:access_point_arn, Shapes::ShapeRef.new(shape: S3AccessPointArn, location_name: "AccessPointArn"))
|
162
225
|
AccessPoint.struct_class = Types::AccessPoint
|
163
226
|
|
164
227
|
AccessPointList.member = Shapes::ShapeRef.new(shape: AccessPoint, location_name: "AccessPoint")
|
@@ -166,14 +229,42 @@ module Aws::S3Control
|
|
166
229
|
BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
|
167
230
|
BadRequestException.struct_class = Types::BadRequestException
|
168
231
|
|
169
|
-
|
232
|
+
BucketAlreadyExists.struct_class = Types::BucketAlreadyExists
|
233
|
+
|
234
|
+
BucketAlreadyOwnedByYou.struct_class = Types::BucketAlreadyOwnedByYou
|
235
|
+
|
236
|
+
CreateAccessPointRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
|
170
237
|
CreateAccessPointRequest.add_member(:name, Shapes::ShapeRef.new(shape: AccessPointName, required: true, location: "uri", location_name: "name"))
|
171
238
|
CreateAccessPointRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "Bucket"))
|
172
239
|
CreateAccessPointRequest.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: VpcConfiguration, location_name: "VpcConfiguration"))
|
173
240
|
CreateAccessPointRequest.add_member(:public_access_block_configuration, Shapes::ShapeRef.new(shape: PublicAccessBlockConfiguration, location_name: "PublicAccessBlockConfiguration"))
|
174
241
|
CreateAccessPointRequest.struct_class = Types::CreateAccessPointRequest
|
175
242
|
|
176
|
-
|
243
|
+
CreateAccessPointResult.add_member(:access_point_arn, Shapes::ShapeRef.new(shape: S3AccessPointArn, location_name: "AccessPointArn"))
|
244
|
+
CreateAccessPointResult.struct_class = Types::CreateAccessPointResult
|
245
|
+
|
246
|
+
CreateBucketConfiguration.add_member(:location_constraint, Shapes::ShapeRef.new(shape: BucketLocationConstraint, location_name: "LocationConstraint"))
|
247
|
+
CreateBucketConfiguration.struct_class = Types::CreateBucketConfiguration
|
248
|
+
|
249
|
+
CreateBucketRequest.add_member(:acl, Shapes::ShapeRef.new(shape: BucketCannedACL, location: "header", location_name: "x-amz-acl"))
|
250
|
+
CreateBucketRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "name"))
|
251
|
+
CreateBucketRequest.add_member(:create_bucket_configuration, Shapes::ShapeRef.new(shape: CreateBucketConfiguration, location_name: "CreateBucketConfiguration", metadata: {"xmlNamespace"=>{"uri"=>"http://awss3control.amazonaws.com/doc/2018-08-20/"}}))
|
252
|
+
CreateBucketRequest.add_member(:grant_full_control, Shapes::ShapeRef.new(shape: GrantFullControl, location: "header", location_name: "x-amz-grant-full-control"))
|
253
|
+
CreateBucketRequest.add_member(:grant_read, Shapes::ShapeRef.new(shape: GrantRead, location: "header", location_name: "x-amz-grant-read"))
|
254
|
+
CreateBucketRequest.add_member(:grant_read_acp, Shapes::ShapeRef.new(shape: GrantReadACP, location: "header", location_name: "x-amz-grant-read-acp"))
|
255
|
+
CreateBucketRequest.add_member(:grant_write, Shapes::ShapeRef.new(shape: GrantWrite, location: "header", location_name: "x-amz-grant-write"))
|
256
|
+
CreateBucketRequest.add_member(:grant_write_acp, Shapes::ShapeRef.new(shape: GrantWriteACP, location: "header", location_name: "x-amz-grant-write-acp"))
|
257
|
+
CreateBucketRequest.add_member(:object_lock_enabled_for_bucket, Shapes::ShapeRef.new(shape: ObjectLockEnabledForBucket, location: "header", location_name: "x-amz-bucket-object-lock-enabled"))
|
258
|
+
CreateBucketRequest.add_member(:outpost_id, Shapes::ShapeRef.new(shape: NonEmptyMaxLength64String, location: "header", location_name: "x-amz-outpost-id"))
|
259
|
+
CreateBucketRequest.struct_class = Types::CreateBucketRequest
|
260
|
+
CreateBucketRequest[:payload] = :create_bucket_configuration
|
261
|
+
CreateBucketRequest[:payload_member] = CreateBucketRequest.member(:create_bucket_configuration)
|
262
|
+
|
263
|
+
CreateBucketResult.add_member(:location, Shapes::ShapeRef.new(shape: Location, location: "header", location_name: "Location"))
|
264
|
+
CreateBucketResult.add_member(:bucket_arn, Shapes::ShapeRef.new(shape: S3RegionalBucketArn, location_name: "BucketArn"))
|
265
|
+
CreateBucketResult.struct_class = Types::CreateBucketResult
|
266
|
+
|
267
|
+
CreateJobRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
|
177
268
|
CreateJobRequest.add_member(:confirmation_required, Shapes::ShapeRef.new(shape: ConfirmationRequired, location_name: "ConfirmationRequired", metadata: {"box"=>true}))
|
178
269
|
CreateJobRequest.add_member(:operation, Shapes::ShapeRef.new(shape: JobOperation, required: true, location_name: "Operation"))
|
179
270
|
CreateJobRequest.add_member(:report, Shapes::ShapeRef.new(shape: JobReport, required: true, location_name: "Report"))
|
@@ -188,45 +279,61 @@ module Aws::S3Control
|
|
188
279
|
CreateJobResult.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
189
280
|
CreateJobResult.struct_class = Types::CreateJobResult
|
190
281
|
|
191
|
-
DeleteAccessPointPolicyRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id"))
|
282
|
+
DeleteAccessPointPolicyRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
|
192
283
|
DeleteAccessPointPolicyRequest.add_member(:name, Shapes::ShapeRef.new(shape: AccessPointName, required: true, location: "uri", location_name: "name"))
|
193
284
|
DeleteAccessPointPolicyRequest.struct_class = Types::DeleteAccessPointPolicyRequest
|
194
285
|
|
195
|
-
DeleteAccessPointRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id"))
|
286
|
+
DeleteAccessPointRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
|
196
287
|
DeleteAccessPointRequest.add_member(:name, Shapes::ShapeRef.new(shape: AccessPointName, required: true, location: "uri", location_name: "name"))
|
197
288
|
DeleteAccessPointRequest.struct_class = Types::DeleteAccessPointRequest
|
198
289
|
|
199
|
-
|
290
|
+
DeleteBucketLifecycleConfigurationRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
|
291
|
+
DeleteBucketLifecycleConfigurationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "name"))
|
292
|
+
DeleteBucketLifecycleConfigurationRequest.struct_class = Types::DeleteBucketLifecycleConfigurationRequest
|
293
|
+
|
294
|
+
DeleteBucketPolicyRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
|
295
|
+
DeleteBucketPolicyRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "name"))
|
296
|
+
DeleteBucketPolicyRequest.struct_class = Types::DeleteBucketPolicyRequest
|
297
|
+
|
298
|
+
DeleteBucketRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
|
299
|
+
DeleteBucketRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "name"))
|
300
|
+
DeleteBucketRequest.struct_class = Types::DeleteBucketRequest
|
301
|
+
|
302
|
+
DeleteBucketTaggingRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
|
303
|
+
DeleteBucketTaggingRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "name"))
|
304
|
+
DeleteBucketTaggingRequest.struct_class = Types::DeleteBucketTaggingRequest
|
305
|
+
|
306
|
+
DeleteJobTaggingRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
|
200
307
|
DeleteJobTaggingRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "id"))
|
201
308
|
DeleteJobTaggingRequest.struct_class = Types::DeleteJobTaggingRequest
|
202
309
|
|
203
310
|
DeleteJobTaggingResult.struct_class = Types::DeleteJobTaggingResult
|
204
311
|
|
205
|
-
DeletePublicAccessBlockRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id"))
|
312
|
+
DeletePublicAccessBlockRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
|
206
313
|
DeletePublicAccessBlockRequest.struct_class = Types::DeletePublicAccessBlockRequest
|
207
314
|
|
208
|
-
DescribeJobRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id"))
|
315
|
+
DescribeJobRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
|
209
316
|
DescribeJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "id"))
|
210
317
|
DescribeJobRequest.struct_class = Types::DescribeJobRequest
|
211
318
|
|
212
319
|
DescribeJobResult.add_member(:job, Shapes::ShapeRef.new(shape: JobDescriptor, location_name: "Job"))
|
213
320
|
DescribeJobResult.struct_class = Types::DescribeJobResult
|
214
321
|
|
215
|
-
GetAccessPointPolicyRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id"))
|
322
|
+
GetAccessPointPolicyRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
|
216
323
|
GetAccessPointPolicyRequest.add_member(:name, Shapes::ShapeRef.new(shape: AccessPointName, required: true, location: "uri", location_name: "name"))
|
217
324
|
GetAccessPointPolicyRequest.struct_class = Types::GetAccessPointPolicyRequest
|
218
325
|
|
219
326
|
GetAccessPointPolicyResult.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, location_name: "Policy"))
|
220
327
|
GetAccessPointPolicyResult.struct_class = Types::GetAccessPointPolicyResult
|
221
328
|
|
222
|
-
GetAccessPointPolicyStatusRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id"))
|
329
|
+
GetAccessPointPolicyStatusRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
|
223
330
|
GetAccessPointPolicyStatusRequest.add_member(:name, Shapes::ShapeRef.new(shape: AccessPointName, required: true, location: "uri", location_name: "name"))
|
224
331
|
GetAccessPointPolicyStatusRequest.struct_class = Types::GetAccessPointPolicyStatusRequest
|
225
332
|
|
226
333
|
GetAccessPointPolicyStatusResult.add_member(:policy_status, Shapes::ShapeRef.new(shape: PolicyStatus, location_name: "PolicyStatus"))
|
227
334
|
GetAccessPointPolicyStatusResult.struct_class = Types::GetAccessPointPolicyStatusResult
|
228
335
|
|
229
|
-
GetAccessPointRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id"))
|
336
|
+
GetAccessPointRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
|
230
337
|
GetAccessPointRequest.add_member(:name, Shapes::ShapeRef.new(shape: AccessPointName, required: true, location: "uri", location_name: "name"))
|
231
338
|
GetAccessPointRequest.struct_class = Types::GetAccessPointRequest
|
232
339
|
|
@@ -238,7 +345,37 @@ module Aws::S3Control
|
|
238
345
|
GetAccessPointResult.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "CreationDate"))
|
239
346
|
GetAccessPointResult.struct_class = Types::GetAccessPointResult
|
240
347
|
|
241
|
-
|
348
|
+
GetBucketLifecycleConfigurationRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
|
349
|
+
GetBucketLifecycleConfigurationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "name"))
|
350
|
+
GetBucketLifecycleConfigurationRequest.struct_class = Types::GetBucketLifecycleConfigurationRequest
|
351
|
+
|
352
|
+
GetBucketLifecycleConfigurationResult.add_member(:rules, Shapes::ShapeRef.new(shape: LifecycleRules, location_name: "Rules"))
|
353
|
+
GetBucketLifecycleConfigurationResult.struct_class = Types::GetBucketLifecycleConfigurationResult
|
354
|
+
|
355
|
+
GetBucketPolicyRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
|
356
|
+
GetBucketPolicyRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "name"))
|
357
|
+
GetBucketPolicyRequest.struct_class = Types::GetBucketPolicyRequest
|
358
|
+
|
359
|
+
GetBucketPolicyResult.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, location_name: "Policy"))
|
360
|
+
GetBucketPolicyResult.struct_class = Types::GetBucketPolicyResult
|
361
|
+
|
362
|
+
GetBucketRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
|
363
|
+
GetBucketRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "name"))
|
364
|
+
GetBucketRequest.struct_class = Types::GetBucketRequest
|
365
|
+
|
366
|
+
GetBucketResult.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, location_name: "Bucket"))
|
367
|
+
GetBucketResult.add_member(:public_access_block_enabled, Shapes::ShapeRef.new(shape: PublicAccessBlockEnabled, location_name: "PublicAccessBlockEnabled"))
|
368
|
+
GetBucketResult.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "CreationDate"))
|
369
|
+
GetBucketResult.struct_class = Types::GetBucketResult
|
370
|
+
|
371
|
+
GetBucketTaggingRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
|
372
|
+
GetBucketTaggingRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "name"))
|
373
|
+
GetBucketTaggingRequest.struct_class = Types::GetBucketTaggingRequest
|
374
|
+
|
375
|
+
GetBucketTaggingResult.add_member(:tag_set, Shapes::ShapeRef.new(shape: S3TagSet, required: true, location_name: "TagSet"))
|
376
|
+
GetBucketTaggingResult.struct_class = Types::GetBucketTaggingResult
|
377
|
+
|
378
|
+
GetJobTaggingRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
|
242
379
|
GetJobTaggingRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "id"))
|
243
380
|
GetJobTaggingRequest.struct_class = Types::GetJobTaggingRequest
|
244
381
|
|
@@ -250,7 +387,7 @@ module Aws::S3Control
|
|
250
387
|
GetPublicAccessBlockOutput[:payload] = :public_access_block_configuration
|
251
388
|
GetPublicAccessBlockOutput[:payload_member] = GetPublicAccessBlockOutput.member(:public_access_block_configuration)
|
252
389
|
|
253
|
-
GetPublicAccessBlockRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id"))
|
390
|
+
GetPublicAccessBlockRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
|
254
391
|
GetPublicAccessBlockRequest.struct_class = Types::GetPublicAccessBlockRequest
|
255
392
|
|
256
393
|
IdempotencyException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
|
@@ -346,7 +483,36 @@ module Aws::S3Control
|
|
346
483
|
LambdaInvokeOperation.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArnString, location_name: "FunctionArn"))
|
347
484
|
LambdaInvokeOperation.struct_class = Types::LambdaInvokeOperation
|
348
485
|
|
349
|
-
|
486
|
+
LifecycleConfiguration.add_member(:rules, Shapes::ShapeRef.new(shape: LifecycleRules, location_name: "Rules"))
|
487
|
+
LifecycleConfiguration.struct_class = Types::LifecycleConfiguration
|
488
|
+
|
489
|
+
LifecycleExpiration.add_member(:date, Shapes::ShapeRef.new(shape: Date, location_name: "Date"))
|
490
|
+
LifecycleExpiration.add_member(:days, Shapes::ShapeRef.new(shape: Days, location_name: "Days"))
|
491
|
+
LifecycleExpiration.add_member(:expired_object_delete_marker, Shapes::ShapeRef.new(shape: ExpiredObjectDeleteMarker, location_name: "ExpiredObjectDeleteMarker"))
|
492
|
+
LifecycleExpiration.struct_class = Types::LifecycleExpiration
|
493
|
+
|
494
|
+
LifecycleRule.add_member(:expiration, Shapes::ShapeRef.new(shape: LifecycleExpiration, location_name: "Expiration"))
|
495
|
+
LifecycleRule.add_member(:id, Shapes::ShapeRef.new(shape: ID, location_name: "ID"))
|
496
|
+
LifecycleRule.add_member(:filter, Shapes::ShapeRef.new(shape: LifecycleRuleFilter, location_name: "Filter"))
|
497
|
+
LifecycleRule.add_member(:status, Shapes::ShapeRef.new(shape: ExpirationStatus, required: true, location_name: "Status"))
|
498
|
+
LifecycleRule.add_member(:transitions, Shapes::ShapeRef.new(shape: TransitionList, location_name: "Transitions"))
|
499
|
+
LifecycleRule.add_member(:noncurrent_version_transitions, Shapes::ShapeRef.new(shape: NoncurrentVersionTransitionList, location_name: "NoncurrentVersionTransitions"))
|
500
|
+
LifecycleRule.add_member(:noncurrent_version_expiration, Shapes::ShapeRef.new(shape: NoncurrentVersionExpiration, location_name: "NoncurrentVersionExpiration"))
|
501
|
+
LifecycleRule.add_member(:abort_incomplete_multipart_upload, Shapes::ShapeRef.new(shape: AbortIncompleteMultipartUpload, location_name: "AbortIncompleteMultipartUpload"))
|
502
|
+
LifecycleRule.struct_class = Types::LifecycleRule
|
503
|
+
|
504
|
+
LifecycleRuleAndOperator.add_member(:prefix, Shapes::ShapeRef.new(shape: Prefix, location_name: "Prefix"))
|
505
|
+
LifecycleRuleAndOperator.add_member(:tags, Shapes::ShapeRef.new(shape: S3TagSet, location_name: "Tags"))
|
506
|
+
LifecycleRuleAndOperator.struct_class = Types::LifecycleRuleAndOperator
|
507
|
+
|
508
|
+
LifecycleRuleFilter.add_member(:prefix, Shapes::ShapeRef.new(shape: Prefix, location_name: "Prefix"))
|
509
|
+
LifecycleRuleFilter.add_member(:tag, Shapes::ShapeRef.new(shape: S3Tag, location_name: "Tag"))
|
510
|
+
LifecycleRuleFilter.add_member(:and, Shapes::ShapeRef.new(shape: LifecycleRuleAndOperator, location_name: "And"))
|
511
|
+
LifecycleRuleFilter.struct_class = Types::LifecycleRuleFilter
|
512
|
+
|
513
|
+
LifecycleRules.member = Shapes::ShapeRef.new(shape: LifecycleRule, location_name: "Rule")
|
514
|
+
|
515
|
+
ListAccessPointsRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
|
350
516
|
ListAccessPointsRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, location: "querystring", location_name: "bucket"))
|
351
517
|
ListAccessPointsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NonEmptyMaxLength1024String, location: "querystring", location_name: "nextToken"))
|
352
518
|
ListAccessPointsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
@@ -356,7 +522,7 @@ module Aws::S3Control
|
|
356
522
|
ListAccessPointsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NonEmptyMaxLength1024String, location_name: "NextToken"))
|
357
523
|
ListAccessPointsResult.struct_class = Types::ListAccessPointsResult
|
358
524
|
|
359
|
-
ListJobsRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id"))
|
525
|
+
ListJobsRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
|
360
526
|
ListJobsRequest.add_member(:job_statuses, Shapes::ShapeRef.new(shape: JobStatusList, location: "querystring", location_name: "jobStatuses"))
|
361
527
|
ListJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: StringForNextToken, location: "querystring", location_name: "nextToken"))
|
362
528
|
ListJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
|
@@ -366,9 +532,28 @@ module Aws::S3Control
|
|
366
532
|
ListJobsResult.add_member(:jobs, Shapes::ShapeRef.new(shape: JobListDescriptorList, location_name: "Jobs"))
|
367
533
|
ListJobsResult.struct_class = Types::ListJobsResult
|
368
534
|
|
535
|
+
ListRegionalBucketsRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
|
536
|
+
ListRegionalBucketsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NonEmptyMaxLength1024String, location: "querystring", location_name: "nextToken"))
|
537
|
+
ListRegionalBucketsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
538
|
+
ListRegionalBucketsRequest.add_member(:outpost_id, Shapes::ShapeRef.new(shape: NonEmptyMaxLength64String, location: "header", location_name: "x-amz-outpost-id"))
|
539
|
+
ListRegionalBucketsRequest.struct_class = Types::ListRegionalBucketsRequest
|
540
|
+
|
541
|
+
ListRegionalBucketsResult.add_member(:regional_bucket_list, Shapes::ShapeRef.new(shape: RegionalBucketList, location_name: "RegionalBucketList"))
|
542
|
+
ListRegionalBucketsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NonEmptyMaxLength1024String, location_name: "NextToken"))
|
543
|
+
ListRegionalBucketsResult.struct_class = Types::ListRegionalBucketsResult
|
544
|
+
|
369
545
|
NoSuchPublicAccessBlockConfiguration.add_member(:message, Shapes::ShapeRef.new(shape: NoSuchPublicAccessBlockConfigurationMessage, location_name: "Message"))
|
370
546
|
NoSuchPublicAccessBlockConfiguration.struct_class = Types::NoSuchPublicAccessBlockConfiguration
|
371
547
|
|
548
|
+
NoncurrentVersionExpiration.add_member(:noncurrent_days, Shapes::ShapeRef.new(shape: Days, location_name: "NoncurrentDays"))
|
549
|
+
NoncurrentVersionExpiration.struct_class = Types::NoncurrentVersionExpiration
|
550
|
+
|
551
|
+
NoncurrentVersionTransition.add_member(:noncurrent_days, Shapes::ShapeRef.new(shape: Days, location_name: "NoncurrentDays"))
|
552
|
+
NoncurrentVersionTransition.add_member(:storage_class, Shapes::ShapeRef.new(shape: TransitionStorageClass, location_name: "StorageClass"))
|
553
|
+
NoncurrentVersionTransition.struct_class = Types::NoncurrentVersionTransition
|
554
|
+
|
555
|
+
NoncurrentVersionTransitionList.member = Shapes::ShapeRef.new(shape: NoncurrentVersionTransition, location_name: "NoncurrentVersionTransition")
|
556
|
+
|
372
557
|
NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
|
373
558
|
NotFoundException.struct_class = Types::NotFoundException
|
374
559
|
|
@@ -381,12 +566,32 @@ module Aws::S3Control
|
|
381
566
|
PublicAccessBlockConfiguration.add_member(:restrict_public_buckets, Shapes::ShapeRef.new(shape: Setting, location_name: "RestrictPublicBuckets"))
|
382
567
|
PublicAccessBlockConfiguration.struct_class = Types::PublicAccessBlockConfiguration
|
383
568
|
|
384
|
-
PutAccessPointPolicyRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id"))
|
569
|
+
PutAccessPointPolicyRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
|
385
570
|
PutAccessPointPolicyRequest.add_member(:name, Shapes::ShapeRef.new(shape: AccessPointName, required: true, location: "uri", location_name: "name"))
|
386
571
|
PutAccessPointPolicyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, required: true, location_name: "Policy"))
|
387
572
|
PutAccessPointPolicyRequest.struct_class = Types::PutAccessPointPolicyRequest
|
388
573
|
|
389
|
-
|
574
|
+
PutBucketLifecycleConfigurationRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
|
575
|
+
PutBucketLifecycleConfigurationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "name"))
|
576
|
+
PutBucketLifecycleConfigurationRequest.add_member(:lifecycle_configuration, Shapes::ShapeRef.new(shape: LifecycleConfiguration, location_name: "LifecycleConfiguration", metadata: {"xmlNamespace"=>{"uri"=>"http://awss3control.amazonaws.com/doc/2018-08-20/"}}))
|
577
|
+
PutBucketLifecycleConfigurationRequest.struct_class = Types::PutBucketLifecycleConfigurationRequest
|
578
|
+
PutBucketLifecycleConfigurationRequest[:payload] = :lifecycle_configuration
|
579
|
+
PutBucketLifecycleConfigurationRequest[:payload_member] = PutBucketLifecycleConfigurationRequest.member(:lifecycle_configuration)
|
580
|
+
|
581
|
+
PutBucketPolicyRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
|
582
|
+
PutBucketPolicyRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "name"))
|
583
|
+
PutBucketPolicyRequest.add_member(:confirm_remove_self_bucket_access, Shapes::ShapeRef.new(shape: ConfirmRemoveSelfBucketAccess, location: "header", location_name: "x-amz-confirm-remove-self-bucket-access"))
|
584
|
+
PutBucketPolicyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, required: true, location_name: "Policy"))
|
585
|
+
PutBucketPolicyRequest.struct_class = Types::PutBucketPolicyRequest
|
586
|
+
|
587
|
+
PutBucketTaggingRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
|
588
|
+
PutBucketTaggingRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "name"))
|
589
|
+
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/"}}))
|
590
|
+
PutBucketTaggingRequest.struct_class = Types::PutBucketTaggingRequest
|
591
|
+
PutBucketTaggingRequest[:payload] = :tagging
|
592
|
+
PutBucketTaggingRequest[:payload_member] = PutBucketTaggingRequest.member(:tagging)
|
593
|
+
|
594
|
+
PutJobTaggingRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
|
390
595
|
PutJobTaggingRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "id"))
|
391
596
|
PutJobTaggingRequest.add_member(:tags, Shapes::ShapeRef.new(shape: S3TagSet, required: true, location_name: "Tags"))
|
392
597
|
PutJobTaggingRequest.struct_class = Types::PutJobTaggingRequest
|
@@ -394,11 +599,20 @@ module Aws::S3Control
|
|
394
599
|
PutJobTaggingResult.struct_class = Types::PutJobTaggingResult
|
395
600
|
|
396
601
|
PutPublicAccessBlockRequest.add_member(:public_access_block_configuration, Shapes::ShapeRef.new(shape: PublicAccessBlockConfiguration, required: true, location_name: "PublicAccessBlockConfiguration", metadata: {"xmlNamespace"=>{"uri"=>"http://awss3control.amazonaws.com/doc/2018-08-20/"}}))
|
397
|
-
PutPublicAccessBlockRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id"))
|
602
|
+
PutPublicAccessBlockRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
|
398
603
|
PutPublicAccessBlockRequest.struct_class = Types::PutPublicAccessBlockRequest
|
399
604
|
PutPublicAccessBlockRequest[:payload] = :public_access_block_configuration
|
400
605
|
PutPublicAccessBlockRequest[:payload_member] = PutPublicAccessBlockRequest.member(:public_access_block_configuration)
|
401
606
|
|
607
|
+
RegionalBucket.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "Bucket"))
|
608
|
+
RegionalBucket.add_member(:bucket_arn, Shapes::ShapeRef.new(shape: S3RegionalBucketArn, location_name: "BucketArn"))
|
609
|
+
RegionalBucket.add_member(:public_access_block_enabled, Shapes::ShapeRef.new(shape: PublicAccessBlockEnabled, required: true, location_name: "PublicAccessBlockEnabled"))
|
610
|
+
RegionalBucket.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, required: true, location_name: "CreationDate"))
|
611
|
+
RegionalBucket.add_member(:outpost_id, Shapes::ShapeRef.new(shape: NonEmptyMaxLength64String, location_name: "OutpostId"))
|
612
|
+
RegionalBucket.struct_class = Types::RegionalBucket
|
613
|
+
|
614
|
+
RegionalBucketList.member = Shapes::ShapeRef.new(shape: RegionalBucket, location_name: "RegionalBucket")
|
615
|
+
|
402
616
|
S3AccessControlList.add_member(:owner, Shapes::ShapeRef.new(shape: S3ObjectOwner, required: true, location_name: "Owner"))
|
403
617
|
S3AccessControlList.add_member(:grants, Shapes::ShapeRef.new(shape: S3GrantList, location_name: "Grants"))
|
404
618
|
S3AccessControlList.struct_class = Types::S3AccessControlList
|
@@ -486,13 +700,23 @@ module Aws::S3Control
|
|
486
700
|
S3UserMetadata.key = Shapes::ShapeRef.new(shape: NonEmptyMaxLength1024String)
|
487
701
|
S3UserMetadata.value = Shapes::ShapeRef.new(shape: MaxLength1024String)
|
488
702
|
|
703
|
+
Tagging.add_member(:tag_set, Shapes::ShapeRef.new(shape: S3TagSet, required: true, location_name: "TagSet"))
|
704
|
+
Tagging.struct_class = Types::Tagging
|
705
|
+
|
489
706
|
TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
|
490
707
|
TooManyRequestsException.struct_class = Types::TooManyRequestsException
|
491
708
|
|
492
709
|
TooManyTagsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
|
493
710
|
TooManyTagsException.struct_class = Types::TooManyTagsException
|
494
711
|
|
495
|
-
|
712
|
+
Transition.add_member(:date, Shapes::ShapeRef.new(shape: Date, location_name: "Date"))
|
713
|
+
Transition.add_member(:days, Shapes::ShapeRef.new(shape: Days, location_name: "Days"))
|
714
|
+
Transition.add_member(:storage_class, Shapes::ShapeRef.new(shape: TransitionStorageClass, location_name: "StorageClass"))
|
715
|
+
Transition.struct_class = Types::Transition
|
716
|
+
|
717
|
+
TransitionList.member = Shapes::ShapeRef.new(shape: Transition, location_name: "Transition")
|
718
|
+
|
719
|
+
UpdateJobPriorityRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
|
496
720
|
UpdateJobPriorityRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "id"))
|
497
721
|
UpdateJobPriorityRequest.add_member(:priority, Shapes::ShapeRef.new(shape: JobPriority, required: true, location: "querystring", location_name: "priority"))
|
498
722
|
UpdateJobPriorityRequest.struct_class = Types::UpdateJobPriorityRequest
|
@@ -501,7 +725,7 @@ module Aws::S3Control
|
|
501
725
|
UpdateJobPriorityResult.add_member(:priority, Shapes::ShapeRef.new(shape: JobPriority, required: true, location_name: "Priority"))
|
502
726
|
UpdateJobPriorityResult.struct_class = Types::UpdateJobPriorityResult
|
503
727
|
|
504
|
-
UpdateJobStatusRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id"))
|
728
|
+
UpdateJobStatusRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
|
505
729
|
UpdateJobStatusRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "id"))
|
506
730
|
UpdateJobStatusRequest.add_member(:requested_job_status, Shapes::ShapeRef.new(shape: RequestedJobStatus, required: true, location: "querystring", location_name: "requestedJobStatus"))
|
507
731
|
UpdateJobStatusRequest.add_member(:status_update_reason, Shapes::ShapeRef.new(shape: JobStatusUpdateReason, location: "querystring", location_name: "statusUpdateReason"))
|
@@ -536,19 +760,36 @@ module Aws::S3Control
|
|
536
760
|
o.name = "CreateAccessPoint"
|
537
761
|
o.http_method = "PUT"
|
538
762
|
o.http_request_uri = "/v20180820/accesspoint/{name}"
|
763
|
+
o.endpoint_pattern = {
|
764
|
+
"hostPrefix" => "{AccountId}.",
|
765
|
+
}
|
539
766
|
o.input = Shapes::ShapeRef.new(shape: CreateAccessPointRequest,
|
540
767
|
location_name: "CreateAccessPointRequest",
|
541
768
|
metadata: {
|
542
769
|
"xmlNamespace" => {"uri"=>"http://awss3control.amazonaws.com/doc/2018-08-20/"}
|
543
770
|
}
|
544
771
|
)
|
545
|
-
o.output = Shapes::ShapeRef.new(shape:
|
772
|
+
o.output = Shapes::ShapeRef.new(shape: CreateAccessPointResult)
|
773
|
+
end)
|
774
|
+
|
775
|
+
api.add_operation(:create_bucket, Seahorse::Model::Operation.new.tap do |o|
|
776
|
+
o.name = "CreateBucket"
|
777
|
+
o.http_method = "PUT"
|
778
|
+
o.http_request_uri = "/v20180820/bucket/{name}"
|
779
|
+
o.http_checksum_required = true
|
780
|
+
o.input = Shapes::ShapeRef.new(shape: CreateBucketRequest)
|
781
|
+
o.output = Shapes::ShapeRef.new(shape: CreateBucketResult)
|
782
|
+
o.errors << Shapes::ShapeRef.new(shape: BucketAlreadyExists)
|
783
|
+
o.errors << Shapes::ShapeRef.new(shape: BucketAlreadyOwnedByYou)
|
546
784
|
end)
|
547
785
|
|
548
786
|
api.add_operation(:create_job, Seahorse::Model::Operation.new.tap do |o|
|
549
787
|
o.name = "CreateJob"
|
550
788
|
o.http_method = "POST"
|
551
789
|
o.http_request_uri = "/v20180820/jobs"
|
790
|
+
o.endpoint_pattern = {
|
791
|
+
"hostPrefix" => "{AccountId}.",
|
792
|
+
}
|
552
793
|
o.input = Shapes::ShapeRef.new(shape: CreateJobRequest,
|
553
794
|
location_name: "CreateJobRequest",
|
554
795
|
metadata: {
|
@@ -566,6 +807,9 @@ module Aws::S3Control
|
|
566
807
|
o.name = "DeleteAccessPoint"
|
567
808
|
o.http_method = "DELETE"
|
568
809
|
o.http_request_uri = "/v20180820/accesspoint/{name}"
|
810
|
+
o.endpoint_pattern = {
|
811
|
+
"hostPrefix" => "{AccountId}.",
|
812
|
+
}
|
569
813
|
o.input = Shapes::ShapeRef.new(shape: DeleteAccessPointRequest)
|
570
814
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
571
815
|
end)
|
@@ -574,14 +818,64 @@ module Aws::S3Control
|
|
574
818
|
o.name = "DeleteAccessPointPolicy"
|
575
819
|
o.http_method = "DELETE"
|
576
820
|
o.http_request_uri = "/v20180820/accesspoint/{name}/policy"
|
821
|
+
o.endpoint_pattern = {
|
822
|
+
"hostPrefix" => "{AccountId}.",
|
823
|
+
}
|
577
824
|
o.input = Shapes::ShapeRef.new(shape: DeleteAccessPointPolicyRequest)
|
578
825
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
579
826
|
end)
|
580
827
|
|
828
|
+
api.add_operation(:delete_bucket, Seahorse::Model::Operation.new.tap do |o|
|
829
|
+
o.name = "DeleteBucket"
|
830
|
+
o.http_method = "DELETE"
|
831
|
+
o.http_request_uri = "/v20180820/bucket/{name}"
|
832
|
+
o.endpoint_pattern = {
|
833
|
+
"hostPrefix" => "{AccountId}.",
|
834
|
+
}
|
835
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteBucketRequest)
|
836
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
837
|
+
end)
|
838
|
+
|
839
|
+
api.add_operation(:delete_bucket_lifecycle_configuration, Seahorse::Model::Operation.new.tap do |o|
|
840
|
+
o.name = "DeleteBucketLifecycleConfiguration"
|
841
|
+
o.http_method = "DELETE"
|
842
|
+
o.http_request_uri = "/v20180820/bucket/{name}/lifecycleconfiguration"
|
843
|
+
o.endpoint_pattern = {
|
844
|
+
"hostPrefix" => "{AccountId}.",
|
845
|
+
}
|
846
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteBucketLifecycleConfigurationRequest)
|
847
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
848
|
+
end)
|
849
|
+
|
850
|
+
api.add_operation(:delete_bucket_policy, Seahorse::Model::Operation.new.tap do |o|
|
851
|
+
o.name = "DeleteBucketPolicy"
|
852
|
+
o.http_method = "DELETE"
|
853
|
+
o.http_request_uri = "/v20180820/bucket/{name}/policy"
|
854
|
+
o.endpoint_pattern = {
|
855
|
+
"hostPrefix" => "{AccountId}.",
|
856
|
+
}
|
857
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteBucketPolicyRequest)
|
858
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
859
|
+
end)
|
860
|
+
|
861
|
+
api.add_operation(:delete_bucket_tagging, Seahorse::Model::Operation.new.tap do |o|
|
862
|
+
o.name = "DeleteBucketTagging"
|
863
|
+
o.http_method = "DELETE"
|
864
|
+
o.http_request_uri = "/v20180820/bucket/{name}/tagging"
|
865
|
+
o.endpoint_pattern = {
|
866
|
+
"hostPrefix" => "{AccountId}.",
|
867
|
+
}
|
868
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteBucketTaggingRequest)
|
869
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
870
|
+
end)
|
871
|
+
|
581
872
|
api.add_operation(:delete_job_tagging, Seahorse::Model::Operation.new.tap do |o|
|
582
873
|
o.name = "DeleteJobTagging"
|
583
874
|
o.http_method = "DELETE"
|
584
875
|
o.http_request_uri = "/v20180820/jobs/{id}/tagging"
|
876
|
+
o.endpoint_pattern = {
|
877
|
+
"hostPrefix" => "{AccountId}.",
|
878
|
+
}
|
585
879
|
o.input = Shapes::ShapeRef.new(shape: DeleteJobTaggingRequest)
|
586
880
|
o.output = Shapes::ShapeRef.new(shape: DeleteJobTaggingResult)
|
587
881
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
@@ -593,6 +887,9 @@ module Aws::S3Control
|
|
593
887
|
o.name = "DeletePublicAccessBlock"
|
594
888
|
o.http_method = "DELETE"
|
595
889
|
o.http_request_uri = "/v20180820/configuration/publicAccessBlock"
|
890
|
+
o.endpoint_pattern = {
|
891
|
+
"hostPrefix" => "{AccountId}.",
|
892
|
+
}
|
596
893
|
o.input = Shapes::ShapeRef.new(shape: DeletePublicAccessBlockRequest)
|
597
894
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
598
895
|
end)
|
@@ -601,6 +898,9 @@ module Aws::S3Control
|
|
601
898
|
o.name = "DescribeJob"
|
602
899
|
o.http_method = "GET"
|
603
900
|
o.http_request_uri = "/v20180820/jobs/{id}"
|
901
|
+
o.endpoint_pattern = {
|
902
|
+
"hostPrefix" => "{AccountId}.",
|
903
|
+
}
|
604
904
|
o.input = Shapes::ShapeRef.new(shape: DescribeJobRequest)
|
605
905
|
o.output = Shapes::ShapeRef.new(shape: DescribeJobResult)
|
606
906
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
@@ -613,6 +913,9 @@ module Aws::S3Control
|
|
613
913
|
o.name = "GetAccessPoint"
|
614
914
|
o.http_method = "GET"
|
615
915
|
o.http_request_uri = "/v20180820/accesspoint/{name}"
|
916
|
+
o.endpoint_pattern = {
|
917
|
+
"hostPrefix" => "{AccountId}.",
|
918
|
+
}
|
616
919
|
o.input = Shapes::ShapeRef.new(shape: GetAccessPointRequest)
|
617
920
|
o.output = Shapes::ShapeRef.new(shape: GetAccessPointResult)
|
618
921
|
end)
|
@@ -621,6 +924,9 @@ module Aws::S3Control
|
|
621
924
|
o.name = "GetAccessPointPolicy"
|
622
925
|
o.http_method = "GET"
|
623
926
|
o.http_request_uri = "/v20180820/accesspoint/{name}/policy"
|
927
|
+
o.endpoint_pattern = {
|
928
|
+
"hostPrefix" => "{AccountId}.",
|
929
|
+
}
|
624
930
|
o.input = Shapes::ShapeRef.new(shape: GetAccessPointPolicyRequest)
|
625
931
|
o.output = Shapes::ShapeRef.new(shape: GetAccessPointPolicyResult)
|
626
932
|
end)
|
@@ -629,14 +935,64 @@ module Aws::S3Control
|
|
629
935
|
o.name = "GetAccessPointPolicyStatus"
|
630
936
|
o.http_method = "GET"
|
631
937
|
o.http_request_uri = "/v20180820/accesspoint/{name}/policyStatus"
|
938
|
+
o.endpoint_pattern = {
|
939
|
+
"hostPrefix" => "{AccountId}.",
|
940
|
+
}
|
632
941
|
o.input = Shapes::ShapeRef.new(shape: GetAccessPointPolicyStatusRequest)
|
633
942
|
o.output = Shapes::ShapeRef.new(shape: GetAccessPointPolicyStatusResult)
|
634
943
|
end)
|
635
944
|
|
945
|
+
api.add_operation(:get_bucket, Seahorse::Model::Operation.new.tap do |o|
|
946
|
+
o.name = "GetBucket"
|
947
|
+
o.http_method = "GET"
|
948
|
+
o.http_request_uri = "/v20180820/bucket/{name}"
|
949
|
+
o.endpoint_pattern = {
|
950
|
+
"hostPrefix" => "{AccountId}.",
|
951
|
+
}
|
952
|
+
o.input = Shapes::ShapeRef.new(shape: GetBucketRequest)
|
953
|
+
o.output = Shapes::ShapeRef.new(shape: GetBucketResult)
|
954
|
+
end)
|
955
|
+
|
956
|
+
api.add_operation(:get_bucket_lifecycle_configuration, Seahorse::Model::Operation.new.tap do |o|
|
957
|
+
o.name = "GetBucketLifecycleConfiguration"
|
958
|
+
o.http_method = "GET"
|
959
|
+
o.http_request_uri = "/v20180820/bucket/{name}/lifecycleconfiguration"
|
960
|
+
o.endpoint_pattern = {
|
961
|
+
"hostPrefix" => "{AccountId}.",
|
962
|
+
}
|
963
|
+
o.input = Shapes::ShapeRef.new(shape: GetBucketLifecycleConfigurationRequest)
|
964
|
+
o.output = Shapes::ShapeRef.new(shape: GetBucketLifecycleConfigurationResult)
|
965
|
+
end)
|
966
|
+
|
967
|
+
api.add_operation(:get_bucket_policy, Seahorse::Model::Operation.new.tap do |o|
|
968
|
+
o.name = "GetBucketPolicy"
|
969
|
+
o.http_method = "GET"
|
970
|
+
o.http_request_uri = "/v20180820/bucket/{name}/policy"
|
971
|
+
o.endpoint_pattern = {
|
972
|
+
"hostPrefix" => "{AccountId}.",
|
973
|
+
}
|
974
|
+
o.input = Shapes::ShapeRef.new(shape: GetBucketPolicyRequest)
|
975
|
+
o.output = Shapes::ShapeRef.new(shape: GetBucketPolicyResult)
|
976
|
+
end)
|
977
|
+
|
978
|
+
api.add_operation(:get_bucket_tagging, Seahorse::Model::Operation.new.tap do |o|
|
979
|
+
o.name = "GetBucketTagging"
|
980
|
+
o.http_method = "GET"
|
981
|
+
o.http_request_uri = "/v20180820/bucket/{name}/tagging"
|
982
|
+
o.endpoint_pattern = {
|
983
|
+
"hostPrefix" => "{AccountId}.",
|
984
|
+
}
|
985
|
+
o.input = Shapes::ShapeRef.new(shape: GetBucketTaggingRequest)
|
986
|
+
o.output = Shapes::ShapeRef.new(shape: GetBucketTaggingResult)
|
987
|
+
end)
|
988
|
+
|
636
989
|
api.add_operation(:get_job_tagging, Seahorse::Model::Operation.new.tap do |o|
|
637
990
|
o.name = "GetJobTagging"
|
638
991
|
o.http_method = "GET"
|
639
992
|
o.http_request_uri = "/v20180820/jobs/{id}/tagging"
|
993
|
+
o.endpoint_pattern = {
|
994
|
+
"hostPrefix" => "{AccountId}.",
|
995
|
+
}
|
640
996
|
o.input = Shapes::ShapeRef.new(shape: GetJobTaggingRequest)
|
641
997
|
o.output = Shapes::ShapeRef.new(shape: GetJobTaggingResult)
|
642
998
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
@@ -648,6 +1004,9 @@ module Aws::S3Control
|
|
648
1004
|
o.name = "GetPublicAccessBlock"
|
649
1005
|
o.http_method = "GET"
|
650
1006
|
o.http_request_uri = "/v20180820/configuration/publicAccessBlock"
|
1007
|
+
o.endpoint_pattern = {
|
1008
|
+
"hostPrefix" => "{AccountId}.",
|
1009
|
+
}
|
651
1010
|
o.input = Shapes::ShapeRef.new(shape: GetPublicAccessBlockRequest)
|
652
1011
|
o.output = Shapes::ShapeRef.new(shape: GetPublicAccessBlockOutput)
|
653
1012
|
o.errors << Shapes::ShapeRef.new(shape: NoSuchPublicAccessBlockConfiguration)
|
@@ -657,6 +1016,9 @@ module Aws::S3Control
|
|
657
1016
|
o.name = "ListAccessPoints"
|
658
1017
|
o.http_method = "GET"
|
659
1018
|
o.http_request_uri = "/v20180820/accesspoint"
|
1019
|
+
o.endpoint_pattern = {
|
1020
|
+
"hostPrefix" => "{AccountId}.",
|
1021
|
+
}
|
660
1022
|
o.input = Shapes::ShapeRef.new(shape: ListAccessPointsRequest)
|
661
1023
|
o.output = Shapes::ShapeRef.new(shape: ListAccessPointsResult)
|
662
1024
|
o[:pager] = Aws::Pager.new(
|
@@ -671,6 +1033,9 @@ module Aws::S3Control
|
|
671
1033
|
o.name = "ListJobs"
|
672
1034
|
o.http_method = "GET"
|
673
1035
|
o.http_request_uri = "/v20180820/jobs"
|
1036
|
+
o.endpoint_pattern = {
|
1037
|
+
"hostPrefix" => "{AccountId}.",
|
1038
|
+
}
|
674
1039
|
o.input = Shapes::ShapeRef.new(shape: ListJobsRequest)
|
675
1040
|
o.output = Shapes::ShapeRef.new(shape: ListJobsResult)
|
676
1041
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
@@ -684,10 +1049,30 @@ module Aws::S3Control
|
|
684
1049
|
)
|
685
1050
|
end)
|
686
1051
|
|
1052
|
+
api.add_operation(:list_regional_buckets, Seahorse::Model::Operation.new.tap do |o|
|
1053
|
+
o.name = "ListRegionalBuckets"
|
1054
|
+
o.http_method = "GET"
|
1055
|
+
o.http_request_uri = "/v20180820/bucket"
|
1056
|
+
o.endpoint_pattern = {
|
1057
|
+
"hostPrefix" => "{AccountId}.",
|
1058
|
+
}
|
1059
|
+
o.input = Shapes::ShapeRef.new(shape: ListRegionalBucketsRequest)
|
1060
|
+
o.output = Shapes::ShapeRef.new(shape: ListRegionalBucketsResult)
|
1061
|
+
o[:pager] = Aws::Pager.new(
|
1062
|
+
limit_key: "max_results",
|
1063
|
+
tokens: {
|
1064
|
+
"next_token" => "next_token"
|
1065
|
+
}
|
1066
|
+
)
|
1067
|
+
end)
|
1068
|
+
|
687
1069
|
api.add_operation(:put_access_point_policy, Seahorse::Model::Operation.new.tap do |o|
|
688
1070
|
o.name = "PutAccessPointPolicy"
|
689
1071
|
o.http_method = "PUT"
|
690
1072
|
o.http_request_uri = "/v20180820/accesspoint/{name}/policy"
|
1073
|
+
o.endpoint_pattern = {
|
1074
|
+
"hostPrefix" => "{AccountId}.",
|
1075
|
+
}
|
691
1076
|
o.input = Shapes::ShapeRef.new(shape: PutAccessPointPolicyRequest,
|
692
1077
|
location_name: "PutAccessPointPolicyRequest",
|
693
1078
|
metadata: {
|
@@ -697,10 +1082,54 @@ module Aws::S3Control
|
|
697
1082
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
698
1083
|
end)
|
699
1084
|
|
1085
|
+
api.add_operation(:put_bucket_lifecycle_configuration, Seahorse::Model::Operation.new.tap do |o|
|
1086
|
+
o.name = "PutBucketLifecycleConfiguration"
|
1087
|
+
o.http_method = "PUT"
|
1088
|
+
o.http_request_uri = "/v20180820/bucket/{name}/lifecycleconfiguration"
|
1089
|
+
o.http_checksum_required = true
|
1090
|
+
o.endpoint_pattern = {
|
1091
|
+
"hostPrefix" => "{AccountId}.",
|
1092
|
+
}
|
1093
|
+
o.input = Shapes::ShapeRef.new(shape: PutBucketLifecycleConfigurationRequest)
|
1094
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1095
|
+
end)
|
1096
|
+
|
1097
|
+
api.add_operation(:put_bucket_policy, Seahorse::Model::Operation.new.tap do |o|
|
1098
|
+
o.name = "PutBucketPolicy"
|
1099
|
+
o.http_method = "PUT"
|
1100
|
+
o.http_request_uri = "/v20180820/bucket/{name}/policy"
|
1101
|
+
o.http_checksum_required = true
|
1102
|
+
o.endpoint_pattern = {
|
1103
|
+
"hostPrefix" => "{AccountId}.",
|
1104
|
+
}
|
1105
|
+
o.input = Shapes::ShapeRef.new(shape: PutBucketPolicyRequest,
|
1106
|
+
location_name: "PutBucketPolicyRequest",
|
1107
|
+
metadata: {
|
1108
|
+
"xmlNamespace" => {"uri"=>"http://awss3control.amazonaws.com/doc/2018-08-20/"}
|
1109
|
+
}
|
1110
|
+
)
|
1111
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1112
|
+
end)
|
1113
|
+
|
1114
|
+
api.add_operation(:put_bucket_tagging, Seahorse::Model::Operation.new.tap do |o|
|
1115
|
+
o.name = "PutBucketTagging"
|
1116
|
+
o.http_method = "PUT"
|
1117
|
+
o.http_request_uri = "/v20180820/bucket/{name}/tagging"
|
1118
|
+
o.http_checksum_required = true
|
1119
|
+
o.endpoint_pattern = {
|
1120
|
+
"hostPrefix" => "{AccountId}.",
|
1121
|
+
}
|
1122
|
+
o.input = Shapes::ShapeRef.new(shape: PutBucketTaggingRequest)
|
1123
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1124
|
+
end)
|
1125
|
+
|
700
1126
|
api.add_operation(:put_job_tagging, Seahorse::Model::Operation.new.tap do |o|
|
701
1127
|
o.name = "PutJobTagging"
|
702
1128
|
o.http_method = "PUT"
|
703
1129
|
o.http_request_uri = "/v20180820/jobs/{id}/tagging"
|
1130
|
+
o.endpoint_pattern = {
|
1131
|
+
"hostPrefix" => "{AccountId}.",
|
1132
|
+
}
|
704
1133
|
o.input = Shapes::ShapeRef.new(shape: PutJobTaggingRequest,
|
705
1134
|
location_name: "PutJobTaggingRequest",
|
706
1135
|
metadata: {
|
@@ -718,6 +1147,9 @@ module Aws::S3Control
|
|
718
1147
|
o.name = "PutPublicAccessBlock"
|
719
1148
|
o.http_method = "PUT"
|
720
1149
|
o.http_request_uri = "/v20180820/configuration/publicAccessBlock"
|
1150
|
+
o.endpoint_pattern = {
|
1151
|
+
"hostPrefix" => "{AccountId}.",
|
1152
|
+
}
|
721
1153
|
o.input = Shapes::ShapeRef.new(shape: PutPublicAccessBlockRequest)
|
722
1154
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
723
1155
|
end)
|
@@ -726,6 +1158,9 @@ module Aws::S3Control
|
|
726
1158
|
o.name = "UpdateJobPriority"
|
727
1159
|
o.http_method = "POST"
|
728
1160
|
o.http_request_uri = "/v20180820/jobs/{id}/priority"
|
1161
|
+
o.endpoint_pattern = {
|
1162
|
+
"hostPrefix" => "{AccountId}.",
|
1163
|
+
}
|
729
1164
|
o.input = Shapes::ShapeRef.new(shape: UpdateJobPriorityRequest)
|
730
1165
|
o.output = Shapes::ShapeRef.new(shape: UpdateJobPriorityResult)
|
731
1166
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
@@ -738,6 +1173,9 @@ module Aws::S3Control
|
|
738
1173
|
o.name = "UpdateJobStatus"
|
739
1174
|
o.http_method = "POST"
|
740
1175
|
o.http_request_uri = "/v20180820/jobs/{id}/status"
|
1176
|
+
o.endpoint_pattern = {
|
1177
|
+
"hostPrefix" => "{AccountId}.",
|
1178
|
+
}
|
741
1179
|
o.input = Shapes::ShapeRef.new(shape: UpdateJobStatusRequest)
|
742
1180
|
o.output = Shapes::ShapeRef.new(shape: UpdateJobStatusResult)
|
743
1181
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|