aboutsummaryrefslogtreecommitdiffhomepage
path: root/vendor/github.com/aws/aws-sdk-go/service/s3
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/aws/aws-sdk-go/service/s3')
-rw-r--r--vendor/github.com/aws/aws-sdk-go/service/s3/api.go5185
-rw-r--r--vendor/github.com/aws/aws-sdk-go/service/s3/body_hash.go249
-rw-r--r--vendor/github.com/aws/aws-sdk-go/service/s3/content_md5.go36
-rw-r--r--vendor/github.com/aws/aws-sdk-go/service/s3/customizations.go24
-rw-r--r--vendor/github.com/aws/aws-sdk-go/service/s3/doc.go64
-rw-r--r--vendor/github.com/aws/aws-sdk-go/service/s3/doc_custom.go4
-rw-r--r--vendor/github.com/aws/aws-sdk-go/service/s3/host_style_bucket.go13
-rw-r--r--vendor/github.com/aws/aws-sdk-go/service/s3/service.go8
-rw-r--r--vendor/github.com/aws/aws-sdk-go/service/s3/sse.go18
-rw-r--r--vendor/github.com/aws/aws-sdk-go/service/s3/statusok_error.go3
-rw-r--r--vendor/github.com/aws/aws-sdk-go/service/s3/waiters.go8
11 files changed, 4314 insertions, 1298 deletions
diff --git a/vendor/github.com/aws/aws-sdk-go/service/s3/api.go b/vendor/github.com/aws/aws-sdk-go/service/s3/api.go
index 52ac02c..0e999ca 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/s3/api.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/s3/api.go
@@ -3,14 +3,22 @@
3package s3 3package s3
4 4
5import ( 5import (
6 "bytes"
6 "fmt" 7 "fmt"
7 "io" 8 "io"
9 "sync"
10 "sync/atomic"
8 "time" 11 "time"
9 12
10 "github.com/aws/aws-sdk-go/aws" 13 "github.com/aws/aws-sdk-go/aws"
14 "github.com/aws/aws-sdk-go/aws/awserr"
11 "github.com/aws/aws-sdk-go/aws/awsutil" 15 "github.com/aws/aws-sdk-go/aws/awsutil"
16 "github.com/aws/aws-sdk-go/aws/client"
12 "github.com/aws/aws-sdk-go/aws/request" 17 "github.com/aws/aws-sdk-go/aws/request"
13 "github.com/aws/aws-sdk-go/private/protocol" 18 "github.com/aws/aws-sdk-go/private/protocol"
19 "github.com/aws/aws-sdk-go/private/protocol/eventstream"
20 "github.com/aws/aws-sdk-go/private/protocol/eventstream/eventstreamapi"
21 "github.com/aws/aws-sdk-go/private/protocol/rest"
14 "github.com/aws/aws-sdk-go/private/protocol/restxml" 22 "github.com/aws/aws-sdk-go/private/protocol/restxml"
15) 23)
16 24
@@ -18,19 +26,18 @@ const opAbortMultipartUpload = "AbortMultipartUpload"
18 26
19// AbortMultipartUploadRequest generates a "aws/request.Request" representing the 27// AbortMultipartUploadRequest generates a "aws/request.Request" representing the
20// client's request for the AbortMultipartUpload operation. The "output" return 28// client's request for the AbortMultipartUpload operation. The "output" return
21// value can be used to capture response data after the request's "Send" method 29// value will be populated with the request's response once the request completes
22// is called. 30// successfuly.
23// 31//
24// See AbortMultipartUpload for usage and error information. 32// Use "Send" method on the returned Request to send the API call to the service.
33// the "output" return value is not valid until after Send returns without error.
25// 34//
26// Creating a request object using this method should be used when you want to inject 35// See AbortMultipartUpload for more information on using the AbortMultipartUpload
27// custom logic into the request's lifecycle using a custom handler, or if you want to 36// API call, and error handling.
28// access properties on the request object before or after sending the request. If 37//
29// you just want the service response, call the AbortMultipartUpload method directly 38// This method is useful when you want to inject custom logic or configuration
30// instead. 39// into the SDK's request lifecycle. Such as custom headers, or retry logic.
31// 40//
32// Note: You must call the "Send" method on the returned request object in order
33// to execute the request.
34// 41//
35// // Example sending a request using the AbortMultipartUploadRequest method. 42// // Example sending a request using the AbortMultipartUploadRequest method.
36// req, resp := client.AbortMultipartUploadRequest(params) 43// req, resp := client.AbortMultipartUploadRequest(params)
@@ -40,7 +47,7 @@ const opAbortMultipartUpload = "AbortMultipartUpload"
40// fmt.Println(resp) 47// fmt.Println(resp)
41// } 48// }
42// 49//
43// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AbortMultipartUpload 50// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AbortMultipartUpload
44func (c *S3) AbortMultipartUploadRequest(input *AbortMultipartUploadInput) (req *request.Request, output *AbortMultipartUploadOutput) { 51func (c *S3) AbortMultipartUploadRequest(input *AbortMultipartUploadInput) (req *request.Request, output *AbortMultipartUploadOutput) {
45 op := &request.Operation{ 52 op := &request.Operation{
46 Name: opAbortMultipartUpload, 53 Name: opAbortMultipartUpload,
@@ -76,7 +83,7 @@ func (c *S3) AbortMultipartUploadRequest(input *AbortMultipartUploadInput) (req
76// * ErrCodeNoSuchUpload "NoSuchUpload" 83// * ErrCodeNoSuchUpload "NoSuchUpload"
77// The specified multipart upload does not exist. 84// The specified multipart upload does not exist.
78// 85//
79// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AbortMultipartUpload 86// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AbortMultipartUpload
80func (c *S3) AbortMultipartUpload(input *AbortMultipartUploadInput) (*AbortMultipartUploadOutput, error) { 87func (c *S3) AbortMultipartUpload(input *AbortMultipartUploadInput) (*AbortMultipartUploadOutput, error) {
81 req, out := c.AbortMultipartUploadRequest(input) 88 req, out := c.AbortMultipartUploadRequest(input)
82 return out, req.Send() 89 return out, req.Send()
@@ -102,19 +109,18 @@ const opCompleteMultipartUpload = "CompleteMultipartUpload"
102 109
103// CompleteMultipartUploadRequest generates a "aws/request.Request" representing the 110// CompleteMultipartUploadRequest generates a "aws/request.Request" representing the
104// client's request for the CompleteMultipartUpload operation. The "output" return 111// client's request for the CompleteMultipartUpload operation. The "output" return
105// value can be used to capture response data after the request's "Send" method 112// value will be populated with the request's response once the request completes
106// is called. 113// successfuly.
114//
115// Use "Send" method on the returned Request to send the API call to the service.
116// the "output" return value is not valid until after Send returns without error.
107// 117//
108// See CompleteMultipartUpload for usage and error information. 118// See CompleteMultipartUpload for more information on using the CompleteMultipartUpload
119// API call, and error handling.
109// 120//
110// Creating a request object using this method should be used when you want to inject 121// This method is useful when you want to inject custom logic or configuration
111// custom logic into the request's lifecycle using a custom handler, or if you want to 122// into the SDK's request lifecycle. Such as custom headers, or retry logic.
112// access properties on the request object before or after sending the request. If
113// you just want the service response, call the CompleteMultipartUpload method directly
114// instead.
115// 123//
116// Note: You must call the "Send" method on the returned request object in order
117// to execute the request.
118// 124//
119// // Example sending a request using the CompleteMultipartUploadRequest method. 125// // Example sending a request using the CompleteMultipartUploadRequest method.
120// req, resp := client.CompleteMultipartUploadRequest(params) 126// req, resp := client.CompleteMultipartUploadRequest(params)
@@ -124,7 +130,7 @@ const opCompleteMultipartUpload = "CompleteMultipartUpload"
124// fmt.Println(resp) 130// fmt.Println(resp)
125// } 131// }
126// 132//
127// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompleteMultipartUpload 133// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompleteMultipartUpload
128func (c *S3) CompleteMultipartUploadRequest(input *CompleteMultipartUploadInput) (req *request.Request, output *CompleteMultipartUploadOutput) { 134func (c *S3) CompleteMultipartUploadRequest(input *CompleteMultipartUploadInput) (req *request.Request, output *CompleteMultipartUploadOutput) {
129 op := &request.Operation{ 135 op := &request.Operation{
130 Name: opCompleteMultipartUpload, 136 Name: opCompleteMultipartUpload,
@@ -151,7 +157,7 @@ func (c *S3) CompleteMultipartUploadRequest(input *CompleteMultipartUploadInput)
151// 157//
152// See the AWS API reference guide for Amazon Simple Storage Service's 158// See the AWS API reference guide for Amazon Simple Storage Service's
153// API operation CompleteMultipartUpload for usage and error information. 159// API operation CompleteMultipartUpload for usage and error information.
154// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompleteMultipartUpload 160// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompleteMultipartUpload
155func (c *S3) CompleteMultipartUpload(input *CompleteMultipartUploadInput) (*CompleteMultipartUploadOutput, error) { 161func (c *S3) CompleteMultipartUpload(input *CompleteMultipartUploadInput) (*CompleteMultipartUploadOutput, error) {
156 req, out := c.CompleteMultipartUploadRequest(input) 162 req, out := c.CompleteMultipartUploadRequest(input)
157 return out, req.Send() 163 return out, req.Send()
@@ -177,19 +183,18 @@ const opCopyObject = "CopyObject"
177 183
178// CopyObjectRequest generates a "aws/request.Request" representing the 184// CopyObjectRequest generates a "aws/request.Request" representing the
179// client's request for the CopyObject operation. The "output" return 185// client's request for the CopyObject operation. The "output" return
180// value can be used to capture response data after the request's "Send" method 186// value will be populated with the request's response once the request completes
181// is called. 187// successfuly.
182// 188//
183// See CopyObject for usage and error information. 189// Use "Send" method on the returned Request to send the API call to the service.
190// the "output" return value is not valid until after Send returns without error.
184// 191//
185// Creating a request object using this method should be used when you want to inject 192// See CopyObject for more information on using the CopyObject
186// custom logic into the request's lifecycle using a custom handler, or if you want to 193// API call, and error handling.
187// access properties on the request object before or after sending the request. If 194//
188// you just want the service response, call the CopyObject method directly 195// This method is useful when you want to inject custom logic or configuration
189// instead. 196// into the SDK's request lifecycle. Such as custom headers, or retry logic.
190// 197//
191// Note: You must call the "Send" method on the returned request object in order
192// to execute the request.
193// 198//
194// // Example sending a request using the CopyObjectRequest method. 199// // Example sending a request using the CopyObjectRequest method.
195// req, resp := client.CopyObjectRequest(params) 200// req, resp := client.CopyObjectRequest(params)
@@ -199,7 +204,7 @@ const opCopyObject = "CopyObject"
199// fmt.Println(resp) 204// fmt.Println(resp)
200// } 205// }
201// 206//
202// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyObject 207// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyObject
203func (c *S3) CopyObjectRequest(input *CopyObjectInput) (req *request.Request, output *CopyObjectOutput) { 208func (c *S3) CopyObjectRequest(input *CopyObjectInput) (req *request.Request, output *CopyObjectOutput) {
204 op := &request.Operation{ 209 op := &request.Operation{
205 Name: opCopyObject, 210 Name: opCopyObject,
@@ -232,7 +237,7 @@ func (c *S3) CopyObjectRequest(input *CopyObjectInput) (req *request.Request, ou
232// The source object of the COPY operation is not in the active tier and is 237// The source object of the COPY operation is not in the active tier and is
233// only stored in Amazon Glacier. 238// only stored in Amazon Glacier.
234// 239//
235// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyObject 240// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyObject
236func (c *S3) CopyObject(input *CopyObjectInput) (*CopyObjectOutput, error) { 241func (c *S3) CopyObject(input *CopyObjectInput) (*CopyObjectOutput, error) {
237 req, out := c.CopyObjectRequest(input) 242 req, out := c.CopyObjectRequest(input)
238 return out, req.Send() 243 return out, req.Send()
@@ -258,19 +263,18 @@ const opCreateBucket = "CreateBucket"
258 263
259// CreateBucketRequest generates a "aws/request.Request" representing the 264// CreateBucketRequest generates a "aws/request.Request" representing the
260// client's request for the CreateBucket operation. The "output" return 265// client's request for the CreateBucket operation. The "output" return
261// value can be used to capture response data after the request's "Send" method 266// value will be populated with the request's response once the request completes
262// is called. 267// successfuly.
268//
269// Use "Send" method on the returned Request to send the API call to the service.
270// the "output" return value is not valid until after Send returns without error.
263// 271//
264// See CreateBucket for usage and error information. 272// See CreateBucket for more information on using the CreateBucket
273// API call, and error handling.
265// 274//
266// Creating a request object using this method should be used when you want to inject 275// This method is useful when you want to inject custom logic or configuration
267// custom logic into the request's lifecycle using a custom handler, or if you want to 276// into the SDK's request lifecycle. Such as custom headers, or retry logic.
268// access properties on the request object before or after sending the request. If
269// you just want the service response, call the CreateBucket method directly
270// instead.
271// 277//
272// Note: You must call the "Send" method on the returned request object in order
273// to execute the request.
274// 278//
275// // Example sending a request using the CreateBucketRequest method. 279// // Example sending a request using the CreateBucketRequest method.
276// req, resp := client.CreateBucketRequest(params) 280// req, resp := client.CreateBucketRequest(params)
@@ -280,7 +284,7 @@ const opCreateBucket = "CreateBucket"
280// fmt.Println(resp) 284// fmt.Println(resp)
281// } 285// }
282// 286//
283// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucket 287// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucket
284func (c *S3) CreateBucketRequest(input *CreateBucketInput) (req *request.Request, output *CreateBucketOutput) { 288func (c *S3) CreateBucketRequest(input *CreateBucketInput) (req *request.Request, output *CreateBucketOutput) {
285 op := &request.Operation{ 289 op := &request.Operation{
286 Name: opCreateBucket, 290 Name: opCreateBucket,
@@ -315,7 +319,7 @@ func (c *S3) CreateBucketRequest(input *CreateBucketInput) (req *request.Request
315// 319//
316// * ErrCodeBucketAlreadyOwnedByYou "BucketAlreadyOwnedByYou" 320// * ErrCodeBucketAlreadyOwnedByYou "BucketAlreadyOwnedByYou"
317// 321//
318// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucket 322// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucket
319func (c *S3) CreateBucket(input *CreateBucketInput) (*CreateBucketOutput, error) { 323func (c *S3) CreateBucket(input *CreateBucketInput) (*CreateBucketOutput, error) {
320 req, out := c.CreateBucketRequest(input) 324 req, out := c.CreateBucketRequest(input)
321 return out, req.Send() 325 return out, req.Send()
@@ -341,19 +345,18 @@ const opCreateMultipartUpload = "CreateMultipartUpload"
341 345
342// CreateMultipartUploadRequest generates a "aws/request.Request" representing the 346// CreateMultipartUploadRequest generates a "aws/request.Request" representing the
343// client's request for the CreateMultipartUpload operation. The "output" return 347// client's request for the CreateMultipartUpload operation. The "output" return
344// value can be used to capture response data after the request's "Send" method 348// value will be populated with the request's response once the request completes
345// is called. 349// successfuly.
346// 350//
347// See CreateMultipartUpload for usage and error information. 351// Use "Send" method on the returned Request to send the API call to the service.
352// the "output" return value is not valid until after Send returns without error.
348// 353//
349// Creating a request object using this method should be used when you want to inject 354// See CreateMultipartUpload for more information on using the CreateMultipartUpload
350// custom logic into the request's lifecycle using a custom handler, or if you want to 355// API call, and error handling.
351// access properties on the request object before or after sending the request. If 356//
352// you just want the service response, call the CreateMultipartUpload method directly 357// This method is useful when you want to inject custom logic or configuration
353// instead. 358// into the SDK's request lifecycle. Such as custom headers, or retry logic.
354// 359//
355// Note: You must call the "Send" method on the returned request object in order
356// to execute the request.
357// 360//
358// // Example sending a request using the CreateMultipartUploadRequest method. 361// // Example sending a request using the CreateMultipartUploadRequest method.
359// req, resp := client.CreateMultipartUploadRequest(params) 362// req, resp := client.CreateMultipartUploadRequest(params)
@@ -363,7 +366,7 @@ const opCreateMultipartUpload = "CreateMultipartUpload"
363// fmt.Println(resp) 366// fmt.Println(resp)
364// } 367// }
365// 368//
366// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateMultipartUpload 369// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateMultipartUpload
367func (c *S3) CreateMultipartUploadRequest(input *CreateMultipartUploadInput) (req *request.Request, output *CreateMultipartUploadOutput) { 370func (c *S3) CreateMultipartUploadRequest(input *CreateMultipartUploadInput) (req *request.Request, output *CreateMultipartUploadOutput) {
368 op := &request.Operation{ 371 op := &request.Operation{
369 Name: opCreateMultipartUpload, 372 Name: opCreateMultipartUpload,
@@ -396,7 +399,7 @@ func (c *S3) CreateMultipartUploadRequest(input *CreateMultipartUploadInput) (re
396// 399//
397// See the AWS API reference guide for Amazon Simple Storage Service's 400// See the AWS API reference guide for Amazon Simple Storage Service's
398// API operation CreateMultipartUpload for usage and error information. 401// API operation CreateMultipartUpload for usage and error information.
399// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateMultipartUpload 402// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateMultipartUpload
400func (c *S3) CreateMultipartUpload(input *CreateMultipartUploadInput) (*CreateMultipartUploadOutput, error) { 403func (c *S3) CreateMultipartUpload(input *CreateMultipartUploadInput) (*CreateMultipartUploadOutput, error) {
401 req, out := c.CreateMultipartUploadRequest(input) 404 req, out := c.CreateMultipartUploadRequest(input)
402 return out, req.Send() 405 return out, req.Send()
@@ -422,19 +425,18 @@ const opDeleteBucket = "DeleteBucket"
422 425
423// DeleteBucketRequest generates a "aws/request.Request" representing the 426// DeleteBucketRequest generates a "aws/request.Request" representing the
424// client's request for the DeleteBucket operation. The "output" return 427// client's request for the DeleteBucket operation. The "output" return
425// value can be used to capture response data after the request's "Send" method 428// value will be populated with the request's response once the request completes
426// is called. 429// successfuly.
430//
431// Use "Send" method on the returned Request to send the API call to the service.
432// the "output" return value is not valid until after Send returns without error.
427// 433//
428// See DeleteBucket for usage and error information. 434// See DeleteBucket for more information on using the DeleteBucket
435// API call, and error handling.
429// 436//
430// Creating a request object using this method should be used when you want to inject 437// This method is useful when you want to inject custom logic or configuration
431// custom logic into the request's lifecycle using a custom handler, or if you want to 438// into the SDK's request lifecycle. Such as custom headers, or retry logic.
432// access properties on the request object before or after sending the request. If
433// you just want the service response, call the DeleteBucket method directly
434// instead.
435// 439//
436// Note: You must call the "Send" method on the returned request object in order
437// to execute the request.
438// 440//
439// // Example sending a request using the DeleteBucketRequest method. 441// // Example sending a request using the DeleteBucketRequest method.
440// req, resp := client.DeleteBucketRequest(params) 442// req, resp := client.DeleteBucketRequest(params)
@@ -444,7 +446,7 @@ const opDeleteBucket = "DeleteBucket"
444// fmt.Println(resp) 446// fmt.Println(resp)
445// } 447// }
446// 448//
447// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucket 449// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucket
448func (c *S3) DeleteBucketRequest(input *DeleteBucketInput) (req *request.Request, output *DeleteBucketOutput) { 450func (c *S3) DeleteBucketRequest(input *DeleteBucketInput) (req *request.Request, output *DeleteBucketOutput) {
449 op := &request.Operation{ 451 op := &request.Operation{
450 Name: opDeleteBucket, 452 Name: opDeleteBucket,
@@ -474,7 +476,7 @@ func (c *S3) DeleteBucketRequest(input *DeleteBucketInput) (req *request.Request
474// 476//
475// See the AWS API reference guide for Amazon Simple Storage Service's 477// See the AWS API reference guide for Amazon Simple Storage Service's
476// API operation DeleteBucket for usage and error information. 478// API operation DeleteBucket for usage and error information.
477// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucket 479// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucket
478func (c *S3) DeleteBucket(input *DeleteBucketInput) (*DeleteBucketOutput, error) { 480func (c *S3) DeleteBucket(input *DeleteBucketInput) (*DeleteBucketOutput, error) {
479 req, out := c.DeleteBucketRequest(input) 481 req, out := c.DeleteBucketRequest(input)
480 return out, req.Send() 482 return out, req.Send()
@@ -500,19 +502,18 @@ const opDeleteBucketAnalyticsConfiguration = "DeleteBucketAnalyticsConfiguration
500 502
501// DeleteBucketAnalyticsConfigurationRequest generates a "aws/request.Request" representing the 503// DeleteBucketAnalyticsConfigurationRequest generates a "aws/request.Request" representing the
502// client's request for the DeleteBucketAnalyticsConfiguration operation. The "output" return 504// client's request for the DeleteBucketAnalyticsConfiguration operation. The "output" return
503// value can be used to capture response data after the request's "Send" method 505// value will be populated with the request's response once the request completes
504// is called. 506// successfuly.
505// 507//
506// See DeleteBucketAnalyticsConfiguration for usage and error information. 508// Use "Send" method on the returned Request to send the API call to the service.
509// the "output" return value is not valid until after Send returns without error.
507// 510//
508// Creating a request object using this method should be used when you want to inject 511// See DeleteBucketAnalyticsConfiguration for more information on using the DeleteBucketAnalyticsConfiguration
509// custom logic into the request's lifecycle using a custom handler, or if you want to 512// API call, and error handling.
510// access properties on the request object before or after sending the request. If 513//
511// you just want the service response, call the DeleteBucketAnalyticsConfiguration method directly 514// This method is useful when you want to inject custom logic or configuration
512// instead. 515// into the SDK's request lifecycle. Such as custom headers, or retry logic.
513// 516//
514// Note: You must call the "Send" method on the returned request object in order
515// to execute the request.
516// 517//
517// // Example sending a request using the DeleteBucketAnalyticsConfigurationRequest method. 518// // Example sending a request using the DeleteBucketAnalyticsConfigurationRequest method.
518// req, resp := client.DeleteBucketAnalyticsConfigurationRequest(params) 519// req, resp := client.DeleteBucketAnalyticsConfigurationRequest(params)
@@ -522,7 +523,7 @@ const opDeleteBucketAnalyticsConfiguration = "DeleteBucketAnalyticsConfiguration
522// fmt.Println(resp) 523// fmt.Println(resp)
523// } 524// }
524// 525//
525// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketAnalyticsConfiguration 526// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketAnalyticsConfiguration
526func (c *S3) DeleteBucketAnalyticsConfigurationRequest(input *DeleteBucketAnalyticsConfigurationInput) (req *request.Request, output *DeleteBucketAnalyticsConfigurationOutput) { 527func (c *S3) DeleteBucketAnalyticsConfigurationRequest(input *DeleteBucketAnalyticsConfigurationInput) (req *request.Request, output *DeleteBucketAnalyticsConfigurationOutput) {
527 op := &request.Operation{ 528 op := &request.Operation{
528 Name: opDeleteBucketAnalyticsConfiguration, 529 Name: opDeleteBucketAnalyticsConfiguration,
@@ -552,7 +553,7 @@ func (c *S3) DeleteBucketAnalyticsConfigurationRequest(input *DeleteBucketAnalyt
552// 553//
553// See the AWS API reference guide for Amazon Simple Storage Service's 554// See the AWS API reference guide for Amazon Simple Storage Service's
554// API operation DeleteBucketAnalyticsConfiguration for usage and error information. 555// API operation DeleteBucketAnalyticsConfiguration for usage and error information.
555// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketAnalyticsConfiguration 556// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketAnalyticsConfiguration
556func (c *S3) DeleteBucketAnalyticsConfiguration(input *DeleteBucketAnalyticsConfigurationInput) (*DeleteBucketAnalyticsConfigurationOutput, error) { 557func (c *S3) DeleteBucketAnalyticsConfiguration(input *DeleteBucketAnalyticsConfigurationInput) (*DeleteBucketAnalyticsConfigurationOutput, error) {
557 req, out := c.DeleteBucketAnalyticsConfigurationRequest(input) 558 req, out := c.DeleteBucketAnalyticsConfigurationRequest(input)
558 return out, req.Send() 559 return out, req.Send()
@@ -578,19 +579,18 @@ const opDeleteBucketCors = "DeleteBucketCors"
578 579
579// DeleteBucketCorsRequest generates a "aws/request.Request" representing the 580// DeleteBucketCorsRequest generates a "aws/request.Request" representing the
580// client's request for the DeleteBucketCors operation. The "output" return 581// client's request for the DeleteBucketCors operation. The "output" return
581// value can be used to capture response data after the request's "Send" method 582// value will be populated with the request's response once the request completes
582// is called. 583// successfuly.
584//
585// Use "Send" method on the returned Request to send the API call to the service.
586// the "output" return value is not valid until after Send returns without error.
583// 587//
584// See DeleteBucketCors for usage and error information. 588// See DeleteBucketCors for more information on using the DeleteBucketCors
589// API call, and error handling.
585// 590//
586// Creating a request object using this method should be used when you want to inject 591// This method is useful when you want to inject custom logic or configuration
587// custom logic into the request's lifecycle using a custom handler, or if you want to 592// into the SDK's request lifecycle. Such as custom headers, or retry logic.
588// access properties on the request object before or after sending the request. If
589// you just want the service response, call the DeleteBucketCors method directly
590// instead.
591// 593//
592// Note: You must call the "Send" method on the returned request object in order
593// to execute the request.
594// 594//
595// // Example sending a request using the DeleteBucketCorsRequest method. 595// // Example sending a request using the DeleteBucketCorsRequest method.
596// req, resp := client.DeleteBucketCorsRequest(params) 596// req, resp := client.DeleteBucketCorsRequest(params)
@@ -600,7 +600,7 @@ const opDeleteBucketCors = "DeleteBucketCors"
600// fmt.Println(resp) 600// fmt.Println(resp)
601// } 601// }
602// 602//
603// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketCors 603// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketCors
604func (c *S3) DeleteBucketCorsRequest(input *DeleteBucketCorsInput) (req *request.Request, output *DeleteBucketCorsOutput) { 604func (c *S3) DeleteBucketCorsRequest(input *DeleteBucketCorsInput) (req *request.Request, output *DeleteBucketCorsOutput) {
605 op := &request.Operation{ 605 op := &request.Operation{
606 Name: opDeleteBucketCors, 606 Name: opDeleteBucketCors,
@@ -629,7 +629,7 @@ func (c *S3) DeleteBucketCorsRequest(input *DeleteBucketCorsInput) (req *request
629// 629//
630// See the AWS API reference guide for Amazon Simple Storage Service's 630// See the AWS API reference guide for Amazon Simple Storage Service's
631// API operation DeleteBucketCors for usage and error information. 631// API operation DeleteBucketCors for usage and error information.
632// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketCors 632// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketCors
633func (c *S3) DeleteBucketCors(input *DeleteBucketCorsInput) (*DeleteBucketCorsOutput, error) { 633func (c *S3) DeleteBucketCors(input *DeleteBucketCorsInput) (*DeleteBucketCorsOutput, error) {
634 req, out := c.DeleteBucketCorsRequest(input) 634 req, out := c.DeleteBucketCorsRequest(input)
635 return out, req.Send() 635 return out, req.Send()
@@ -651,23 +651,98 @@ func (c *S3) DeleteBucketCorsWithContext(ctx aws.Context, input *DeleteBucketCor
651 return out, req.Send() 651 return out, req.Send()
652} 652}
653 653
654const opDeleteBucketEncryption = "DeleteBucketEncryption"
655
656// DeleteBucketEncryptionRequest generates a "aws/request.Request" representing the
657// client's request for the DeleteBucketEncryption operation. The "output" return
658// value will be populated with the request's response once the request completes
659// successfuly.
660//
661// Use "Send" method on the returned Request to send the API call to the service.
662// the "output" return value is not valid until after Send returns without error.
663//
664// See DeleteBucketEncryption for more information on using the DeleteBucketEncryption
665// API call, and error handling.
666//
667// This method is useful when you want to inject custom logic or configuration
668// into the SDK's request lifecycle. Such as custom headers, or retry logic.
669//
670//
671// // Example sending a request using the DeleteBucketEncryptionRequest method.
672// req, resp := client.DeleteBucketEncryptionRequest(params)
673//
674// err := req.Send()
675// if err == nil { // resp is now filled
676// fmt.Println(resp)
677// }
678//
679// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketEncryption
680func (c *S3) DeleteBucketEncryptionRequest(input *DeleteBucketEncryptionInput) (req *request.Request, output *DeleteBucketEncryptionOutput) {
681 op := &request.Operation{
682 Name: opDeleteBucketEncryption,
683 HTTPMethod: "DELETE",
684 HTTPPath: "/{Bucket}?encryption",
685 }
686
687 if input == nil {
688 input = &DeleteBucketEncryptionInput{}
689 }
690
691 output = &DeleteBucketEncryptionOutput{}
692 req = c.newRequest(op, input, output)
693 req.Handlers.Unmarshal.Remove(restxml.UnmarshalHandler)
694 req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler)
695 return
696}
697
698// DeleteBucketEncryption API operation for Amazon Simple Storage Service.
699//
700// Deletes the server-side encryption configuration from the bucket.
701//
702// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
703// with awserr.Error's Code and Message methods to get detailed information about
704// the error.
705//
706// See the AWS API reference guide for Amazon Simple Storage Service's
707// API operation DeleteBucketEncryption for usage and error information.
708// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketEncryption
709func (c *S3) DeleteBucketEncryption(input *DeleteBucketEncryptionInput) (*DeleteBucketEncryptionOutput, error) {
710 req, out := c.DeleteBucketEncryptionRequest(input)
711 return out, req.Send()
712}
713
714// DeleteBucketEncryptionWithContext is the same as DeleteBucketEncryption with the addition of
715// the ability to pass a context and additional request options.
716//
717// See DeleteBucketEncryption for details on how to use this API operation.
718//
719// The context must be non-nil and will be used for request cancellation. If
720// the context is nil a panic will occur. In the future the SDK may create
721// sub-contexts for http.Requests. See https://golang.org/pkg/context/
722// for more information on using Contexts.
723func (c *S3) DeleteBucketEncryptionWithContext(ctx aws.Context, input *DeleteBucketEncryptionInput, opts ...request.Option) (*DeleteBucketEncryptionOutput, error) {
724 req, out := c.DeleteBucketEncryptionRequest(input)
725 req.SetContext(ctx)
726 req.ApplyOptions(opts...)
727 return out, req.Send()
728}
729
654const opDeleteBucketInventoryConfiguration = "DeleteBucketInventoryConfiguration" 730const opDeleteBucketInventoryConfiguration = "DeleteBucketInventoryConfiguration"
655 731
656// DeleteBucketInventoryConfigurationRequest generates a "aws/request.Request" representing the 732// DeleteBucketInventoryConfigurationRequest generates a "aws/request.Request" representing the
657// client's request for the DeleteBucketInventoryConfiguration operation. The "output" return 733// client's request for the DeleteBucketInventoryConfiguration operation. The "output" return
658// value can be used to capture response data after the request's "Send" method 734// value will be populated with the request's response once the request completes
659// is called. 735// successfuly.
736//
737// Use "Send" method on the returned Request to send the API call to the service.
738// the "output" return value is not valid until after Send returns without error.
660// 739//
661// See DeleteBucketInventoryConfiguration for usage and error information. 740// See DeleteBucketInventoryConfiguration for more information on using the DeleteBucketInventoryConfiguration
741// API call, and error handling.
662// 742//
663// Creating a request object using this method should be used when you want to inject 743// This method is useful when you want to inject custom logic or configuration
664// custom logic into the request's lifecycle using a custom handler, or if you want to 744// into the SDK's request lifecycle. Such as custom headers, or retry logic.
665// access properties on the request object before or after sending the request. If
666// you just want the service response, call the DeleteBucketInventoryConfiguration method directly
667// instead.
668// 745//
669// Note: You must call the "Send" method on the returned request object in order
670// to execute the request.
671// 746//
672// // Example sending a request using the DeleteBucketInventoryConfigurationRequest method. 747// // Example sending a request using the DeleteBucketInventoryConfigurationRequest method.
673// req, resp := client.DeleteBucketInventoryConfigurationRequest(params) 748// req, resp := client.DeleteBucketInventoryConfigurationRequest(params)
@@ -677,7 +752,7 @@ const opDeleteBucketInventoryConfiguration = "DeleteBucketInventoryConfiguration
677// fmt.Println(resp) 752// fmt.Println(resp)
678// } 753// }
679// 754//
680// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketInventoryConfiguration 755// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketInventoryConfiguration
681func (c *S3) DeleteBucketInventoryConfigurationRequest(input *DeleteBucketInventoryConfigurationInput) (req *request.Request, output *DeleteBucketInventoryConfigurationOutput) { 756func (c *S3) DeleteBucketInventoryConfigurationRequest(input *DeleteBucketInventoryConfigurationInput) (req *request.Request, output *DeleteBucketInventoryConfigurationOutput) {
682 op := &request.Operation{ 757 op := &request.Operation{
683 Name: opDeleteBucketInventoryConfiguration, 758 Name: opDeleteBucketInventoryConfiguration,
@@ -707,7 +782,7 @@ func (c *S3) DeleteBucketInventoryConfigurationRequest(input *DeleteBucketInvent
707// 782//
708// See the AWS API reference guide for Amazon Simple Storage Service's 783// See the AWS API reference guide for Amazon Simple Storage Service's
709// API operation DeleteBucketInventoryConfiguration for usage and error information. 784// API operation DeleteBucketInventoryConfiguration for usage and error information.
710// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketInventoryConfiguration 785// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketInventoryConfiguration
711func (c *S3) DeleteBucketInventoryConfiguration(input *DeleteBucketInventoryConfigurationInput) (*DeleteBucketInventoryConfigurationOutput, error) { 786func (c *S3) DeleteBucketInventoryConfiguration(input *DeleteBucketInventoryConfigurationInput) (*DeleteBucketInventoryConfigurationOutput, error) {
712 req, out := c.DeleteBucketInventoryConfigurationRequest(input) 787 req, out := c.DeleteBucketInventoryConfigurationRequest(input)
713 return out, req.Send() 788 return out, req.Send()
@@ -733,19 +808,18 @@ const opDeleteBucketLifecycle = "DeleteBucketLifecycle"
733 808
734// DeleteBucketLifecycleRequest generates a "aws/request.Request" representing the 809// DeleteBucketLifecycleRequest generates a "aws/request.Request" representing the
735// client's request for the DeleteBucketLifecycle operation. The "output" return 810// client's request for the DeleteBucketLifecycle operation. The "output" return
736// value can be used to capture response data after the request's "Send" method 811// value will be populated with the request's response once the request completes
737// is called. 812// successfuly.
813//
814// Use "Send" method on the returned Request to send the API call to the service.
815// the "output" return value is not valid until after Send returns without error.
738// 816//
739// See DeleteBucketLifecycle for usage and error information. 817// See DeleteBucketLifecycle for more information on using the DeleteBucketLifecycle
818// API call, and error handling.
740// 819//
741// Creating a request object using this method should be used when you want to inject 820// This method is useful when you want to inject custom logic or configuration
742// custom logic into the request's lifecycle using a custom handler, or if you want to 821// into the SDK's request lifecycle. Such as custom headers, or retry logic.
743// access properties on the request object before or after sending the request. If
744// you just want the service response, call the DeleteBucketLifecycle method directly
745// instead.
746// 822//
747// Note: You must call the "Send" method on the returned request object in order
748// to execute the request.
749// 823//
750// // Example sending a request using the DeleteBucketLifecycleRequest method. 824// // Example sending a request using the DeleteBucketLifecycleRequest method.
751// req, resp := client.DeleteBucketLifecycleRequest(params) 825// req, resp := client.DeleteBucketLifecycleRequest(params)
@@ -755,7 +829,7 @@ const opDeleteBucketLifecycle = "DeleteBucketLifecycle"
755// fmt.Println(resp) 829// fmt.Println(resp)
756// } 830// }
757// 831//
758// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketLifecycle 832// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketLifecycle
759func (c *S3) DeleteBucketLifecycleRequest(input *DeleteBucketLifecycleInput) (req *request.Request, output *DeleteBucketLifecycleOutput) { 833func (c *S3) DeleteBucketLifecycleRequest(input *DeleteBucketLifecycleInput) (req *request.Request, output *DeleteBucketLifecycleOutput) {
760 op := &request.Operation{ 834 op := &request.Operation{
761 Name: opDeleteBucketLifecycle, 835 Name: opDeleteBucketLifecycle,
@@ -784,7 +858,7 @@ func (c *S3) DeleteBucketLifecycleRequest(input *DeleteBucketLifecycleInput) (re
784// 858//
785// See the AWS API reference guide for Amazon Simple Storage Service's 859// See the AWS API reference guide for Amazon Simple Storage Service's
786// API operation DeleteBucketLifecycle for usage and error information. 860// API operation DeleteBucketLifecycle for usage and error information.
787// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketLifecycle 861// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketLifecycle
788func (c *S3) DeleteBucketLifecycle(input *DeleteBucketLifecycleInput) (*DeleteBucketLifecycleOutput, error) { 862func (c *S3) DeleteBucketLifecycle(input *DeleteBucketLifecycleInput) (*DeleteBucketLifecycleOutput, error) {
789 req, out := c.DeleteBucketLifecycleRequest(input) 863 req, out := c.DeleteBucketLifecycleRequest(input)
790 return out, req.Send() 864 return out, req.Send()
@@ -810,19 +884,18 @@ const opDeleteBucketMetricsConfiguration = "DeleteBucketMetricsConfiguration"
810 884
811// DeleteBucketMetricsConfigurationRequest generates a "aws/request.Request" representing the 885// DeleteBucketMetricsConfigurationRequest generates a "aws/request.Request" representing the
812// client's request for the DeleteBucketMetricsConfiguration operation. The "output" return 886// client's request for the DeleteBucketMetricsConfiguration operation. The "output" return
813// value can be used to capture response data after the request's "Send" method 887// value will be populated with the request's response once the request completes
814// is called. 888// successfuly.
815// 889//
816// See DeleteBucketMetricsConfiguration for usage and error information. 890// Use "Send" method on the returned Request to send the API call to the service.
891// the "output" return value is not valid until after Send returns without error.
817// 892//
818// Creating a request object using this method should be used when you want to inject 893// See DeleteBucketMetricsConfiguration for more information on using the DeleteBucketMetricsConfiguration
819// custom logic into the request's lifecycle using a custom handler, or if you want to 894// API call, and error handling.
820// access properties on the request object before or after sending the request. If 895//
821// you just want the service response, call the DeleteBucketMetricsConfiguration method directly 896// This method is useful when you want to inject custom logic or configuration
822// instead. 897// into the SDK's request lifecycle. Such as custom headers, or retry logic.
823// 898//
824// Note: You must call the "Send" method on the returned request object in order
825// to execute the request.
826// 899//
827// // Example sending a request using the DeleteBucketMetricsConfigurationRequest method. 900// // Example sending a request using the DeleteBucketMetricsConfigurationRequest method.
828// req, resp := client.DeleteBucketMetricsConfigurationRequest(params) 901// req, resp := client.DeleteBucketMetricsConfigurationRequest(params)
@@ -832,7 +905,7 @@ const opDeleteBucketMetricsConfiguration = "DeleteBucketMetricsConfiguration"
832// fmt.Println(resp) 905// fmt.Println(resp)
833// } 906// }
834// 907//
835// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketMetricsConfiguration 908// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketMetricsConfiguration
836func (c *S3) DeleteBucketMetricsConfigurationRequest(input *DeleteBucketMetricsConfigurationInput) (req *request.Request, output *DeleteBucketMetricsConfigurationOutput) { 909func (c *S3) DeleteBucketMetricsConfigurationRequest(input *DeleteBucketMetricsConfigurationInput) (req *request.Request, output *DeleteBucketMetricsConfigurationOutput) {
837 op := &request.Operation{ 910 op := &request.Operation{
838 Name: opDeleteBucketMetricsConfiguration, 911 Name: opDeleteBucketMetricsConfiguration,
@@ -862,7 +935,7 @@ func (c *S3) DeleteBucketMetricsConfigurationRequest(input *DeleteBucketMetricsC
862// 935//
863// See the AWS API reference guide for Amazon Simple Storage Service's 936// See the AWS API reference guide for Amazon Simple Storage Service's
864// API operation DeleteBucketMetricsConfiguration for usage and error information. 937// API operation DeleteBucketMetricsConfiguration for usage and error information.
865// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketMetricsConfiguration 938// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketMetricsConfiguration
866func (c *S3) DeleteBucketMetricsConfiguration(input *DeleteBucketMetricsConfigurationInput) (*DeleteBucketMetricsConfigurationOutput, error) { 939func (c *S3) DeleteBucketMetricsConfiguration(input *DeleteBucketMetricsConfigurationInput) (*DeleteBucketMetricsConfigurationOutput, error) {
867 req, out := c.DeleteBucketMetricsConfigurationRequest(input) 940 req, out := c.DeleteBucketMetricsConfigurationRequest(input)
868 return out, req.Send() 941 return out, req.Send()
@@ -888,19 +961,18 @@ const opDeleteBucketPolicy = "DeleteBucketPolicy"
888 961
889// DeleteBucketPolicyRequest generates a "aws/request.Request" representing the 962// DeleteBucketPolicyRequest generates a "aws/request.Request" representing the
890// client's request for the DeleteBucketPolicy operation. The "output" return 963// client's request for the DeleteBucketPolicy operation. The "output" return
891// value can be used to capture response data after the request's "Send" method 964// value will be populated with the request's response once the request completes
892// is called. 965// successfuly.
966//
967// Use "Send" method on the returned Request to send the API call to the service.
968// the "output" return value is not valid until after Send returns without error.
893// 969//
894// See DeleteBucketPolicy for usage and error information. 970// See DeleteBucketPolicy for more information on using the DeleteBucketPolicy
971// API call, and error handling.
895// 972//
896// Creating a request object using this method should be used when you want to inject 973// This method is useful when you want to inject custom logic or configuration
897// custom logic into the request's lifecycle using a custom handler, or if you want to 974// into the SDK's request lifecycle. Such as custom headers, or retry logic.
898// access properties on the request object before or after sending the request. If
899// you just want the service response, call the DeleteBucketPolicy method directly
900// instead.
901// 975//
902// Note: You must call the "Send" method on the returned request object in order
903// to execute the request.
904// 976//
905// // Example sending a request using the DeleteBucketPolicyRequest method. 977// // Example sending a request using the DeleteBucketPolicyRequest method.
906// req, resp := client.DeleteBucketPolicyRequest(params) 978// req, resp := client.DeleteBucketPolicyRequest(params)
@@ -910,7 +982,7 @@ const opDeleteBucketPolicy = "DeleteBucketPolicy"
910// fmt.Println(resp) 982// fmt.Println(resp)
911// } 983// }
912// 984//
913// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketPolicy 985// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketPolicy
914func (c *S3) DeleteBucketPolicyRequest(input *DeleteBucketPolicyInput) (req *request.Request, output *DeleteBucketPolicyOutput) { 986func (c *S3) DeleteBucketPolicyRequest(input *DeleteBucketPolicyInput) (req *request.Request, output *DeleteBucketPolicyOutput) {
915 op := &request.Operation{ 987 op := &request.Operation{
916 Name: opDeleteBucketPolicy, 988 Name: opDeleteBucketPolicy,
@@ -939,7 +1011,7 @@ func (c *S3) DeleteBucketPolicyRequest(input *DeleteBucketPolicyInput) (req *req
939// 1011//
940// See the AWS API reference guide for Amazon Simple Storage Service's 1012// See the AWS API reference guide for Amazon Simple Storage Service's
941// API operation DeleteBucketPolicy for usage and error information. 1013// API operation DeleteBucketPolicy for usage and error information.
942// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketPolicy 1014// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketPolicy
943func (c *S3) DeleteBucketPolicy(input *DeleteBucketPolicyInput) (*DeleteBucketPolicyOutput, error) { 1015func (c *S3) DeleteBucketPolicy(input *DeleteBucketPolicyInput) (*DeleteBucketPolicyOutput, error) {
944 req, out := c.DeleteBucketPolicyRequest(input) 1016 req, out := c.DeleteBucketPolicyRequest(input)
945 return out, req.Send() 1017 return out, req.Send()
@@ -965,19 +1037,18 @@ const opDeleteBucketReplication = "DeleteBucketReplication"
965 1037
966// DeleteBucketReplicationRequest generates a "aws/request.Request" representing the 1038// DeleteBucketReplicationRequest generates a "aws/request.Request" representing the
967// client's request for the DeleteBucketReplication operation. The "output" return 1039// client's request for the DeleteBucketReplication operation. The "output" return
968// value can be used to capture response data after the request's "Send" method 1040// value will be populated with the request's response once the request completes
969// is called. 1041// successfuly.
970// 1042//
971// See DeleteBucketReplication for usage and error information. 1043// Use "Send" method on the returned Request to send the API call to the service.
1044// the "output" return value is not valid until after Send returns without error.
972// 1045//
973// Creating a request object using this method should be used when you want to inject 1046// See DeleteBucketReplication for more information on using the DeleteBucketReplication
974// custom logic into the request's lifecycle using a custom handler, or if you want to 1047// API call, and error handling.
975// access properties on the request object before or after sending the request. If 1048//
976// you just want the service response, call the DeleteBucketReplication method directly 1049// This method is useful when you want to inject custom logic or configuration
977// instead. 1050// into the SDK's request lifecycle. Such as custom headers, or retry logic.
978// 1051//
979// Note: You must call the "Send" method on the returned request object in order
980// to execute the request.
981// 1052//
982// // Example sending a request using the DeleteBucketReplicationRequest method. 1053// // Example sending a request using the DeleteBucketReplicationRequest method.
983// req, resp := client.DeleteBucketReplicationRequest(params) 1054// req, resp := client.DeleteBucketReplicationRequest(params)
@@ -987,7 +1058,7 @@ const opDeleteBucketReplication = "DeleteBucketReplication"
987// fmt.Println(resp) 1058// fmt.Println(resp)
988// } 1059// }
989// 1060//
990// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketReplication 1061// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketReplication
991func (c *S3) DeleteBucketReplicationRequest(input *DeleteBucketReplicationInput) (req *request.Request, output *DeleteBucketReplicationOutput) { 1062func (c *S3) DeleteBucketReplicationRequest(input *DeleteBucketReplicationInput) (req *request.Request, output *DeleteBucketReplicationOutput) {
992 op := &request.Operation{ 1063 op := &request.Operation{
993 Name: opDeleteBucketReplication, 1064 Name: opDeleteBucketReplication,
@@ -1016,7 +1087,7 @@ func (c *S3) DeleteBucketReplicationRequest(input *DeleteBucketReplicationInput)
1016// 1087//
1017// See the AWS API reference guide for Amazon Simple Storage Service's 1088// See the AWS API reference guide for Amazon Simple Storage Service's
1018// API operation DeleteBucketReplication for usage and error information. 1089// API operation DeleteBucketReplication for usage and error information.
1019// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketReplication 1090// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketReplication
1020func (c *S3) DeleteBucketReplication(input *DeleteBucketReplicationInput) (*DeleteBucketReplicationOutput, error) { 1091func (c *S3) DeleteBucketReplication(input *DeleteBucketReplicationInput) (*DeleteBucketReplicationOutput, error) {
1021 req, out := c.DeleteBucketReplicationRequest(input) 1092 req, out := c.DeleteBucketReplicationRequest(input)
1022 return out, req.Send() 1093 return out, req.Send()
@@ -1042,19 +1113,18 @@ const opDeleteBucketTagging = "DeleteBucketTagging"
1042 1113
1043// DeleteBucketTaggingRequest generates a "aws/request.Request" representing the 1114// DeleteBucketTaggingRequest generates a "aws/request.Request" representing the
1044// client's request for the DeleteBucketTagging operation. The "output" return 1115// client's request for the DeleteBucketTagging operation. The "output" return
1045// value can be used to capture response data after the request's "Send" method 1116// value will be populated with the request's response once the request completes
1046// is called. 1117// successfuly.
1118//
1119// Use "Send" method on the returned Request to send the API call to the service.
1120// the "output" return value is not valid until after Send returns without error.
1047// 1121//
1048// See DeleteBucketTagging for usage and error information. 1122// See DeleteBucketTagging for more information on using the DeleteBucketTagging
1123// API call, and error handling.
1049// 1124//
1050// Creating a request object using this method should be used when you want to inject 1125// This method is useful when you want to inject custom logic or configuration
1051// custom logic into the request's lifecycle using a custom handler, or if you want to 1126// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1052// access properties on the request object before or after sending the request. If
1053// you just want the service response, call the DeleteBucketTagging method directly
1054// instead.
1055// 1127//
1056// Note: You must call the "Send" method on the returned request object in order
1057// to execute the request.
1058// 1128//
1059// // Example sending a request using the DeleteBucketTaggingRequest method. 1129// // Example sending a request using the DeleteBucketTaggingRequest method.
1060// req, resp := client.DeleteBucketTaggingRequest(params) 1130// req, resp := client.DeleteBucketTaggingRequest(params)
@@ -1064,7 +1134,7 @@ const opDeleteBucketTagging = "DeleteBucketTagging"
1064// fmt.Println(resp) 1134// fmt.Println(resp)
1065// } 1135// }
1066// 1136//
1067// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketTagging 1137// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketTagging
1068func (c *S3) DeleteBucketTaggingRequest(input *DeleteBucketTaggingInput) (req *request.Request, output *DeleteBucketTaggingOutput) { 1138func (c *S3) DeleteBucketTaggingRequest(input *DeleteBucketTaggingInput) (req *request.Request, output *DeleteBucketTaggingOutput) {
1069 op := &request.Operation{ 1139 op := &request.Operation{
1070 Name: opDeleteBucketTagging, 1140 Name: opDeleteBucketTagging,
@@ -1093,7 +1163,7 @@ func (c *S3) DeleteBucketTaggingRequest(input *DeleteBucketTaggingInput) (req *r
1093// 1163//
1094// See the AWS API reference guide for Amazon Simple Storage Service's 1164// See the AWS API reference guide for Amazon Simple Storage Service's
1095// API operation DeleteBucketTagging for usage and error information. 1165// API operation DeleteBucketTagging for usage and error information.
1096// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketTagging 1166// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketTagging
1097func (c *S3) DeleteBucketTagging(input *DeleteBucketTaggingInput) (*DeleteBucketTaggingOutput, error) { 1167func (c *S3) DeleteBucketTagging(input *DeleteBucketTaggingInput) (*DeleteBucketTaggingOutput, error) {
1098 req, out := c.DeleteBucketTaggingRequest(input) 1168 req, out := c.DeleteBucketTaggingRequest(input)
1099 return out, req.Send() 1169 return out, req.Send()
@@ -1119,19 +1189,18 @@ const opDeleteBucketWebsite = "DeleteBucketWebsite"
1119 1189
1120// DeleteBucketWebsiteRequest generates a "aws/request.Request" representing the 1190// DeleteBucketWebsiteRequest generates a "aws/request.Request" representing the
1121// client's request for the DeleteBucketWebsite operation. The "output" return 1191// client's request for the DeleteBucketWebsite operation. The "output" return
1122// value can be used to capture response data after the request's "Send" method 1192// value will be populated with the request's response once the request completes
1123// is called. 1193// successfuly.
1124// 1194//
1125// See DeleteBucketWebsite for usage and error information. 1195// Use "Send" method on the returned Request to send the API call to the service.
1196// the "output" return value is not valid until after Send returns without error.
1126// 1197//
1127// Creating a request object using this method should be used when you want to inject 1198// See DeleteBucketWebsite for more information on using the DeleteBucketWebsite
1128// custom logic into the request's lifecycle using a custom handler, or if you want to 1199// API call, and error handling.
1129// access properties on the request object before or after sending the request. If 1200//
1130// you just want the service response, call the DeleteBucketWebsite method directly 1201// This method is useful when you want to inject custom logic or configuration
1131// instead. 1202// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1132// 1203//
1133// Note: You must call the "Send" method on the returned request object in order
1134// to execute the request.
1135// 1204//
1136// // Example sending a request using the DeleteBucketWebsiteRequest method. 1205// // Example sending a request using the DeleteBucketWebsiteRequest method.
1137// req, resp := client.DeleteBucketWebsiteRequest(params) 1206// req, resp := client.DeleteBucketWebsiteRequest(params)
@@ -1141,7 +1210,7 @@ const opDeleteBucketWebsite = "DeleteBucketWebsite"
1141// fmt.Println(resp) 1210// fmt.Println(resp)
1142// } 1211// }
1143// 1212//
1144// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketWebsite 1213// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketWebsite
1145func (c *S3) DeleteBucketWebsiteRequest(input *DeleteBucketWebsiteInput) (req *request.Request, output *DeleteBucketWebsiteOutput) { 1214func (c *S3) DeleteBucketWebsiteRequest(input *DeleteBucketWebsiteInput) (req *request.Request, output *DeleteBucketWebsiteOutput) {
1146 op := &request.Operation{ 1215 op := &request.Operation{
1147 Name: opDeleteBucketWebsite, 1216 Name: opDeleteBucketWebsite,
@@ -1170,7 +1239,7 @@ func (c *S3) DeleteBucketWebsiteRequest(input *DeleteBucketWebsiteInput) (req *r
1170// 1239//
1171// See the AWS API reference guide for Amazon Simple Storage Service's 1240// See the AWS API reference guide for Amazon Simple Storage Service's
1172// API operation DeleteBucketWebsite for usage and error information. 1241// API operation DeleteBucketWebsite for usage and error information.
1173// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketWebsite 1242// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketWebsite
1174func (c *S3) DeleteBucketWebsite(input *DeleteBucketWebsiteInput) (*DeleteBucketWebsiteOutput, error) { 1243func (c *S3) DeleteBucketWebsite(input *DeleteBucketWebsiteInput) (*DeleteBucketWebsiteOutput, error) {
1175 req, out := c.DeleteBucketWebsiteRequest(input) 1244 req, out := c.DeleteBucketWebsiteRequest(input)
1176 return out, req.Send() 1245 return out, req.Send()
@@ -1196,19 +1265,18 @@ const opDeleteObject = "DeleteObject"
1196 1265
1197// DeleteObjectRequest generates a "aws/request.Request" representing the 1266// DeleteObjectRequest generates a "aws/request.Request" representing the
1198// client's request for the DeleteObject operation. The "output" return 1267// client's request for the DeleteObject operation. The "output" return
1199// value can be used to capture response data after the request's "Send" method 1268// value will be populated with the request's response once the request completes
1200// is called. 1269// successfuly.
1270//
1271// Use "Send" method on the returned Request to send the API call to the service.
1272// the "output" return value is not valid until after Send returns without error.
1201// 1273//
1202// See DeleteObject for usage and error information. 1274// See DeleteObject for more information on using the DeleteObject
1275// API call, and error handling.
1203// 1276//
1204// Creating a request object using this method should be used when you want to inject 1277// This method is useful when you want to inject custom logic or configuration
1205// custom logic into the request's lifecycle using a custom handler, or if you want to 1278// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1206// access properties on the request object before or after sending the request. If
1207// you just want the service response, call the DeleteObject method directly
1208// instead.
1209// 1279//
1210// Note: You must call the "Send" method on the returned request object in order
1211// to execute the request.
1212// 1280//
1213// // Example sending a request using the DeleteObjectRequest method. 1281// // Example sending a request using the DeleteObjectRequest method.
1214// req, resp := client.DeleteObjectRequest(params) 1282// req, resp := client.DeleteObjectRequest(params)
@@ -1218,7 +1286,7 @@ const opDeleteObject = "DeleteObject"
1218// fmt.Println(resp) 1286// fmt.Println(resp)
1219// } 1287// }
1220// 1288//
1221// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObject 1289// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObject
1222func (c *S3) DeleteObjectRequest(input *DeleteObjectInput) (req *request.Request, output *DeleteObjectOutput) { 1290func (c *S3) DeleteObjectRequest(input *DeleteObjectInput) (req *request.Request, output *DeleteObjectOutput) {
1223 op := &request.Operation{ 1291 op := &request.Operation{
1224 Name: opDeleteObject, 1292 Name: opDeleteObject,
@@ -1247,7 +1315,7 @@ func (c *S3) DeleteObjectRequest(input *DeleteObjectInput) (req *request.Request
1247// 1315//
1248// See the AWS API reference guide for Amazon Simple Storage Service's 1316// See the AWS API reference guide for Amazon Simple Storage Service's
1249// API operation DeleteObject for usage and error information. 1317// API operation DeleteObject for usage and error information.
1250// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObject 1318// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObject
1251func (c *S3) DeleteObject(input *DeleteObjectInput) (*DeleteObjectOutput, error) { 1319func (c *S3) DeleteObject(input *DeleteObjectInput) (*DeleteObjectOutput, error) {
1252 req, out := c.DeleteObjectRequest(input) 1320 req, out := c.DeleteObjectRequest(input)
1253 return out, req.Send() 1321 return out, req.Send()
@@ -1273,19 +1341,18 @@ const opDeleteObjectTagging = "DeleteObjectTagging"
1273 1341
1274// DeleteObjectTaggingRequest generates a "aws/request.Request" representing the 1342// DeleteObjectTaggingRequest generates a "aws/request.Request" representing the
1275// client's request for the DeleteObjectTagging operation. The "output" return 1343// client's request for the DeleteObjectTagging operation. The "output" return
1276// value can be used to capture response data after the request's "Send" method 1344// value will be populated with the request's response once the request completes
1277// is called. 1345// successfuly.
1278// 1346//
1279// See DeleteObjectTagging for usage and error information. 1347// Use "Send" method on the returned Request to send the API call to the service.
1348// the "output" return value is not valid until after Send returns without error.
1280// 1349//
1281// Creating a request object using this method should be used when you want to inject 1350// See DeleteObjectTagging for more information on using the DeleteObjectTagging
1282// custom logic into the request's lifecycle using a custom handler, or if you want to 1351// API call, and error handling.
1283// access properties on the request object before or after sending the request. If 1352//
1284// you just want the service response, call the DeleteObjectTagging method directly 1353// This method is useful when you want to inject custom logic or configuration
1285// instead. 1354// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1286// 1355//
1287// Note: You must call the "Send" method on the returned request object in order
1288// to execute the request.
1289// 1356//
1290// // Example sending a request using the DeleteObjectTaggingRequest method. 1357// // Example sending a request using the DeleteObjectTaggingRequest method.
1291// req, resp := client.DeleteObjectTaggingRequest(params) 1358// req, resp := client.DeleteObjectTaggingRequest(params)
@@ -1295,7 +1362,7 @@ const opDeleteObjectTagging = "DeleteObjectTagging"
1295// fmt.Println(resp) 1362// fmt.Println(resp)
1296// } 1363// }
1297// 1364//
1298// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectTagging 1365// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectTagging
1299func (c *S3) DeleteObjectTaggingRequest(input *DeleteObjectTaggingInput) (req *request.Request, output *DeleteObjectTaggingOutput) { 1366func (c *S3) DeleteObjectTaggingRequest(input *DeleteObjectTaggingInput) (req *request.Request, output *DeleteObjectTaggingOutput) {
1300 op := &request.Operation{ 1367 op := &request.Operation{
1301 Name: opDeleteObjectTagging, 1368 Name: opDeleteObjectTagging,
@@ -1322,7 +1389,7 @@ func (c *S3) DeleteObjectTaggingRequest(input *DeleteObjectTaggingInput) (req *r
1322// 1389//
1323// See the AWS API reference guide for Amazon Simple Storage Service's 1390// See the AWS API reference guide for Amazon Simple Storage Service's
1324// API operation DeleteObjectTagging for usage and error information. 1391// API operation DeleteObjectTagging for usage and error information.
1325// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectTagging 1392// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectTagging
1326func (c *S3) DeleteObjectTagging(input *DeleteObjectTaggingInput) (*DeleteObjectTaggingOutput, error) { 1393func (c *S3) DeleteObjectTagging(input *DeleteObjectTaggingInput) (*DeleteObjectTaggingOutput, error) {
1327 req, out := c.DeleteObjectTaggingRequest(input) 1394 req, out := c.DeleteObjectTaggingRequest(input)
1328 return out, req.Send() 1395 return out, req.Send()
@@ -1348,19 +1415,18 @@ const opDeleteObjects = "DeleteObjects"
1348 1415
1349// DeleteObjectsRequest generates a "aws/request.Request" representing the 1416// DeleteObjectsRequest generates a "aws/request.Request" representing the
1350// client's request for the DeleteObjects operation. The "output" return 1417// client's request for the DeleteObjects operation. The "output" return
1351// value can be used to capture response data after the request's "Send" method 1418// value will be populated with the request's response once the request completes
1352// is called. 1419// successfuly.
1420//
1421// Use "Send" method on the returned Request to send the API call to the service.
1422// the "output" return value is not valid until after Send returns without error.
1353// 1423//
1354// See DeleteObjects for usage and error information. 1424// See DeleteObjects for more information on using the DeleteObjects
1425// API call, and error handling.
1355// 1426//
1356// Creating a request object using this method should be used when you want to inject 1427// This method is useful when you want to inject custom logic or configuration
1357// custom logic into the request's lifecycle using a custom handler, or if you want to 1428// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1358// access properties on the request object before or after sending the request. If
1359// you just want the service response, call the DeleteObjects method directly
1360// instead.
1361// 1429//
1362// Note: You must call the "Send" method on the returned request object in order
1363// to execute the request.
1364// 1430//
1365// // Example sending a request using the DeleteObjectsRequest method. 1431// // Example sending a request using the DeleteObjectsRequest method.
1366// req, resp := client.DeleteObjectsRequest(params) 1432// req, resp := client.DeleteObjectsRequest(params)
@@ -1370,7 +1436,7 @@ const opDeleteObjects = "DeleteObjects"
1370// fmt.Println(resp) 1436// fmt.Println(resp)
1371// } 1437// }
1372// 1438//
1373// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjects 1439// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjects
1374func (c *S3) DeleteObjectsRequest(input *DeleteObjectsInput) (req *request.Request, output *DeleteObjectsOutput) { 1440func (c *S3) DeleteObjectsRequest(input *DeleteObjectsInput) (req *request.Request, output *DeleteObjectsOutput) {
1375 op := &request.Operation{ 1441 op := &request.Operation{
1376 Name: opDeleteObjects, 1442 Name: opDeleteObjects,
@@ -1398,7 +1464,7 @@ func (c *S3) DeleteObjectsRequest(input *DeleteObjectsInput) (req *request.Reque
1398// 1464//
1399// See the AWS API reference guide for Amazon Simple Storage Service's 1465// See the AWS API reference guide for Amazon Simple Storage Service's
1400// API operation DeleteObjects for usage and error information. 1466// API operation DeleteObjects for usage and error information.
1401// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjects 1467// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjects
1402func (c *S3) DeleteObjects(input *DeleteObjectsInput) (*DeleteObjectsOutput, error) { 1468func (c *S3) DeleteObjects(input *DeleteObjectsInput) (*DeleteObjectsOutput, error) {
1403 req, out := c.DeleteObjectsRequest(input) 1469 req, out := c.DeleteObjectsRequest(input)
1404 return out, req.Send() 1470 return out, req.Send()
@@ -1424,19 +1490,18 @@ const opGetBucketAccelerateConfiguration = "GetBucketAccelerateConfiguration"
1424 1490
1425// GetBucketAccelerateConfigurationRequest generates a "aws/request.Request" representing the 1491// GetBucketAccelerateConfigurationRequest generates a "aws/request.Request" representing the
1426// client's request for the GetBucketAccelerateConfiguration operation. The "output" return 1492// client's request for the GetBucketAccelerateConfiguration operation. The "output" return
1427// value can be used to capture response data after the request's "Send" method 1493// value will be populated with the request's response once the request completes
1428// is called. 1494// successfuly.
1429// 1495//
1430// See GetBucketAccelerateConfiguration for usage and error information. 1496// Use "Send" method on the returned Request to send the API call to the service.
1497// the "output" return value is not valid until after Send returns without error.
1431// 1498//
1432// Creating a request object using this method should be used when you want to inject 1499// See GetBucketAccelerateConfiguration for more information on using the GetBucketAccelerateConfiguration
1433// custom logic into the request's lifecycle using a custom handler, or if you want to 1500// API call, and error handling.
1434// access properties on the request object before or after sending the request. If 1501//
1435// you just want the service response, call the GetBucketAccelerateConfiguration method directly 1502// This method is useful when you want to inject custom logic or configuration
1436// instead. 1503// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1437// 1504//
1438// Note: You must call the "Send" method on the returned request object in order
1439// to execute the request.
1440// 1505//
1441// // Example sending a request using the GetBucketAccelerateConfigurationRequest method. 1506// // Example sending a request using the GetBucketAccelerateConfigurationRequest method.
1442// req, resp := client.GetBucketAccelerateConfigurationRequest(params) 1507// req, resp := client.GetBucketAccelerateConfigurationRequest(params)
@@ -1446,7 +1511,7 @@ const opGetBucketAccelerateConfiguration = "GetBucketAccelerateConfiguration"
1446// fmt.Println(resp) 1511// fmt.Println(resp)
1447// } 1512// }
1448// 1513//
1449// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAccelerateConfiguration 1514// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAccelerateConfiguration
1450func (c *S3) GetBucketAccelerateConfigurationRequest(input *GetBucketAccelerateConfigurationInput) (req *request.Request, output *GetBucketAccelerateConfigurationOutput) { 1515func (c *S3) GetBucketAccelerateConfigurationRequest(input *GetBucketAccelerateConfigurationInput) (req *request.Request, output *GetBucketAccelerateConfigurationOutput) {
1451 op := &request.Operation{ 1516 op := &request.Operation{
1452 Name: opGetBucketAccelerateConfiguration, 1517 Name: opGetBucketAccelerateConfiguration,
@@ -1473,7 +1538,7 @@ func (c *S3) GetBucketAccelerateConfigurationRequest(input *GetBucketAccelerateC
1473// 1538//
1474// See the AWS API reference guide for Amazon Simple Storage Service's 1539// See the AWS API reference guide for Amazon Simple Storage Service's
1475// API operation GetBucketAccelerateConfiguration for usage and error information. 1540// API operation GetBucketAccelerateConfiguration for usage and error information.
1476// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAccelerateConfiguration 1541// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAccelerateConfiguration
1477func (c *S3) GetBucketAccelerateConfiguration(input *GetBucketAccelerateConfigurationInput) (*GetBucketAccelerateConfigurationOutput, error) { 1542func (c *S3) GetBucketAccelerateConfiguration(input *GetBucketAccelerateConfigurationInput) (*GetBucketAccelerateConfigurationOutput, error) {
1478 req, out := c.GetBucketAccelerateConfigurationRequest(input) 1543 req, out := c.GetBucketAccelerateConfigurationRequest(input)
1479 return out, req.Send() 1544 return out, req.Send()
@@ -1499,19 +1564,18 @@ const opGetBucketAcl = "GetBucketAcl"
1499 1564
1500// GetBucketAclRequest generates a "aws/request.Request" representing the 1565// GetBucketAclRequest generates a "aws/request.Request" representing the
1501// client's request for the GetBucketAcl operation. The "output" return 1566// client's request for the GetBucketAcl operation. The "output" return
1502// value can be used to capture response data after the request's "Send" method 1567// value will be populated with the request's response once the request completes
1503// is called. 1568// successfuly.
1569//
1570// Use "Send" method on the returned Request to send the API call to the service.
1571// the "output" return value is not valid until after Send returns without error.
1504// 1572//
1505// See GetBucketAcl for usage and error information. 1573// See GetBucketAcl for more information on using the GetBucketAcl
1574// API call, and error handling.
1506// 1575//
1507// Creating a request object using this method should be used when you want to inject 1576// This method is useful when you want to inject custom logic or configuration
1508// custom logic into the request's lifecycle using a custom handler, or if you want to 1577// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1509// access properties on the request object before or after sending the request. If
1510// you just want the service response, call the GetBucketAcl method directly
1511// instead.
1512// 1578//
1513// Note: You must call the "Send" method on the returned request object in order
1514// to execute the request.
1515// 1579//
1516// // Example sending a request using the GetBucketAclRequest method. 1580// // Example sending a request using the GetBucketAclRequest method.
1517// req, resp := client.GetBucketAclRequest(params) 1581// req, resp := client.GetBucketAclRequest(params)
@@ -1521,7 +1585,7 @@ const opGetBucketAcl = "GetBucketAcl"
1521// fmt.Println(resp) 1585// fmt.Println(resp)
1522// } 1586// }
1523// 1587//
1524// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAcl 1588// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAcl
1525func (c *S3) GetBucketAclRequest(input *GetBucketAclInput) (req *request.Request, output *GetBucketAclOutput) { 1589func (c *S3) GetBucketAclRequest(input *GetBucketAclInput) (req *request.Request, output *GetBucketAclOutput) {
1526 op := &request.Operation{ 1590 op := &request.Operation{
1527 Name: opGetBucketAcl, 1591 Name: opGetBucketAcl,
@@ -1548,7 +1612,7 @@ func (c *S3) GetBucketAclRequest(input *GetBucketAclInput) (req *request.Request
1548// 1612//
1549// See the AWS API reference guide for Amazon Simple Storage Service's 1613// See the AWS API reference guide for Amazon Simple Storage Service's
1550// API operation GetBucketAcl for usage and error information. 1614// API operation GetBucketAcl for usage and error information.
1551// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAcl 1615// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAcl
1552func (c *S3) GetBucketAcl(input *GetBucketAclInput) (*GetBucketAclOutput, error) { 1616func (c *S3) GetBucketAcl(input *GetBucketAclInput) (*GetBucketAclOutput, error) {
1553 req, out := c.GetBucketAclRequest(input) 1617 req, out := c.GetBucketAclRequest(input)
1554 return out, req.Send() 1618 return out, req.Send()
@@ -1574,19 +1638,18 @@ const opGetBucketAnalyticsConfiguration = "GetBucketAnalyticsConfiguration"
1574 1638
1575// GetBucketAnalyticsConfigurationRequest generates a "aws/request.Request" representing the 1639// GetBucketAnalyticsConfigurationRequest generates a "aws/request.Request" representing the
1576// client's request for the GetBucketAnalyticsConfiguration operation. The "output" return 1640// client's request for the GetBucketAnalyticsConfiguration operation. The "output" return
1577// value can be used to capture response data after the request's "Send" method 1641// value will be populated with the request's response once the request completes
1578// is called. 1642// successfuly.
1579// 1643//
1580// See GetBucketAnalyticsConfiguration for usage and error information. 1644// Use "Send" method on the returned Request to send the API call to the service.
1645// the "output" return value is not valid until after Send returns without error.
1581// 1646//
1582// Creating a request object using this method should be used when you want to inject 1647// See GetBucketAnalyticsConfiguration for more information on using the GetBucketAnalyticsConfiguration
1583// custom logic into the request's lifecycle using a custom handler, or if you want to 1648// API call, and error handling.
1584// access properties on the request object before or after sending the request. If 1649//
1585// you just want the service response, call the GetBucketAnalyticsConfiguration method directly 1650// This method is useful when you want to inject custom logic or configuration
1586// instead. 1651// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1587// 1652//
1588// Note: You must call the "Send" method on the returned request object in order
1589// to execute the request.
1590// 1653//
1591// // Example sending a request using the GetBucketAnalyticsConfigurationRequest method. 1654// // Example sending a request using the GetBucketAnalyticsConfigurationRequest method.
1592// req, resp := client.GetBucketAnalyticsConfigurationRequest(params) 1655// req, resp := client.GetBucketAnalyticsConfigurationRequest(params)
@@ -1596,7 +1659,7 @@ const opGetBucketAnalyticsConfiguration = "GetBucketAnalyticsConfiguration"
1596// fmt.Println(resp) 1659// fmt.Println(resp)
1597// } 1660// }
1598// 1661//
1599// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAnalyticsConfiguration 1662// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAnalyticsConfiguration
1600func (c *S3) GetBucketAnalyticsConfigurationRequest(input *GetBucketAnalyticsConfigurationInput) (req *request.Request, output *GetBucketAnalyticsConfigurationOutput) { 1663func (c *S3) GetBucketAnalyticsConfigurationRequest(input *GetBucketAnalyticsConfigurationInput) (req *request.Request, output *GetBucketAnalyticsConfigurationOutput) {
1601 op := &request.Operation{ 1664 op := &request.Operation{
1602 Name: opGetBucketAnalyticsConfiguration, 1665 Name: opGetBucketAnalyticsConfiguration,
@@ -1624,7 +1687,7 @@ func (c *S3) GetBucketAnalyticsConfigurationRequest(input *GetBucketAnalyticsCon
1624// 1687//
1625// See the AWS API reference guide for Amazon Simple Storage Service's 1688// See the AWS API reference guide for Amazon Simple Storage Service's
1626// API operation GetBucketAnalyticsConfiguration for usage and error information. 1689// API operation GetBucketAnalyticsConfiguration for usage and error information.
1627// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAnalyticsConfiguration 1690// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAnalyticsConfiguration
1628func (c *S3) GetBucketAnalyticsConfiguration(input *GetBucketAnalyticsConfigurationInput) (*GetBucketAnalyticsConfigurationOutput, error) { 1691func (c *S3) GetBucketAnalyticsConfiguration(input *GetBucketAnalyticsConfigurationInput) (*GetBucketAnalyticsConfigurationOutput, error) {
1629 req, out := c.GetBucketAnalyticsConfigurationRequest(input) 1692 req, out := c.GetBucketAnalyticsConfigurationRequest(input)
1630 return out, req.Send() 1693 return out, req.Send()
@@ -1650,19 +1713,18 @@ const opGetBucketCors = "GetBucketCors"
1650 1713
1651// GetBucketCorsRequest generates a "aws/request.Request" representing the 1714// GetBucketCorsRequest generates a "aws/request.Request" representing the
1652// client's request for the GetBucketCors operation. The "output" return 1715// client's request for the GetBucketCors operation. The "output" return
1653// value can be used to capture response data after the request's "Send" method 1716// value will be populated with the request's response once the request completes
1654// is called. 1717// successfuly.
1718//
1719// Use "Send" method on the returned Request to send the API call to the service.
1720// the "output" return value is not valid until after Send returns without error.
1655// 1721//
1656// See GetBucketCors for usage and error information. 1722// See GetBucketCors for more information on using the GetBucketCors
1723// API call, and error handling.
1657// 1724//
1658// Creating a request object using this method should be used when you want to inject 1725// This method is useful when you want to inject custom logic or configuration
1659// custom logic into the request's lifecycle using a custom handler, or if you want to 1726// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1660// access properties on the request object before or after sending the request. If
1661// you just want the service response, call the GetBucketCors method directly
1662// instead.
1663// 1727//
1664// Note: You must call the "Send" method on the returned request object in order
1665// to execute the request.
1666// 1728//
1667// // Example sending a request using the GetBucketCorsRequest method. 1729// // Example sending a request using the GetBucketCorsRequest method.
1668// req, resp := client.GetBucketCorsRequest(params) 1730// req, resp := client.GetBucketCorsRequest(params)
@@ -1672,7 +1734,7 @@ const opGetBucketCors = "GetBucketCors"
1672// fmt.Println(resp) 1734// fmt.Println(resp)
1673// } 1735// }
1674// 1736//
1675// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketCors 1737// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketCors
1676func (c *S3) GetBucketCorsRequest(input *GetBucketCorsInput) (req *request.Request, output *GetBucketCorsOutput) { 1738func (c *S3) GetBucketCorsRequest(input *GetBucketCorsInput) (req *request.Request, output *GetBucketCorsOutput) {
1677 op := &request.Operation{ 1739 op := &request.Operation{
1678 Name: opGetBucketCors, 1740 Name: opGetBucketCors,
@@ -1699,7 +1761,7 @@ func (c *S3) GetBucketCorsRequest(input *GetBucketCorsInput) (req *request.Reque
1699// 1761//
1700// See the AWS API reference guide for Amazon Simple Storage Service's 1762// See the AWS API reference guide for Amazon Simple Storage Service's
1701// API operation GetBucketCors for usage and error information. 1763// API operation GetBucketCors for usage and error information.
1702// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketCors 1764// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketCors
1703func (c *S3) GetBucketCors(input *GetBucketCorsInput) (*GetBucketCorsOutput, error) { 1765func (c *S3) GetBucketCors(input *GetBucketCorsInput) (*GetBucketCorsOutput, error) {
1704 req, out := c.GetBucketCorsRequest(input) 1766 req, out := c.GetBucketCorsRequest(input)
1705 return out, req.Send() 1767 return out, req.Send()
@@ -1721,23 +1783,96 @@ func (c *S3) GetBucketCorsWithContext(ctx aws.Context, input *GetBucketCorsInput
1721 return out, req.Send() 1783 return out, req.Send()
1722} 1784}
1723 1785
1786const opGetBucketEncryption = "GetBucketEncryption"
1787
1788// GetBucketEncryptionRequest generates a "aws/request.Request" representing the
1789// client's request for the GetBucketEncryption operation. The "output" return
1790// value will be populated with the request's response once the request completes
1791// successfuly.
1792//
1793// Use "Send" method on the returned Request to send the API call to the service.
1794// the "output" return value is not valid until after Send returns without error.
1795//
1796// See GetBucketEncryption for more information on using the GetBucketEncryption
1797// API call, and error handling.
1798//
1799// This method is useful when you want to inject custom logic or configuration
1800// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1801//
1802//
1803// // Example sending a request using the GetBucketEncryptionRequest method.
1804// req, resp := client.GetBucketEncryptionRequest(params)
1805//
1806// err := req.Send()
1807// if err == nil { // resp is now filled
1808// fmt.Println(resp)
1809// }
1810//
1811// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketEncryption
1812func (c *S3) GetBucketEncryptionRequest(input *GetBucketEncryptionInput) (req *request.Request, output *GetBucketEncryptionOutput) {
1813 op := &request.Operation{
1814 Name: opGetBucketEncryption,
1815 HTTPMethod: "GET",
1816 HTTPPath: "/{Bucket}?encryption",
1817 }
1818
1819 if input == nil {
1820 input = &GetBucketEncryptionInput{}
1821 }
1822
1823 output = &GetBucketEncryptionOutput{}
1824 req = c.newRequest(op, input, output)
1825 return
1826}
1827
1828// GetBucketEncryption API operation for Amazon Simple Storage Service.
1829//
1830// Returns the server-side encryption configuration of a bucket.
1831//
1832// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1833// with awserr.Error's Code and Message methods to get detailed information about
1834// the error.
1835//
1836// See the AWS API reference guide for Amazon Simple Storage Service's
1837// API operation GetBucketEncryption for usage and error information.
1838// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketEncryption
1839func (c *S3) GetBucketEncryption(input *GetBucketEncryptionInput) (*GetBucketEncryptionOutput, error) {
1840 req, out := c.GetBucketEncryptionRequest(input)
1841 return out, req.Send()
1842}
1843
1844// GetBucketEncryptionWithContext is the same as GetBucketEncryption with the addition of
1845// the ability to pass a context and additional request options.
1846//
1847// See GetBucketEncryption for details on how to use this API operation.
1848//
1849// The context must be non-nil and will be used for request cancellation. If
1850// the context is nil a panic will occur. In the future the SDK may create
1851// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1852// for more information on using Contexts.
1853func (c *S3) GetBucketEncryptionWithContext(ctx aws.Context, input *GetBucketEncryptionInput, opts ...request.Option) (*GetBucketEncryptionOutput, error) {
1854 req, out := c.GetBucketEncryptionRequest(input)
1855 req.SetContext(ctx)
1856 req.ApplyOptions(opts...)
1857 return out, req.Send()
1858}
1859
1724const opGetBucketInventoryConfiguration = "GetBucketInventoryConfiguration" 1860const opGetBucketInventoryConfiguration = "GetBucketInventoryConfiguration"
1725 1861
1726// GetBucketInventoryConfigurationRequest generates a "aws/request.Request" representing the 1862// GetBucketInventoryConfigurationRequest generates a "aws/request.Request" representing the
1727// client's request for the GetBucketInventoryConfiguration operation. The "output" return 1863// client's request for the GetBucketInventoryConfiguration operation. The "output" return
1728// value can be used to capture response data after the request's "Send" method 1864// value will be populated with the request's response once the request completes
1729// is called. 1865// successfuly.
1730// 1866//
1731// See GetBucketInventoryConfiguration for usage and error information. 1867// Use "Send" method on the returned Request to send the API call to the service.
1868// the "output" return value is not valid until after Send returns without error.
1732// 1869//
1733// Creating a request object using this method should be used when you want to inject 1870// See GetBucketInventoryConfiguration for more information on using the GetBucketInventoryConfiguration
1734// custom logic into the request's lifecycle using a custom handler, or if you want to 1871// API call, and error handling.
1735// access properties on the request object before or after sending the request. If 1872//
1736// you just want the service response, call the GetBucketInventoryConfiguration method directly 1873// This method is useful when you want to inject custom logic or configuration
1737// instead. 1874// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1738// 1875//
1739// Note: You must call the "Send" method on the returned request object in order
1740// to execute the request.
1741// 1876//
1742// // Example sending a request using the GetBucketInventoryConfigurationRequest method. 1877// // Example sending a request using the GetBucketInventoryConfigurationRequest method.
1743// req, resp := client.GetBucketInventoryConfigurationRequest(params) 1878// req, resp := client.GetBucketInventoryConfigurationRequest(params)
@@ -1747,7 +1882,7 @@ const opGetBucketInventoryConfiguration = "GetBucketInventoryConfiguration"
1747// fmt.Println(resp) 1882// fmt.Println(resp)
1748// } 1883// }
1749// 1884//
1750// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketInventoryConfiguration 1885// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketInventoryConfiguration
1751func (c *S3) GetBucketInventoryConfigurationRequest(input *GetBucketInventoryConfigurationInput) (req *request.Request, output *GetBucketInventoryConfigurationOutput) { 1886func (c *S3) GetBucketInventoryConfigurationRequest(input *GetBucketInventoryConfigurationInput) (req *request.Request, output *GetBucketInventoryConfigurationOutput) {
1752 op := &request.Operation{ 1887 op := &request.Operation{
1753 Name: opGetBucketInventoryConfiguration, 1888 Name: opGetBucketInventoryConfiguration,
@@ -1775,7 +1910,7 @@ func (c *S3) GetBucketInventoryConfigurationRequest(input *GetBucketInventoryCon
1775// 1910//
1776// See the AWS API reference guide for Amazon Simple Storage Service's 1911// See the AWS API reference guide for Amazon Simple Storage Service's
1777// API operation GetBucketInventoryConfiguration for usage and error information. 1912// API operation GetBucketInventoryConfiguration for usage and error information.
1778// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketInventoryConfiguration 1913// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketInventoryConfiguration
1779func (c *S3) GetBucketInventoryConfiguration(input *GetBucketInventoryConfigurationInput) (*GetBucketInventoryConfigurationOutput, error) { 1914func (c *S3) GetBucketInventoryConfiguration(input *GetBucketInventoryConfigurationInput) (*GetBucketInventoryConfigurationOutput, error) {
1780 req, out := c.GetBucketInventoryConfigurationRequest(input) 1915 req, out := c.GetBucketInventoryConfigurationRequest(input)
1781 return out, req.Send() 1916 return out, req.Send()
@@ -1801,19 +1936,18 @@ const opGetBucketLifecycle = "GetBucketLifecycle"
1801 1936
1802// GetBucketLifecycleRequest generates a "aws/request.Request" representing the 1937// GetBucketLifecycleRequest generates a "aws/request.Request" representing the
1803// client's request for the GetBucketLifecycle operation. The "output" return 1938// client's request for the GetBucketLifecycle operation. The "output" return
1804// value can be used to capture response data after the request's "Send" method 1939// value will be populated with the request's response once the request completes
1805// is called. 1940// successfuly.
1941//
1942// Use "Send" method on the returned Request to send the API call to the service.
1943// the "output" return value is not valid until after Send returns without error.
1806// 1944//
1807// See GetBucketLifecycle for usage and error information. 1945// See GetBucketLifecycle for more information on using the GetBucketLifecycle
1946// API call, and error handling.
1808// 1947//
1809// Creating a request object using this method should be used when you want to inject 1948// This method is useful when you want to inject custom logic or configuration
1810// custom logic into the request's lifecycle using a custom handler, or if you want to 1949// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1811// access properties on the request object before or after sending the request. If
1812// you just want the service response, call the GetBucketLifecycle method directly
1813// instead.
1814// 1950//
1815// Note: You must call the "Send" method on the returned request object in order
1816// to execute the request.
1817// 1951//
1818// // Example sending a request using the GetBucketLifecycleRequest method. 1952// // Example sending a request using the GetBucketLifecycleRequest method.
1819// req, resp := client.GetBucketLifecycleRequest(params) 1953// req, resp := client.GetBucketLifecycleRequest(params)
@@ -1823,7 +1957,7 @@ const opGetBucketLifecycle = "GetBucketLifecycle"
1823// fmt.Println(resp) 1957// fmt.Println(resp)
1824// } 1958// }
1825// 1959//
1826// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycle 1960// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycle
1827func (c *S3) GetBucketLifecycleRequest(input *GetBucketLifecycleInput) (req *request.Request, output *GetBucketLifecycleOutput) { 1961func (c *S3) GetBucketLifecycleRequest(input *GetBucketLifecycleInput) (req *request.Request, output *GetBucketLifecycleOutput) {
1828 if c.Client.Config.Logger != nil { 1962 if c.Client.Config.Logger != nil {
1829 c.Client.Config.Logger.Log("This operation, GetBucketLifecycle, has been deprecated") 1963 c.Client.Config.Logger.Log("This operation, GetBucketLifecycle, has been deprecated")
@@ -1853,7 +1987,7 @@ func (c *S3) GetBucketLifecycleRequest(input *GetBucketLifecycleInput) (req *req
1853// 1987//
1854// See the AWS API reference guide for Amazon Simple Storage Service's 1988// See the AWS API reference guide for Amazon Simple Storage Service's
1855// API operation GetBucketLifecycle for usage and error information. 1989// API operation GetBucketLifecycle for usage and error information.
1856// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycle 1990// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycle
1857func (c *S3) GetBucketLifecycle(input *GetBucketLifecycleInput) (*GetBucketLifecycleOutput, error) { 1991func (c *S3) GetBucketLifecycle(input *GetBucketLifecycleInput) (*GetBucketLifecycleOutput, error) {
1858 req, out := c.GetBucketLifecycleRequest(input) 1992 req, out := c.GetBucketLifecycleRequest(input)
1859 return out, req.Send() 1993 return out, req.Send()
@@ -1879,19 +2013,18 @@ const opGetBucketLifecycleConfiguration = "GetBucketLifecycleConfiguration"
1879 2013
1880// GetBucketLifecycleConfigurationRequest generates a "aws/request.Request" representing the 2014// GetBucketLifecycleConfigurationRequest generates a "aws/request.Request" representing the
1881// client's request for the GetBucketLifecycleConfiguration operation. The "output" return 2015// client's request for the GetBucketLifecycleConfiguration operation. The "output" return
1882// value can be used to capture response data after the request's "Send" method 2016// value will be populated with the request's response once the request completes
1883// is called. 2017// successfuly.
1884// 2018//
1885// See GetBucketLifecycleConfiguration for usage and error information. 2019// Use "Send" method on the returned Request to send the API call to the service.
2020// the "output" return value is not valid until after Send returns without error.
1886// 2021//
1887// Creating a request object using this method should be used when you want to inject 2022// See GetBucketLifecycleConfiguration for more information on using the GetBucketLifecycleConfiguration
1888// custom logic into the request's lifecycle using a custom handler, or if you want to 2023// API call, and error handling.
1889// access properties on the request object before or after sending the request. If 2024//
1890// you just want the service response, call the GetBucketLifecycleConfiguration method directly 2025// This method is useful when you want to inject custom logic or configuration
1891// instead. 2026// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1892// 2027//
1893// Note: You must call the "Send" method on the returned request object in order
1894// to execute the request.
1895// 2028//
1896// // Example sending a request using the GetBucketLifecycleConfigurationRequest method. 2029// // Example sending a request using the GetBucketLifecycleConfigurationRequest method.
1897// req, resp := client.GetBucketLifecycleConfigurationRequest(params) 2030// req, resp := client.GetBucketLifecycleConfigurationRequest(params)
@@ -1901,7 +2034,7 @@ const opGetBucketLifecycleConfiguration = "GetBucketLifecycleConfiguration"
1901// fmt.Println(resp) 2034// fmt.Println(resp)
1902// } 2035// }
1903// 2036//
1904// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycleConfiguration 2037// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycleConfiguration
1905func (c *S3) GetBucketLifecycleConfigurationRequest(input *GetBucketLifecycleConfigurationInput) (req *request.Request, output *GetBucketLifecycleConfigurationOutput) { 2038func (c *S3) GetBucketLifecycleConfigurationRequest(input *GetBucketLifecycleConfigurationInput) (req *request.Request, output *GetBucketLifecycleConfigurationOutput) {
1906 op := &request.Operation{ 2039 op := &request.Operation{
1907 Name: opGetBucketLifecycleConfiguration, 2040 Name: opGetBucketLifecycleConfiguration,
@@ -1928,7 +2061,7 @@ func (c *S3) GetBucketLifecycleConfigurationRequest(input *GetBucketLifecycleCon
1928// 2061//
1929// See the AWS API reference guide for Amazon Simple Storage Service's 2062// See the AWS API reference guide for Amazon Simple Storage Service's
1930// API operation GetBucketLifecycleConfiguration for usage and error information. 2063// API operation GetBucketLifecycleConfiguration for usage and error information.
1931// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycleConfiguration 2064// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycleConfiguration
1932func (c *S3) GetBucketLifecycleConfiguration(input *GetBucketLifecycleConfigurationInput) (*GetBucketLifecycleConfigurationOutput, error) { 2065func (c *S3) GetBucketLifecycleConfiguration(input *GetBucketLifecycleConfigurationInput) (*GetBucketLifecycleConfigurationOutput, error) {
1933 req, out := c.GetBucketLifecycleConfigurationRequest(input) 2066 req, out := c.GetBucketLifecycleConfigurationRequest(input)
1934 return out, req.Send() 2067 return out, req.Send()
@@ -1954,19 +2087,18 @@ const opGetBucketLocation = "GetBucketLocation"
1954 2087
1955// GetBucketLocationRequest generates a "aws/request.Request" representing the 2088// GetBucketLocationRequest generates a "aws/request.Request" representing the
1956// client's request for the GetBucketLocation operation. The "output" return 2089// client's request for the GetBucketLocation operation. The "output" return
1957// value can be used to capture response data after the request's "Send" method 2090// value will be populated with the request's response once the request completes
1958// is called. 2091// successfuly.
2092//
2093// Use "Send" method on the returned Request to send the API call to the service.
2094// the "output" return value is not valid until after Send returns without error.
1959// 2095//
1960// See GetBucketLocation for usage and error information. 2096// See GetBucketLocation for more information on using the GetBucketLocation
2097// API call, and error handling.
1961// 2098//
1962// Creating a request object using this method should be used when you want to inject 2099// This method is useful when you want to inject custom logic or configuration
1963// custom logic into the request's lifecycle using a custom handler, or if you want to 2100// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1964// access properties on the request object before or after sending the request. If
1965// you just want the service response, call the GetBucketLocation method directly
1966// instead.
1967// 2101//
1968// Note: You must call the "Send" method on the returned request object in order
1969// to execute the request.
1970// 2102//
1971// // Example sending a request using the GetBucketLocationRequest method. 2103// // Example sending a request using the GetBucketLocationRequest method.
1972// req, resp := client.GetBucketLocationRequest(params) 2104// req, resp := client.GetBucketLocationRequest(params)
@@ -1976,7 +2108,7 @@ const opGetBucketLocation = "GetBucketLocation"
1976// fmt.Println(resp) 2108// fmt.Println(resp)
1977// } 2109// }
1978// 2110//
1979// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLocation 2111// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLocation
1980func (c *S3) GetBucketLocationRequest(input *GetBucketLocationInput) (req *request.Request, output *GetBucketLocationOutput) { 2112func (c *S3) GetBucketLocationRequest(input *GetBucketLocationInput) (req *request.Request, output *GetBucketLocationOutput) {
1981 op := &request.Operation{ 2113 op := &request.Operation{
1982 Name: opGetBucketLocation, 2114 Name: opGetBucketLocation,
@@ -2003,7 +2135,7 @@ func (c *S3) GetBucketLocationRequest(input *GetBucketLocationInput) (req *reque
2003// 2135//
2004// See the AWS API reference guide for Amazon Simple Storage Service's 2136// See the AWS API reference guide for Amazon Simple Storage Service's
2005// API operation GetBucketLocation for usage and error information. 2137// API operation GetBucketLocation for usage and error information.
2006// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLocation 2138// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLocation
2007func (c *S3) GetBucketLocation(input *GetBucketLocationInput) (*GetBucketLocationOutput, error) { 2139func (c *S3) GetBucketLocation(input *GetBucketLocationInput) (*GetBucketLocationOutput, error) {
2008 req, out := c.GetBucketLocationRequest(input) 2140 req, out := c.GetBucketLocationRequest(input)
2009 return out, req.Send() 2141 return out, req.Send()
@@ -2029,19 +2161,18 @@ const opGetBucketLogging = "GetBucketLogging"
2029 2161
2030// GetBucketLoggingRequest generates a "aws/request.Request" representing the 2162// GetBucketLoggingRequest generates a "aws/request.Request" representing the
2031// client's request for the GetBucketLogging operation. The "output" return 2163// client's request for the GetBucketLogging operation. The "output" return
2032// value can be used to capture response data after the request's "Send" method 2164// value will be populated with the request's response once the request completes
2033// is called. 2165// successfuly.
2034// 2166//
2035// See GetBucketLogging for usage and error information. 2167// Use "Send" method on the returned Request to send the API call to the service.
2168// the "output" return value is not valid until after Send returns without error.
2036// 2169//
2037// Creating a request object using this method should be used when you want to inject 2170// See GetBucketLogging for more information on using the GetBucketLogging
2038// custom logic into the request's lifecycle using a custom handler, or if you want to 2171// API call, and error handling.
2039// access properties on the request object before or after sending the request. If 2172//
2040// you just want the service response, call the GetBucketLogging method directly 2173// This method is useful when you want to inject custom logic or configuration
2041// instead. 2174// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2042// 2175//
2043// Note: You must call the "Send" method on the returned request object in order
2044// to execute the request.
2045// 2176//
2046// // Example sending a request using the GetBucketLoggingRequest method. 2177// // Example sending a request using the GetBucketLoggingRequest method.
2047// req, resp := client.GetBucketLoggingRequest(params) 2178// req, resp := client.GetBucketLoggingRequest(params)
@@ -2051,7 +2182,7 @@ const opGetBucketLogging = "GetBucketLogging"
2051// fmt.Println(resp) 2182// fmt.Println(resp)
2052// } 2183// }
2053// 2184//
2054// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLogging 2185// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLogging
2055func (c *S3) GetBucketLoggingRequest(input *GetBucketLoggingInput) (req *request.Request, output *GetBucketLoggingOutput) { 2186func (c *S3) GetBucketLoggingRequest(input *GetBucketLoggingInput) (req *request.Request, output *GetBucketLoggingOutput) {
2056 op := &request.Operation{ 2187 op := &request.Operation{
2057 Name: opGetBucketLogging, 2188 Name: opGetBucketLogging,
@@ -2079,7 +2210,7 @@ func (c *S3) GetBucketLoggingRequest(input *GetBucketLoggingInput) (req *request
2079// 2210//
2080// See the AWS API reference guide for Amazon Simple Storage Service's 2211// See the AWS API reference guide for Amazon Simple Storage Service's
2081// API operation GetBucketLogging for usage and error information. 2212// API operation GetBucketLogging for usage and error information.
2082// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLogging 2213// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLogging
2083func (c *S3) GetBucketLogging(input *GetBucketLoggingInput) (*GetBucketLoggingOutput, error) { 2214func (c *S3) GetBucketLogging(input *GetBucketLoggingInput) (*GetBucketLoggingOutput, error) {
2084 req, out := c.GetBucketLoggingRequest(input) 2215 req, out := c.GetBucketLoggingRequest(input)
2085 return out, req.Send() 2216 return out, req.Send()
@@ -2105,19 +2236,18 @@ const opGetBucketMetricsConfiguration = "GetBucketMetricsConfiguration"
2105 2236
2106// GetBucketMetricsConfigurationRequest generates a "aws/request.Request" representing the 2237// GetBucketMetricsConfigurationRequest generates a "aws/request.Request" representing the
2107// client's request for the GetBucketMetricsConfiguration operation. The "output" return 2238// client's request for the GetBucketMetricsConfiguration operation. The "output" return
2108// value can be used to capture response data after the request's "Send" method 2239// value will be populated with the request's response once the request completes
2109// is called. 2240// successfuly.
2241//
2242// Use "Send" method on the returned Request to send the API call to the service.
2243// the "output" return value is not valid until after Send returns without error.
2110// 2244//
2111// See GetBucketMetricsConfiguration for usage and error information. 2245// See GetBucketMetricsConfiguration for more information on using the GetBucketMetricsConfiguration
2246// API call, and error handling.
2112// 2247//
2113// Creating a request object using this method should be used when you want to inject 2248// This method is useful when you want to inject custom logic or configuration
2114// custom logic into the request's lifecycle using a custom handler, or if you want to 2249// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2115// access properties on the request object before or after sending the request. If
2116// you just want the service response, call the GetBucketMetricsConfiguration method directly
2117// instead.
2118// 2250//
2119// Note: You must call the "Send" method on the returned request object in order
2120// to execute the request.
2121// 2251//
2122// // Example sending a request using the GetBucketMetricsConfigurationRequest method. 2252// // Example sending a request using the GetBucketMetricsConfigurationRequest method.
2123// req, resp := client.GetBucketMetricsConfigurationRequest(params) 2253// req, resp := client.GetBucketMetricsConfigurationRequest(params)
@@ -2127,7 +2257,7 @@ const opGetBucketMetricsConfiguration = "GetBucketMetricsConfiguration"
2127// fmt.Println(resp) 2257// fmt.Println(resp)
2128// } 2258// }
2129// 2259//
2130// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketMetricsConfiguration 2260// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketMetricsConfiguration
2131func (c *S3) GetBucketMetricsConfigurationRequest(input *GetBucketMetricsConfigurationInput) (req *request.Request, output *GetBucketMetricsConfigurationOutput) { 2261func (c *S3) GetBucketMetricsConfigurationRequest(input *GetBucketMetricsConfigurationInput) (req *request.Request, output *GetBucketMetricsConfigurationOutput) {
2132 op := &request.Operation{ 2262 op := &request.Operation{
2133 Name: opGetBucketMetricsConfiguration, 2263 Name: opGetBucketMetricsConfiguration,
@@ -2155,7 +2285,7 @@ func (c *S3) GetBucketMetricsConfigurationRequest(input *GetBucketMetricsConfigu
2155// 2285//
2156// See the AWS API reference guide for Amazon Simple Storage Service's 2286// See the AWS API reference guide for Amazon Simple Storage Service's
2157// API operation GetBucketMetricsConfiguration for usage and error information. 2287// API operation GetBucketMetricsConfiguration for usage and error information.
2158// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketMetricsConfiguration 2288// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketMetricsConfiguration
2159func (c *S3) GetBucketMetricsConfiguration(input *GetBucketMetricsConfigurationInput) (*GetBucketMetricsConfigurationOutput, error) { 2289func (c *S3) GetBucketMetricsConfiguration(input *GetBucketMetricsConfigurationInput) (*GetBucketMetricsConfigurationOutput, error) {
2160 req, out := c.GetBucketMetricsConfigurationRequest(input) 2290 req, out := c.GetBucketMetricsConfigurationRequest(input)
2161 return out, req.Send() 2291 return out, req.Send()
@@ -2181,19 +2311,18 @@ const opGetBucketNotification = "GetBucketNotification"
2181 2311
2182// GetBucketNotificationRequest generates a "aws/request.Request" representing the 2312// GetBucketNotificationRequest generates a "aws/request.Request" representing the
2183// client's request for the GetBucketNotification operation. The "output" return 2313// client's request for the GetBucketNotification operation. The "output" return
2184// value can be used to capture response data after the request's "Send" method 2314// value will be populated with the request's response once the request completes
2185// is called. 2315// successfuly.
2186// 2316//
2187// See GetBucketNotification for usage and error information. 2317// Use "Send" method on the returned Request to send the API call to the service.
2318// the "output" return value is not valid until after Send returns without error.
2188// 2319//
2189// Creating a request object using this method should be used when you want to inject 2320// See GetBucketNotification for more information on using the GetBucketNotification
2190// custom logic into the request's lifecycle using a custom handler, or if you want to 2321// API call, and error handling.
2191// access properties on the request object before or after sending the request. If 2322//
2192// you just want the service response, call the GetBucketNotification method directly 2323// This method is useful when you want to inject custom logic or configuration
2193// instead. 2324// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2194// 2325//
2195// Note: You must call the "Send" method on the returned request object in order
2196// to execute the request.
2197// 2326//
2198// // Example sending a request using the GetBucketNotificationRequest method. 2327// // Example sending a request using the GetBucketNotificationRequest method.
2199// req, resp := client.GetBucketNotificationRequest(params) 2328// req, resp := client.GetBucketNotificationRequest(params)
@@ -2203,7 +2332,7 @@ const opGetBucketNotification = "GetBucketNotification"
2203// fmt.Println(resp) 2332// fmt.Println(resp)
2204// } 2333// }
2205// 2334//
2206// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketNotification 2335// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketNotification
2207func (c *S3) GetBucketNotificationRequest(input *GetBucketNotificationConfigurationRequest) (req *request.Request, output *NotificationConfigurationDeprecated) { 2336func (c *S3) GetBucketNotificationRequest(input *GetBucketNotificationConfigurationRequest) (req *request.Request, output *NotificationConfigurationDeprecated) {
2208 if c.Client.Config.Logger != nil { 2337 if c.Client.Config.Logger != nil {
2209 c.Client.Config.Logger.Log("This operation, GetBucketNotification, has been deprecated") 2338 c.Client.Config.Logger.Log("This operation, GetBucketNotification, has been deprecated")
@@ -2233,7 +2362,7 @@ func (c *S3) GetBucketNotificationRequest(input *GetBucketNotificationConfigurat
2233// 2362//
2234// See the AWS API reference guide for Amazon Simple Storage Service's 2363// See the AWS API reference guide for Amazon Simple Storage Service's
2235// API operation GetBucketNotification for usage and error information. 2364// API operation GetBucketNotification for usage and error information.
2236// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketNotification 2365// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketNotification
2237func (c *S3) GetBucketNotification(input *GetBucketNotificationConfigurationRequest) (*NotificationConfigurationDeprecated, error) { 2366func (c *S3) GetBucketNotification(input *GetBucketNotificationConfigurationRequest) (*NotificationConfigurationDeprecated, error) {
2238 req, out := c.GetBucketNotificationRequest(input) 2367 req, out := c.GetBucketNotificationRequest(input)
2239 return out, req.Send() 2368 return out, req.Send()
@@ -2259,19 +2388,18 @@ const opGetBucketNotificationConfiguration = "GetBucketNotificationConfiguration
2259 2388
2260// GetBucketNotificationConfigurationRequest generates a "aws/request.Request" representing the 2389// GetBucketNotificationConfigurationRequest generates a "aws/request.Request" representing the
2261// client's request for the GetBucketNotificationConfiguration operation. The "output" return 2390// client's request for the GetBucketNotificationConfiguration operation. The "output" return
2262// value can be used to capture response data after the request's "Send" method 2391// value will be populated with the request's response once the request completes
2263// is called. 2392// successfuly.
2393//
2394// Use "Send" method on the returned Request to send the API call to the service.
2395// the "output" return value is not valid until after Send returns without error.
2264// 2396//
2265// See GetBucketNotificationConfiguration for usage and error information. 2397// See GetBucketNotificationConfiguration for more information on using the GetBucketNotificationConfiguration
2398// API call, and error handling.
2266// 2399//
2267// Creating a request object using this method should be used when you want to inject 2400// This method is useful when you want to inject custom logic or configuration
2268// custom logic into the request's lifecycle using a custom handler, or if you want to 2401// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2269// access properties on the request object before or after sending the request. If
2270// you just want the service response, call the GetBucketNotificationConfiguration method directly
2271// instead.
2272// 2402//
2273// Note: You must call the "Send" method on the returned request object in order
2274// to execute the request.
2275// 2403//
2276// // Example sending a request using the GetBucketNotificationConfigurationRequest method. 2404// // Example sending a request using the GetBucketNotificationConfigurationRequest method.
2277// req, resp := client.GetBucketNotificationConfigurationRequest(params) 2405// req, resp := client.GetBucketNotificationConfigurationRequest(params)
@@ -2281,7 +2409,7 @@ const opGetBucketNotificationConfiguration = "GetBucketNotificationConfiguration
2281// fmt.Println(resp) 2409// fmt.Println(resp)
2282// } 2410// }
2283// 2411//
2284// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketNotificationConfiguration 2412// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketNotificationConfiguration
2285func (c *S3) GetBucketNotificationConfigurationRequest(input *GetBucketNotificationConfigurationRequest) (req *request.Request, output *NotificationConfiguration) { 2413func (c *S3) GetBucketNotificationConfigurationRequest(input *GetBucketNotificationConfigurationRequest) (req *request.Request, output *NotificationConfiguration) {
2286 op := &request.Operation{ 2414 op := &request.Operation{
2287 Name: opGetBucketNotificationConfiguration, 2415 Name: opGetBucketNotificationConfiguration,
@@ -2308,7 +2436,7 @@ func (c *S3) GetBucketNotificationConfigurationRequest(input *GetBucketNotificat
2308// 2436//
2309// See the AWS API reference guide for Amazon Simple Storage Service's 2437// See the AWS API reference guide for Amazon Simple Storage Service's
2310// API operation GetBucketNotificationConfiguration for usage and error information. 2438// API operation GetBucketNotificationConfiguration for usage and error information.
2311// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketNotificationConfiguration 2439// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketNotificationConfiguration
2312func (c *S3) GetBucketNotificationConfiguration(input *GetBucketNotificationConfigurationRequest) (*NotificationConfiguration, error) { 2440func (c *S3) GetBucketNotificationConfiguration(input *GetBucketNotificationConfigurationRequest) (*NotificationConfiguration, error) {
2313 req, out := c.GetBucketNotificationConfigurationRequest(input) 2441 req, out := c.GetBucketNotificationConfigurationRequest(input)
2314 return out, req.Send() 2442 return out, req.Send()
@@ -2334,19 +2462,18 @@ const opGetBucketPolicy = "GetBucketPolicy"
2334 2462
2335// GetBucketPolicyRequest generates a "aws/request.Request" representing the 2463// GetBucketPolicyRequest generates a "aws/request.Request" representing the
2336// client's request for the GetBucketPolicy operation. The "output" return 2464// client's request for the GetBucketPolicy operation. The "output" return
2337// value can be used to capture response data after the request's "Send" method 2465// value will be populated with the request's response once the request completes
2338// is called. 2466// successfuly.
2339// 2467//
2340// See GetBucketPolicy for usage and error information. 2468// Use "Send" method on the returned Request to send the API call to the service.
2469// the "output" return value is not valid until after Send returns without error.
2341// 2470//
2342// Creating a request object using this method should be used when you want to inject 2471// See GetBucketPolicy for more information on using the GetBucketPolicy
2343// custom logic into the request's lifecycle using a custom handler, or if you want to 2472// API call, and error handling.
2344// access properties on the request object before or after sending the request. If 2473//
2345// you just want the service response, call the GetBucketPolicy method directly 2474// This method is useful when you want to inject custom logic or configuration
2346// instead. 2475// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2347// 2476//
2348// Note: You must call the "Send" method on the returned request object in order
2349// to execute the request.
2350// 2477//
2351// // Example sending a request using the GetBucketPolicyRequest method. 2478// // Example sending a request using the GetBucketPolicyRequest method.
2352// req, resp := client.GetBucketPolicyRequest(params) 2479// req, resp := client.GetBucketPolicyRequest(params)
@@ -2356,7 +2483,7 @@ const opGetBucketPolicy = "GetBucketPolicy"
2356// fmt.Println(resp) 2483// fmt.Println(resp)
2357// } 2484// }
2358// 2485//
2359// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketPolicy 2486// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketPolicy
2360func (c *S3) GetBucketPolicyRequest(input *GetBucketPolicyInput) (req *request.Request, output *GetBucketPolicyOutput) { 2487func (c *S3) GetBucketPolicyRequest(input *GetBucketPolicyInput) (req *request.Request, output *GetBucketPolicyOutput) {
2361 op := &request.Operation{ 2488 op := &request.Operation{
2362 Name: opGetBucketPolicy, 2489 Name: opGetBucketPolicy,
@@ -2383,7 +2510,7 @@ func (c *S3) GetBucketPolicyRequest(input *GetBucketPolicyInput) (req *request.R
2383// 2510//
2384// See the AWS API reference guide for Amazon Simple Storage Service's 2511// See the AWS API reference guide for Amazon Simple Storage Service's
2385// API operation GetBucketPolicy for usage and error information. 2512// API operation GetBucketPolicy for usage and error information.
2386// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketPolicy 2513// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketPolicy
2387func (c *S3) GetBucketPolicy(input *GetBucketPolicyInput) (*GetBucketPolicyOutput, error) { 2514func (c *S3) GetBucketPolicy(input *GetBucketPolicyInput) (*GetBucketPolicyOutput, error) {
2388 req, out := c.GetBucketPolicyRequest(input) 2515 req, out := c.GetBucketPolicyRequest(input)
2389 return out, req.Send() 2516 return out, req.Send()
@@ -2409,19 +2536,18 @@ const opGetBucketReplication = "GetBucketReplication"
2409 2536
2410// GetBucketReplicationRequest generates a "aws/request.Request" representing the 2537// GetBucketReplicationRequest generates a "aws/request.Request" representing the
2411// client's request for the GetBucketReplication operation. The "output" return 2538// client's request for the GetBucketReplication operation. The "output" return
2412// value can be used to capture response data after the request's "Send" method 2539// value will be populated with the request's response once the request completes
2413// is called. 2540// successfuly.
2541//
2542// Use "Send" method on the returned Request to send the API call to the service.
2543// the "output" return value is not valid until after Send returns without error.
2414// 2544//
2415// See GetBucketReplication for usage and error information. 2545// See GetBucketReplication for more information on using the GetBucketReplication
2546// API call, and error handling.
2416// 2547//
2417// Creating a request object using this method should be used when you want to inject 2548// This method is useful when you want to inject custom logic or configuration
2418// custom logic into the request's lifecycle using a custom handler, or if you want to 2549// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2419// access properties on the request object before or after sending the request. If
2420// you just want the service response, call the GetBucketReplication method directly
2421// instead.
2422// 2550//
2423// Note: You must call the "Send" method on the returned request object in order
2424// to execute the request.
2425// 2551//
2426// // Example sending a request using the GetBucketReplicationRequest method. 2552// // Example sending a request using the GetBucketReplicationRequest method.
2427// req, resp := client.GetBucketReplicationRequest(params) 2553// req, resp := client.GetBucketReplicationRequest(params)
@@ -2431,7 +2557,7 @@ const opGetBucketReplication = "GetBucketReplication"
2431// fmt.Println(resp) 2557// fmt.Println(resp)
2432// } 2558// }
2433// 2559//
2434// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketReplication 2560// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketReplication
2435func (c *S3) GetBucketReplicationRequest(input *GetBucketReplicationInput) (req *request.Request, output *GetBucketReplicationOutput) { 2561func (c *S3) GetBucketReplicationRequest(input *GetBucketReplicationInput) (req *request.Request, output *GetBucketReplicationOutput) {
2436 op := &request.Operation{ 2562 op := &request.Operation{
2437 Name: opGetBucketReplication, 2563 Name: opGetBucketReplication,
@@ -2458,7 +2584,7 @@ func (c *S3) GetBucketReplicationRequest(input *GetBucketReplicationInput) (req
2458// 2584//
2459// See the AWS API reference guide for Amazon Simple Storage Service's 2585// See the AWS API reference guide for Amazon Simple Storage Service's
2460// API operation GetBucketReplication for usage and error information. 2586// API operation GetBucketReplication for usage and error information.
2461// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketReplication 2587// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketReplication
2462func (c *S3) GetBucketReplication(input *GetBucketReplicationInput) (*GetBucketReplicationOutput, error) { 2588func (c *S3) GetBucketReplication(input *GetBucketReplicationInput) (*GetBucketReplicationOutput, error) {
2463 req, out := c.GetBucketReplicationRequest(input) 2589 req, out := c.GetBucketReplicationRequest(input)
2464 return out, req.Send() 2590 return out, req.Send()
@@ -2484,19 +2610,18 @@ const opGetBucketRequestPayment = "GetBucketRequestPayment"
2484 2610
2485// GetBucketRequestPaymentRequest generates a "aws/request.Request" representing the 2611// GetBucketRequestPaymentRequest generates a "aws/request.Request" representing the
2486// client's request for the GetBucketRequestPayment operation. The "output" return 2612// client's request for the GetBucketRequestPayment operation. The "output" return
2487// value can be used to capture response data after the request's "Send" method 2613// value will be populated with the request's response once the request completes
2488// is called. 2614// successfuly.
2489// 2615//
2490// See GetBucketRequestPayment for usage and error information. 2616// Use "Send" method on the returned Request to send the API call to the service.
2617// the "output" return value is not valid until after Send returns without error.
2491// 2618//
2492// Creating a request object using this method should be used when you want to inject 2619// See GetBucketRequestPayment for more information on using the GetBucketRequestPayment
2493// custom logic into the request's lifecycle using a custom handler, or if you want to 2620// API call, and error handling.
2494// access properties on the request object before or after sending the request. If 2621//
2495// you just want the service response, call the GetBucketRequestPayment method directly 2622// This method is useful when you want to inject custom logic or configuration
2496// instead. 2623// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2497// 2624//
2498// Note: You must call the "Send" method on the returned request object in order
2499// to execute the request.
2500// 2625//
2501// // Example sending a request using the GetBucketRequestPaymentRequest method. 2626// // Example sending a request using the GetBucketRequestPaymentRequest method.
2502// req, resp := client.GetBucketRequestPaymentRequest(params) 2627// req, resp := client.GetBucketRequestPaymentRequest(params)
@@ -2506,7 +2631,7 @@ const opGetBucketRequestPayment = "GetBucketRequestPayment"
2506// fmt.Println(resp) 2631// fmt.Println(resp)
2507// } 2632// }
2508// 2633//
2509// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketRequestPayment 2634// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketRequestPayment
2510func (c *S3) GetBucketRequestPaymentRequest(input *GetBucketRequestPaymentInput) (req *request.Request, output *GetBucketRequestPaymentOutput) { 2635func (c *S3) GetBucketRequestPaymentRequest(input *GetBucketRequestPaymentInput) (req *request.Request, output *GetBucketRequestPaymentOutput) {
2511 op := &request.Operation{ 2636 op := &request.Operation{
2512 Name: opGetBucketRequestPayment, 2637 Name: opGetBucketRequestPayment,
@@ -2533,7 +2658,7 @@ func (c *S3) GetBucketRequestPaymentRequest(input *GetBucketRequestPaymentInput)
2533// 2658//
2534// See the AWS API reference guide for Amazon Simple Storage Service's 2659// See the AWS API reference guide for Amazon Simple Storage Service's
2535// API operation GetBucketRequestPayment for usage and error information. 2660// API operation GetBucketRequestPayment for usage and error information.
2536// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketRequestPayment 2661// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketRequestPayment
2537func (c *S3) GetBucketRequestPayment(input *GetBucketRequestPaymentInput) (*GetBucketRequestPaymentOutput, error) { 2662func (c *S3) GetBucketRequestPayment(input *GetBucketRequestPaymentInput) (*GetBucketRequestPaymentOutput, error) {
2538 req, out := c.GetBucketRequestPaymentRequest(input) 2663 req, out := c.GetBucketRequestPaymentRequest(input)
2539 return out, req.Send() 2664 return out, req.Send()
@@ -2559,19 +2684,18 @@ const opGetBucketTagging = "GetBucketTagging"
2559 2684
2560// GetBucketTaggingRequest generates a "aws/request.Request" representing the 2685// GetBucketTaggingRequest generates a "aws/request.Request" representing the
2561// client's request for the GetBucketTagging operation. The "output" return 2686// client's request for the GetBucketTagging operation. The "output" return
2562// value can be used to capture response data after the request's "Send" method 2687// value will be populated with the request's response once the request completes
2563// is called. 2688// successfuly.
2689//
2690// Use "Send" method on the returned Request to send the API call to the service.
2691// the "output" return value is not valid until after Send returns without error.
2564// 2692//
2565// See GetBucketTagging for usage and error information. 2693// See GetBucketTagging for more information on using the GetBucketTagging
2694// API call, and error handling.
2566// 2695//
2567// Creating a request object using this method should be used when you want to inject 2696// This method is useful when you want to inject custom logic or configuration
2568// custom logic into the request's lifecycle using a custom handler, or if you want to 2697// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2569// access properties on the request object before or after sending the request. If
2570// you just want the service response, call the GetBucketTagging method directly
2571// instead.
2572// 2698//
2573// Note: You must call the "Send" method on the returned request object in order
2574// to execute the request.
2575// 2699//
2576// // Example sending a request using the GetBucketTaggingRequest method. 2700// // Example sending a request using the GetBucketTaggingRequest method.
2577// req, resp := client.GetBucketTaggingRequest(params) 2701// req, resp := client.GetBucketTaggingRequest(params)
@@ -2581,7 +2705,7 @@ const opGetBucketTagging = "GetBucketTagging"
2581// fmt.Println(resp) 2705// fmt.Println(resp)
2582// } 2706// }
2583// 2707//
2584// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketTagging 2708// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketTagging
2585func (c *S3) GetBucketTaggingRequest(input *GetBucketTaggingInput) (req *request.Request, output *GetBucketTaggingOutput) { 2709func (c *S3) GetBucketTaggingRequest(input *GetBucketTaggingInput) (req *request.Request, output *GetBucketTaggingOutput) {
2586 op := &request.Operation{ 2710 op := &request.Operation{
2587 Name: opGetBucketTagging, 2711 Name: opGetBucketTagging,
@@ -2608,7 +2732,7 @@ func (c *S3) GetBucketTaggingRequest(input *GetBucketTaggingInput) (req *request
2608// 2732//
2609// See the AWS API reference guide for Amazon Simple Storage Service's 2733// See the AWS API reference guide for Amazon Simple Storage Service's
2610// API operation GetBucketTagging for usage and error information. 2734// API operation GetBucketTagging for usage and error information.
2611// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketTagging 2735// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketTagging
2612func (c *S3) GetBucketTagging(input *GetBucketTaggingInput) (*GetBucketTaggingOutput, error) { 2736func (c *S3) GetBucketTagging(input *GetBucketTaggingInput) (*GetBucketTaggingOutput, error) {
2613 req, out := c.GetBucketTaggingRequest(input) 2737 req, out := c.GetBucketTaggingRequest(input)
2614 return out, req.Send() 2738 return out, req.Send()
@@ -2634,19 +2758,18 @@ const opGetBucketVersioning = "GetBucketVersioning"
2634 2758
2635// GetBucketVersioningRequest generates a "aws/request.Request" representing the 2759// GetBucketVersioningRequest generates a "aws/request.Request" representing the
2636// client's request for the GetBucketVersioning operation. The "output" return 2760// client's request for the GetBucketVersioning operation. The "output" return
2637// value can be used to capture response data after the request's "Send" method 2761// value will be populated with the request's response once the request completes
2638// is called. 2762// successfuly.
2639// 2763//
2640// See GetBucketVersioning for usage and error information. 2764// Use "Send" method on the returned Request to send the API call to the service.
2765// the "output" return value is not valid until after Send returns without error.
2641// 2766//
2642// Creating a request object using this method should be used when you want to inject 2767// See GetBucketVersioning for more information on using the GetBucketVersioning
2643// custom logic into the request's lifecycle using a custom handler, or if you want to 2768// API call, and error handling.
2644// access properties on the request object before or after sending the request. If 2769//
2645// you just want the service response, call the GetBucketVersioning method directly 2770// This method is useful when you want to inject custom logic or configuration
2646// instead. 2771// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2647// 2772//
2648// Note: You must call the "Send" method on the returned request object in order
2649// to execute the request.
2650// 2773//
2651// // Example sending a request using the GetBucketVersioningRequest method. 2774// // Example sending a request using the GetBucketVersioningRequest method.
2652// req, resp := client.GetBucketVersioningRequest(params) 2775// req, resp := client.GetBucketVersioningRequest(params)
@@ -2656,7 +2779,7 @@ const opGetBucketVersioning = "GetBucketVersioning"
2656// fmt.Println(resp) 2779// fmt.Println(resp)
2657// } 2780// }
2658// 2781//
2659// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketVersioning 2782// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketVersioning
2660func (c *S3) GetBucketVersioningRequest(input *GetBucketVersioningInput) (req *request.Request, output *GetBucketVersioningOutput) { 2783func (c *S3) GetBucketVersioningRequest(input *GetBucketVersioningInput) (req *request.Request, output *GetBucketVersioningOutput) {
2661 op := &request.Operation{ 2784 op := &request.Operation{
2662 Name: opGetBucketVersioning, 2785 Name: opGetBucketVersioning,
@@ -2683,7 +2806,7 @@ func (c *S3) GetBucketVersioningRequest(input *GetBucketVersioningInput) (req *r
2683// 2806//
2684// See the AWS API reference guide for Amazon Simple Storage Service's 2807// See the AWS API reference guide for Amazon Simple Storage Service's
2685// API operation GetBucketVersioning for usage and error information. 2808// API operation GetBucketVersioning for usage and error information.
2686// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketVersioning 2809// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketVersioning
2687func (c *S3) GetBucketVersioning(input *GetBucketVersioningInput) (*GetBucketVersioningOutput, error) { 2810func (c *S3) GetBucketVersioning(input *GetBucketVersioningInput) (*GetBucketVersioningOutput, error) {
2688 req, out := c.GetBucketVersioningRequest(input) 2811 req, out := c.GetBucketVersioningRequest(input)
2689 return out, req.Send() 2812 return out, req.Send()
@@ -2709,19 +2832,18 @@ const opGetBucketWebsite = "GetBucketWebsite"
2709 2832
2710// GetBucketWebsiteRequest generates a "aws/request.Request" representing the 2833// GetBucketWebsiteRequest generates a "aws/request.Request" representing the
2711// client's request for the GetBucketWebsite operation. The "output" return 2834// client's request for the GetBucketWebsite operation. The "output" return
2712// value can be used to capture response data after the request's "Send" method 2835// value will be populated with the request's response once the request completes
2713// is called. 2836// successfuly.
2837//
2838// Use "Send" method on the returned Request to send the API call to the service.
2839// the "output" return value is not valid until after Send returns without error.
2714// 2840//
2715// See GetBucketWebsite for usage and error information. 2841// See GetBucketWebsite for more information on using the GetBucketWebsite
2842// API call, and error handling.
2716// 2843//
2717// Creating a request object using this method should be used when you want to inject 2844// This method is useful when you want to inject custom logic or configuration
2718// custom logic into the request's lifecycle using a custom handler, or if you want to 2845// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2719// access properties on the request object before or after sending the request. If
2720// you just want the service response, call the GetBucketWebsite method directly
2721// instead.
2722// 2846//
2723// Note: You must call the "Send" method on the returned request object in order
2724// to execute the request.
2725// 2847//
2726// // Example sending a request using the GetBucketWebsiteRequest method. 2848// // Example sending a request using the GetBucketWebsiteRequest method.
2727// req, resp := client.GetBucketWebsiteRequest(params) 2849// req, resp := client.GetBucketWebsiteRequest(params)
@@ -2731,7 +2853,7 @@ const opGetBucketWebsite = "GetBucketWebsite"
2731// fmt.Println(resp) 2853// fmt.Println(resp)
2732// } 2854// }
2733// 2855//
2734// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketWebsite 2856// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketWebsite
2735func (c *S3) GetBucketWebsiteRequest(input *GetBucketWebsiteInput) (req *request.Request, output *GetBucketWebsiteOutput) { 2857func (c *S3) GetBucketWebsiteRequest(input *GetBucketWebsiteInput) (req *request.Request, output *GetBucketWebsiteOutput) {
2736 op := &request.Operation{ 2858 op := &request.Operation{
2737 Name: opGetBucketWebsite, 2859 Name: opGetBucketWebsite,
@@ -2758,7 +2880,7 @@ func (c *S3) GetBucketWebsiteRequest(input *GetBucketWebsiteInput) (req *request
2758// 2880//
2759// See the AWS API reference guide for Amazon Simple Storage Service's 2881// See the AWS API reference guide for Amazon Simple Storage Service's
2760// API operation GetBucketWebsite for usage and error information. 2882// API operation GetBucketWebsite for usage and error information.
2761// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketWebsite 2883// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketWebsite
2762func (c *S3) GetBucketWebsite(input *GetBucketWebsiteInput) (*GetBucketWebsiteOutput, error) { 2884func (c *S3) GetBucketWebsite(input *GetBucketWebsiteInput) (*GetBucketWebsiteOutput, error) {
2763 req, out := c.GetBucketWebsiteRequest(input) 2885 req, out := c.GetBucketWebsiteRequest(input)
2764 return out, req.Send() 2886 return out, req.Send()
@@ -2784,19 +2906,18 @@ const opGetObject = "GetObject"
2784 2906
2785// GetObjectRequest generates a "aws/request.Request" representing the 2907// GetObjectRequest generates a "aws/request.Request" representing the
2786// client's request for the GetObject operation. The "output" return 2908// client's request for the GetObject operation. The "output" return
2787// value can be used to capture response data after the request's "Send" method 2909// value will be populated with the request's response once the request completes
2788// is called. 2910// successfuly.
2911//
2912// Use "Send" method on the returned Request to send the API call to the service.
2913// the "output" return value is not valid until after Send returns without error.
2789// 2914//
2790// See GetObject for usage and error information. 2915// See GetObject for more information on using the GetObject
2916// API call, and error handling.
2791// 2917//
2792// Creating a request object using this method should be used when you want to inject 2918// This method is useful when you want to inject custom logic or configuration
2793// custom logic into the request's lifecycle using a custom handler, or if you want to 2919// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2794// access properties on the request object before or after sending the request. If
2795// you just want the service response, call the GetObject method directly
2796// instead.
2797// 2920//
2798// Note: You must call the "Send" method on the returned request object in order
2799// to execute the request.
2800// 2921//
2801// // Example sending a request using the GetObjectRequest method. 2922// // Example sending a request using the GetObjectRequest method.
2802// req, resp := client.GetObjectRequest(params) 2923// req, resp := client.GetObjectRequest(params)
@@ -2806,7 +2927,7 @@ const opGetObject = "GetObject"
2806// fmt.Println(resp) 2927// fmt.Println(resp)
2807// } 2928// }
2808// 2929//
2809// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObject 2930// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObject
2810func (c *S3) GetObjectRequest(input *GetObjectInput) (req *request.Request, output *GetObjectOutput) { 2931func (c *S3) GetObjectRequest(input *GetObjectInput) (req *request.Request, output *GetObjectOutput) {
2811 op := &request.Operation{ 2932 op := &request.Operation{
2812 Name: opGetObject, 2933 Name: opGetObject,
@@ -2838,7 +2959,7 @@ func (c *S3) GetObjectRequest(input *GetObjectInput) (req *request.Request, outp
2838// * ErrCodeNoSuchKey "NoSuchKey" 2959// * ErrCodeNoSuchKey "NoSuchKey"
2839// The specified key does not exist. 2960// The specified key does not exist.
2840// 2961//
2841// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObject 2962// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObject
2842func (c *S3) GetObject(input *GetObjectInput) (*GetObjectOutput, error) { 2963func (c *S3) GetObject(input *GetObjectInput) (*GetObjectOutput, error) {
2843 req, out := c.GetObjectRequest(input) 2964 req, out := c.GetObjectRequest(input)
2844 return out, req.Send() 2965 return out, req.Send()
@@ -2864,19 +2985,18 @@ const opGetObjectAcl = "GetObjectAcl"
2864 2985
2865// GetObjectAclRequest generates a "aws/request.Request" representing the 2986// GetObjectAclRequest generates a "aws/request.Request" representing the
2866// client's request for the GetObjectAcl operation. The "output" return 2987// client's request for the GetObjectAcl operation. The "output" return
2867// value can be used to capture response data after the request's "Send" method 2988// value will be populated with the request's response once the request completes
2868// is called. 2989// successfuly.
2869// 2990//
2870// See GetObjectAcl for usage and error information. 2991// Use "Send" method on the returned Request to send the API call to the service.
2992// the "output" return value is not valid until after Send returns without error.
2871// 2993//
2872// Creating a request object using this method should be used when you want to inject 2994// See GetObjectAcl for more information on using the GetObjectAcl
2873// custom logic into the request's lifecycle using a custom handler, or if you want to 2995// API call, and error handling.
2874// access properties on the request object before or after sending the request. If 2996//
2875// you just want the service response, call the GetObjectAcl method directly 2997// This method is useful when you want to inject custom logic or configuration
2876// instead. 2998// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2877// 2999//
2878// Note: You must call the "Send" method on the returned request object in order
2879// to execute the request.
2880// 3000//
2881// // Example sending a request using the GetObjectAclRequest method. 3001// // Example sending a request using the GetObjectAclRequest method.
2882// req, resp := client.GetObjectAclRequest(params) 3002// req, resp := client.GetObjectAclRequest(params)
@@ -2886,7 +3006,7 @@ const opGetObjectAcl = "GetObjectAcl"
2886// fmt.Println(resp) 3006// fmt.Println(resp)
2887// } 3007// }
2888// 3008//
2889// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectAcl 3009// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectAcl
2890func (c *S3) GetObjectAclRequest(input *GetObjectAclInput) (req *request.Request, output *GetObjectAclOutput) { 3010func (c *S3) GetObjectAclRequest(input *GetObjectAclInput) (req *request.Request, output *GetObjectAclOutput) {
2891 op := &request.Operation{ 3011 op := &request.Operation{
2892 Name: opGetObjectAcl, 3012 Name: opGetObjectAcl,
@@ -2918,7 +3038,7 @@ func (c *S3) GetObjectAclRequest(input *GetObjectAclInput) (req *request.Request
2918// * ErrCodeNoSuchKey "NoSuchKey" 3038// * ErrCodeNoSuchKey "NoSuchKey"
2919// The specified key does not exist. 3039// The specified key does not exist.
2920// 3040//
2921// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectAcl 3041// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectAcl
2922func (c *S3) GetObjectAcl(input *GetObjectAclInput) (*GetObjectAclOutput, error) { 3042func (c *S3) GetObjectAcl(input *GetObjectAclInput) (*GetObjectAclOutput, error) {
2923 req, out := c.GetObjectAclRequest(input) 3043 req, out := c.GetObjectAclRequest(input)
2924 return out, req.Send() 3044 return out, req.Send()
@@ -2944,19 +3064,18 @@ const opGetObjectTagging = "GetObjectTagging"
2944 3064
2945// GetObjectTaggingRequest generates a "aws/request.Request" representing the 3065// GetObjectTaggingRequest generates a "aws/request.Request" representing the
2946// client's request for the GetObjectTagging operation. The "output" return 3066// client's request for the GetObjectTagging operation. The "output" return
2947// value can be used to capture response data after the request's "Send" method 3067// value will be populated with the request's response once the request completes
2948// is called. 3068// successfuly.
3069//
3070// Use "Send" method on the returned Request to send the API call to the service.
3071// the "output" return value is not valid until after Send returns without error.
2949// 3072//
2950// See GetObjectTagging for usage and error information. 3073// See GetObjectTagging for more information on using the GetObjectTagging
3074// API call, and error handling.
2951// 3075//
2952// Creating a request object using this method should be used when you want to inject 3076// This method is useful when you want to inject custom logic or configuration
2953// custom logic into the request's lifecycle using a custom handler, or if you want to 3077// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2954// access properties on the request object before or after sending the request. If
2955// you just want the service response, call the GetObjectTagging method directly
2956// instead.
2957// 3078//
2958// Note: You must call the "Send" method on the returned request object in order
2959// to execute the request.
2960// 3079//
2961// // Example sending a request using the GetObjectTaggingRequest method. 3080// // Example sending a request using the GetObjectTaggingRequest method.
2962// req, resp := client.GetObjectTaggingRequest(params) 3081// req, resp := client.GetObjectTaggingRequest(params)
@@ -2966,7 +3085,7 @@ const opGetObjectTagging = "GetObjectTagging"
2966// fmt.Println(resp) 3085// fmt.Println(resp)
2967// } 3086// }
2968// 3087//
2969// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTagging 3088// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTagging
2970func (c *S3) GetObjectTaggingRequest(input *GetObjectTaggingInput) (req *request.Request, output *GetObjectTaggingOutput) { 3089func (c *S3) GetObjectTaggingRequest(input *GetObjectTaggingInput) (req *request.Request, output *GetObjectTaggingOutput) {
2971 op := &request.Operation{ 3090 op := &request.Operation{
2972 Name: opGetObjectTagging, 3091 Name: opGetObjectTagging,
@@ -2993,7 +3112,7 @@ func (c *S3) GetObjectTaggingRequest(input *GetObjectTaggingInput) (req *request
2993// 3112//
2994// See the AWS API reference guide for Amazon Simple Storage Service's 3113// See the AWS API reference guide for Amazon Simple Storage Service's
2995// API operation GetObjectTagging for usage and error information. 3114// API operation GetObjectTagging for usage and error information.
2996// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTagging 3115// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTagging
2997func (c *S3) GetObjectTagging(input *GetObjectTaggingInput) (*GetObjectTaggingOutput, error) { 3116func (c *S3) GetObjectTagging(input *GetObjectTaggingInput) (*GetObjectTaggingOutput, error) {
2998 req, out := c.GetObjectTaggingRequest(input) 3117 req, out := c.GetObjectTaggingRequest(input)
2999 return out, req.Send() 3118 return out, req.Send()
@@ -3019,19 +3138,18 @@ const opGetObjectTorrent = "GetObjectTorrent"
3019 3138
3020// GetObjectTorrentRequest generates a "aws/request.Request" representing the 3139// GetObjectTorrentRequest generates a "aws/request.Request" representing the
3021// client's request for the GetObjectTorrent operation. The "output" return 3140// client's request for the GetObjectTorrent operation. The "output" return
3022// value can be used to capture response data after the request's "Send" method 3141// value will be populated with the request's response once the request completes
3023// is called. 3142// successfuly.
3024// 3143//
3025// See GetObjectTorrent for usage and error information. 3144// Use "Send" method on the returned Request to send the API call to the service.
3145// the "output" return value is not valid until after Send returns without error.
3026// 3146//
3027// Creating a request object using this method should be used when you want to inject 3147// See GetObjectTorrent for more information on using the GetObjectTorrent
3028// custom logic into the request's lifecycle using a custom handler, or if you want to 3148// API call, and error handling.
3029// access properties on the request object before or after sending the request. If 3149//
3030// you just want the service response, call the GetObjectTorrent method directly 3150// This method is useful when you want to inject custom logic or configuration
3031// instead. 3151// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3032// 3152//
3033// Note: You must call the "Send" method on the returned request object in order
3034// to execute the request.
3035// 3153//
3036// // Example sending a request using the GetObjectTorrentRequest method. 3154// // Example sending a request using the GetObjectTorrentRequest method.
3037// req, resp := client.GetObjectTorrentRequest(params) 3155// req, resp := client.GetObjectTorrentRequest(params)
@@ -3041,7 +3159,7 @@ const opGetObjectTorrent = "GetObjectTorrent"
3041// fmt.Println(resp) 3159// fmt.Println(resp)
3042// } 3160// }
3043// 3161//
3044// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTorrent 3162// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTorrent
3045func (c *S3) GetObjectTorrentRequest(input *GetObjectTorrentInput) (req *request.Request, output *GetObjectTorrentOutput) { 3163func (c *S3) GetObjectTorrentRequest(input *GetObjectTorrentInput) (req *request.Request, output *GetObjectTorrentOutput) {
3046 op := &request.Operation{ 3164 op := &request.Operation{
3047 Name: opGetObjectTorrent, 3165 Name: opGetObjectTorrent,
@@ -3068,7 +3186,7 @@ func (c *S3) GetObjectTorrentRequest(input *GetObjectTorrentInput) (req *request
3068// 3186//
3069// See the AWS API reference guide for Amazon Simple Storage Service's 3187// See the AWS API reference guide for Amazon Simple Storage Service's
3070// API operation GetObjectTorrent for usage and error information. 3188// API operation GetObjectTorrent for usage and error information.
3071// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTorrent 3189// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTorrent
3072func (c *S3) GetObjectTorrent(input *GetObjectTorrentInput) (*GetObjectTorrentOutput, error) { 3190func (c *S3) GetObjectTorrent(input *GetObjectTorrentInput) (*GetObjectTorrentOutput, error) {
3073 req, out := c.GetObjectTorrentRequest(input) 3191 req, out := c.GetObjectTorrentRequest(input)
3074 return out, req.Send() 3192 return out, req.Send()
@@ -3094,19 +3212,18 @@ const opHeadBucket = "HeadBucket"
3094 3212
3095// HeadBucketRequest generates a "aws/request.Request" representing the 3213// HeadBucketRequest generates a "aws/request.Request" representing the
3096// client's request for the HeadBucket operation. The "output" return 3214// client's request for the HeadBucket operation. The "output" return
3097// value can be used to capture response data after the request's "Send" method 3215// value will be populated with the request's response once the request completes
3098// is called. 3216// successfuly.
3217//
3218// Use "Send" method on the returned Request to send the API call to the service.
3219// the "output" return value is not valid until after Send returns without error.
3099// 3220//
3100// See HeadBucket for usage and error information. 3221// See HeadBucket for more information on using the HeadBucket
3222// API call, and error handling.
3101// 3223//
3102// Creating a request object using this method should be used when you want to inject 3224// This method is useful when you want to inject custom logic or configuration
3103// custom logic into the request's lifecycle using a custom handler, or if you want to 3225// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3104// access properties on the request object before or after sending the request. If
3105// you just want the service response, call the HeadBucket method directly
3106// instead.
3107// 3226//
3108// Note: You must call the "Send" method on the returned request object in order
3109// to execute the request.
3110// 3227//
3111// // Example sending a request using the HeadBucketRequest method. 3228// // Example sending a request using the HeadBucketRequest method.
3112// req, resp := client.HeadBucketRequest(params) 3229// req, resp := client.HeadBucketRequest(params)
@@ -3116,7 +3233,7 @@ const opHeadBucket = "HeadBucket"
3116// fmt.Println(resp) 3233// fmt.Println(resp)
3117// } 3234// }
3118// 3235//
3119// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadBucket 3236// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadBucket
3120func (c *S3) HeadBucketRequest(input *HeadBucketInput) (req *request.Request, output *HeadBucketOutput) { 3237func (c *S3) HeadBucketRequest(input *HeadBucketInput) (req *request.Request, output *HeadBucketOutput) {
3121 op := &request.Operation{ 3238 op := &request.Operation{
3122 Name: opHeadBucket, 3239 Name: opHeadBucket,
@@ -3151,7 +3268,7 @@ func (c *S3) HeadBucketRequest(input *HeadBucketInput) (req *request.Request, ou
3151// * ErrCodeNoSuchBucket "NoSuchBucket" 3268// * ErrCodeNoSuchBucket "NoSuchBucket"
3152// The specified bucket does not exist. 3269// The specified bucket does not exist.
3153// 3270//
3154// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadBucket 3271// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadBucket
3155func (c *S3) HeadBucket(input *HeadBucketInput) (*HeadBucketOutput, error) { 3272func (c *S3) HeadBucket(input *HeadBucketInput) (*HeadBucketOutput, error) {
3156 req, out := c.HeadBucketRequest(input) 3273 req, out := c.HeadBucketRequest(input)
3157 return out, req.Send() 3274 return out, req.Send()
@@ -3177,19 +3294,18 @@ const opHeadObject = "HeadObject"
3177 3294
3178// HeadObjectRequest generates a "aws/request.Request" representing the 3295// HeadObjectRequest generates a "aws/request.Request" representing the
3179// client's request for the HeadObject operation. The "output" return 3296// client's request for the HeadObject operation. The "output" return
3180// value can be used to capture response data after the request's "Send" method 3297// value will be populated with the request's response once the request completes
3181// is called. 3298// successfuly.
3182// 3299//
3183// See HeadObject for usage and error information. 3300// Use "Send" method on the returned Request to send the API call to the service.
3301// the "output" return value is not valid until after Send returns without error.
3184// 3302//
3185// Creating a request object using this method should be used when you want to inject 3303// See HeadObject for more information on using the HeadObject
3186// custom logic into the request's lifecycle using a custom handler, or if you want to 3304// API call, and error handling.
3187// access properties on the request object before or after sending the request. If 3305//
3188// you just want the service response, call the HeadObject method directly 3306// This method is useful when you want to inject custom logic or configuration
3189// instead. 3307// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3190// 3308//
3191// Note: You must call the "Send" method on the returned request object in order
3192// to execute the request.
3193// 3309//
3194// // Example sending a request using the HeadObjectRequest method. 3310// // Example sending a request using the HeadObjectRequest method.
3195// req, resp := client.HeadObjectRequest(params) 3311// req, resp := client.HeadObjectRequest(params)
@@ -3199,7 +3315,7 @@ const opHeadObject = "HeadObject"
3199// fmt.Println(resp) 3315// fmt.Println(resp)
3200// } 3316// }
3201// 3317//
3202// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadObject 3318// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadObject
3203func (c *S3) HeadObjectRequest(input *HeadObjectInput) (req *request.Request, output *HeadObjectOutput) { 3319func (c *S3) HeadObjectRequest(input *HeadObjectInput) (req *request.Request, output *HeadObjectOutput) {
3204 op := &request.Operation{ 3320 op := &request.Operation{
3205 Name: opHeadObject, 3321 Name: opHeadObject,
@@ -3231,7 +3347,7 @@ func (c *S3) HeadObjectRequest(input *HeadObjectInput) (req *request.Request, ou
3231// 3347//
3232// See the AWS API reference guide for Amazon Simple Storage Service's 3348// See the AWS API reference guide for Amazon Simple Storage Service's
3233// API operation HeadObject for usage and error information. 3349// API operation HeadObject for usage and error information.
3234// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadObject 3350// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadObject
3235func (c *S3) HeadObject(input *HeadObjectInput) (*HeadObjectOutput, error) { 3351func (c *S3) HeadObject(input *HeadObjectInput) (*HeadObjectOutput, error) {
3236 req, out := c.HeadObjectRequest(input) 3352 req, out := c.HeadObjectRequest(input)
3237 return out, req.Send() 3353 return out, req.Send()
@@ -3257,19 +3373,18 @@ const opListBucketAnalyticsConfigurations = "ListBucketAnalyticsConfigurations"
3257 3373
3258// ListBucketAnalyticsConfigurationsRequest generates a "aws/request.Request" representing the 3374// ListBucketAnalyticsConfigurationsRequest generates a "aws/request.Request" representing the
3259// client's request for the ListBucketAnalyticsConfigurations operation. The "output" return 3375// client's request for the ListBucketAnalyticsConfigurations operation. The "output" return
3260// value can be used to capture response data after the request's "Send" method 3376// value will be populated with the request's response once the request completes
3261// is called. 3377// successfuly.
3378//
3379// Use "Send" method on the returned Request to send the API call to the service.
3380// the "output" return value is not valid until after Send returns without error.
3262// 3381//
3263// See ListBucketAnalyticsConfigurations for usage and error information. 3382// See ListBucketAnalyticsConfigurations for more information on using the ListBucketAnalyticsConfigurations
3383// API call, and error handling.
3264// 3384//
3265// Creating a request object using this method should be used when you want to inject 3385// This method is useful when you want to inject custom logic or configuration
3266// custom logic into the request's lifecycle using a custom handler, or if you want to 3386// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3267// access properties on the request object before or after sending the request. If
3268// you just want the service response, call the ListBucketAnalyticsConfigurations method directly
3269// instead.
3270// 3387//
3271// Note: You must call the "Send" method on the returned request object in order
3272// to execute the request.
3273// 3388//
3274// // Example sending a request using the ListBucketAnalyticsConfigurationsRequest method. 3389// // Example sending a request using the ListBucketAnalyticsConfigurationsRequest method.
3275// req, resp := client.ListBucketAnalyticsConfigurationsRequest(params) 3390// req, resp := client.ListBucketAnalyticsConfigurationsRequest(params)
@@ -3279,7 +3394,7 @@ const opListBucketAnalyticsConfigurations = "ListBucketAnalyticsConfigurations"
3279// fmt.Println(resp) 3394// fmt.Println(resp)
3280// } 3395// }
3281// 3396//
3282// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketAnalyticsConfigurations 3397// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketAnalyticsConfigurations
3283func (c *S3) ListBucketAnalyticsConfigurationsRequest(input *ListBucketAnalyticsConfigurationsInput) (req *request.Request, output *ListBucketAnalyticsConfigurationsOutput) { 3398func (c *S3) ListBucketAnalyticsConfigurationsRequest(input *ListBucketAnalyticsConfigurationsInput) (req *request.Request, output *ListBucketAnalyticsConfigurationsOutput) {
3284 op := &request.Operation{ 3399 op := &request.Operation{
3285 Name: opListBucketAnalyticsConfigurations, 3400 Name: opListBucketAnalyticsConfigurations,
@@ -3306,7 +3421,7 @@ func (c *S3) ListBucketAnalyticsConfigurationsRequest(input *ListBucketAnalytics
3306// 3421//
3307// See the AWS API reference guide for Amazon Simple Storage Service's 3422// See the AWS API reference guide for Amazon Simple Storage Service's
3308// API operation ListBucketAnalyticsConfigurations for usage and error information. 3423// API operation ListBucketAnalyticsConfigurations for usage and error information.
3309// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketAnalyticsConfigurations 3424// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketAnalyticsConfigurations
3310func (c *S3) ListBucketAnalyticsConfigurations(input *ListBucketAnalyticsConfigurationsInput) (*ListBucketAnalyticsConfigurationsOutput, error) { 3425func (c *S3) ListBucketAnalyticsConfigurations(input *ListBucketAnalyticsConfigurationsInput) (*ListBucketAnalyticsConfigurationsOutput, error) {
3311 req, out := c.ListBucketAnalyticsConfigurationsRequest(input) 3426 req, out := c.ListBucketAnalyticsConfigurationsRequest(input)
3312 return out, req.Send() 3427 return out, req.Send()
@@ -3332,19 +3447,18 @@ const opListBucketInventoryConfigurations = "ListBucketInventoryConfigurations"
3332 3447
3333// ListBucketInventoryConfigurationsRequest generates a "aws/request.Request" representing the 3448// ListBucketInventoryConfigurationsRequest generates a "aws/request.Request" representing the
3334// client's request for the ListBucketInventoryConfigurations operation. The "output" return 3449// client's request for the ListBucketInventoryConfigurations operation. The "output" return
3335// value can be used to capture response data after the request's "Send" method 3450// value will be populated with the request's response once the request completes
3336// is called. 3451// successfuly.
3452//
3453// Use "Send" method on the returned Request to send the API call to the service.
3454// the "output" return value is not valid until after Send returns without error.
3337// 3455//
3338// See ListBucketInventoryConfigurations for usage and error information. 3456// See ListBucketInventoryConfigurations for more information on using the ListBucketInventoryConfigurations
3457// API call, and error handling.
3339// 3458//
3340// Creating a request object using this method should be used when you want to inject 3459// This method is useful when you want to inject custom logic or configuration
3341// custom logic into the request's lifecycle using a custom handler, or if you want to 3460// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3342// access properties on the request object before or after sending the request. If
3343// you just want the service response, call the ListBucketInventoryConfigurations method directly
3344// instead.
3345// 3461//
3346// Note: You must call the "Send" method on the returned request object in order
3347// to execute the request.
3348// 3462//
3349// // Example sending a request using the ListBucketInventoryConfigurationsRequest method. 3463// // Example sending a request using the ListBucketInventoryConfigurationsRequest method.
3350// req, resp := client.ListBucketInventoryConfigurationsRequest(params) 3464// req, resp := client.ListBucketInventoryConfigurationsRequest(params)
@@ -3354,7 +3468,7 @@ const opListBucketInventoryConfigurations = "ListBucketInventoryConfigurations"
3354// fmt.Println(resp) 3468// fmt.Println(resp)
3355// } 3469// }
3356// 3470//
3357// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketInventoryConfigurations 3471// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketInventoryConfigurations
3358func (c *S3) ListBucketInventoryConfigurationsRequest(input *ListBucketInventoryConfigurationsInput) (req *request.Request, output *ListBucketInventoryConfigurationsOutput) { 3472func (c *S3) ListBucketInventoryConfigurationsRequest(input *ListBucketInventoryConfigurationsInput) (req *request.Request, output *ListBucketInventoryConfigurationsOutput) {
3359 op := &request.Operation{ 3473 op := &request.Operation{
3360 Name: opListBucketInventoryConfigurations, 3474 Name: opListBucketInventoryConfigurations,
@@ -3381,7 +3495,7 @@ func (c *S3) ListBucketInventoryConfigurationsRequest(input *ListBucketInventory
3381// 3495//
3382// See the AWS API reference guide for Amazon Simple Storage Service's 3496// See the AWS API reference guide for Amazon Simple Storage Service's
3383// API operation ListBucketInventoryConfigurations for usage and error information. 3497// API operation ListBucketInventoryConfigurations for usage and error information.
3384// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketInventoryConfigurations 3498// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketInventoryConfigurations
3385func (c *S3) ListBucketInventoryConfigurations(input *ListBucketInventoryConfigurationsInput) (*ListBucketInventoryConfigurationsOutput, error) { 3499func (c *S3) ListBucketInventoryConfigurations(input *ListBucketInventoryConfigurationsInput) (*ListBucketInventoryConfigurationsOutput, error) {
3386 req, out := c.ListBucketInventoryConfigurationsRequest(input) 3500 req, out := c.ListBucketInventoryConfigurationsRequest(input)
3387 return out, req.Send() 3501 return out, req.Send()
@@ -3407,19 +3521,18 @@ const opListBucketMetricsConfigurations = "ListBucketMetricsConfigurations"
3407 3521
3408// ListBucketMetricsConfigurationsRequest generates a "aws/request.Request" representing the 3522// ListBucketMetricsConfigurationsRequest generates a "aws/request.Request" representing the
3409// client's request for the ListBucketMetricsConfigurations operation. The "output" return 3523// client's request for the ListBucketMetricsConfigurations operation. The "output" return
3410// value can be used to capture response data after the request's "Send" method 3524// value will be populated with the request's response once the request completes
3411// is called. 3525// successfuly.
3412// 3526//
3413// See ListBucketMetricsConfigurations for usage and error information. 3527// Use "Send" method on the returned Request to send the API call to the service.
3528// the "output" return value is not valid until after Send returns without error.
3414// 3529//
3415// Creating a request object using this method should be used when you want to inject 3530// See ListBucketMetricsConfigurations for more information on using the ListBucketMetricsConfigurations
3416// custom logic into the request's lifecycle using a custom handler, or if you want to 3531// API call, and error handling.
3417// access properties on the request object before or after sending the request. If 3532//
3418// you just want the service response, call the ListBucketMetricsConfigurations method directly 3533// This method is useful when you want to inject custom logic or configuration
3419// instead. 3534// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3420// 3535//
3421// Note: You must call the "Send" method on the returned request object in order
3422// to execute the request.
3423// 3536//
3424// // Example sending a request using the ListBucketMetricsConfigurationsRequest method. 3537// // Example sending a request using the ListBucketMetricsConfigurationsRequest method.
3425// req, resp := client.ListBucketMetricsConfigurationsRequest(params) 3538// req, resp := client.ListBucketMetricsConfigurationsRequest(params)
@@ -3429,7 +3542,7 @@ const opListBucketMetricsConfigurations = "ListBucketMetricsConfigurations"
3429// fmt.Println(resp) 3542// fmt.Println(resp)
3430// } 3543// }
3431// 3544//
3432// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketMetricsConfigurations 3545// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketMetricsConfigurations
3433func (c *S3) ListBucketMetricsConfigurationsRequest(input *ListBucketMetricsConfigurationsInput) (req *request.Request, output *ListBucketMetricsConfigurationsOutput) { 3546func (c *S3) ListBucketMetricsConfigurationsRequest(input *ListBucketMetricsConfigurationsInput) (req *request.Request, output *ListBucketMetricsConfigurationsOutput) {
3434 op := &request.Operation{ 3547 op := &request.Operation{
3435 Name: opListBucketMetricsConfigurations, 3548 Name: opListBucketMetricsConfigurations,
@@ -3456,7 +3569,7 @@ func (c *S3) ListBucketMetricsConfigurationsRequest(input *ListBucketMetricsConf
3456// 3569//
3457// See the AWS API reference guide for Amazon Simple Storage Service's 3570// See the AWS API reference guide for Amazon Simple Storage Service's
3458// API operation ListBucketMetricsConfigurations for usage and error information. 3571// API operation ListBucketMetricsConfigurations for usage and error information.
3459// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketMetricsConfigurations 3572// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketMetricsConfigurations
3460func (c *S3) ListBucketMetricsConfigurations(input *ListBucketMetricsConfigurationsInput) (*ListBucketMetricsConfigurationsOutput, error) { 3573func (c *S3) ListBucketMetricsConfigurations(input *ListBucketMetricsConfigurationsInput) (*ListBucketMetricsConfigurationsOutput, error) {
3461 req, out := c.ListBucketMetricsConfigurationsRequest(input) 3574 req, out := c.ListBucketMetricsConfigurationsRequest(input)
3462 return out, req.Send() 3575 return out, req.Send()
@@ -3482,19 +3595,18 @@ const opListBuckets = "ListBuckets"
3482 3595
3483// ListBucketsRequest generates a "aws/request.Request" representing the 3596// ListBucketsRequest generates a "aws/request.Request" representing the
3484// client's request for the ListBuckets operation. The "output" return 3597// client's request for the ListBuckets operation. The "output" return
3485// value can be used to capture response data after the request's "Send" method 3598// value will be populated with the request's response once the request completes
3486// is called. 3599// successfuly.
3600//
3601// Use "Send" method on the returned Request to send the API call to the service.
3602// the "output" return value is not valid until after Send returns without error.
3487// 3603//
3488// See ListBuckets for usage and error information. 3604// See ListBuckets for more information on using the ListBuckets
3605// API call, and error handling.
3489// 3606//
3490// Creating a request object using this method should be used when you want to inject 3607// This method is useful when you want to inject custom logic or configuration
3491// custom logic into the request's lifecycle using a custom handler, or if you want to 3608// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3492// access properties on the request object before or after sending the request. If
3493// you just want the service response, call the ListBuckets method directly
3494// instead.
3495// 3609//
3496// Note: You must call the "Send" method on the returned request object in order
3497// to execute the request.
3498// 3610//
3499// // Example sending a request using the ListBucketsRequest method. 3611// // Example sending a request using the ListBucketsRequest method.
3500// req, resp := client.ListBucketsRequest(params) 3612// req, resp := client.ListBucketsRequest(params)
@@ -3504,7 +3616,7 @@ const opListBuckets = "ListBuckets"
3504// fmt.Println(resp) 3616// fmt.Println(resp)
3505// } 3617// }
3506// 3618//
3507// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBuckets 3619// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBuckets
3508func (c *S3) ListBucketsRequest(input *ListBucketsInput) (req *request.Request, output *ListBucketsOutput) { 3620func (c *S3) ListBucketsRequest(input *ListBucketsInput) (req *request.Request, output *ListBucketsOutput) {
3509 op := &request.Operation{ 3621 op := &request.Operation{
3510 Name: opListBuckets, 3622 Name: opListBuckets,
@@ -3531,7 +3643,7 @@ func (c *S3) ListBucketsRequest(input *ListBucketsInput) (req *request.Request,
3531// 3643//
3532// See the AWS API reference guide for Amazon Simple Storage Service's 3644// See the AWS API reference guide for Amazon Simple Storage Service's
3533// API operation ListBuckets for usage and error information. 3645// API operation ListBuckets for usage and error information.
3534// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBuckets 3646// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBuckets
3535func (c *S3) ListBuckets(input *ListBucketsInput) (*ListBucketsOutput, error) { 3647func (c *S3) ListBuckets(input *ListBucketsInput) (*ListBucketsOutput, error) {
3536 req, out := c.ListBucketsRequest(input) 3648 req, out := c.ListBucketsRequest(input)
3537 return out, req.Send() 3649 return out, req.Send()
@@ -3557,19 +3669,18 @@ const opListMultipartUploads = "ListMultipartUploads"
3557 3669
3558// ListMultipartUploadsRequest generates a "aws/request.Request" representing the 3670// ListMultipartUploadsRequest generates a "aws/request.Request" representing the
3559// client's request for the ListMultipartUploads operation. The "output" return 3671// client's request for the ListMultipartUploads operation. The "output" return
3560// value can be used to capture response data after the request's "Send" method 3672// value will be populated with the request's response once the request completes
3561// is called. 3673// successfuly.
3562// 3674//
3563// See ListMultipartUploads for usage and error information. 3675// Use "Send" method on the returned Request to send the API call to the service.
3676// the "output" return value is not valid until after Send returns without error.
3564// 3677//
3565// Creating a request object using this method should be used when you want to inject 3678// See ListMultipartUploads for more information on using the ListMultipartUploads
3566// custom logic into the request's lifecycle using a custom handler, or if you want to 3679// API call, and error handling.
3567// access properties on the request object before or after sending the request. If 3680//
3568// you just want the service response, call the ListMultipartUploads method directly 3681// This method is useful when you want to inject custom logic or configuration
3569// instead. 3682// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3570// 3683//
3571// Note: You must call the "Send" method on the returned request object in order
3572// to execute the request.
3573// 3684//
3574// // Example sending a request using the ListMultipartUploadsRequest method. 3685// // Example sending a request using the ListMultipartUploadsRequest method.
3575// req, resp := client.ListMultipartUploadsRequest(params) 3686// req, resp := client.ListMultipartUploadsRequest(params)
@@ -3579,7 +3690,7 @@ const opListMultipartUploads = "ListMultipartUploads"
3579// fmt.Println(resp) 3690// fmt.Println(resp)
3580// } 3691// }
3581// 3692//
3582// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListMultipartUploads 3693// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListMultipartUploads
3583func (c *S3) ListMultipartUploadsRequest(input *ListMultipartUploadsInput) (req *request.Request, output *ListMultipartUploadsOutput) { 3694func (c *S3) ListMultipartUploadsRequest(input *ListMultipartUploadsInput) (req *request.Request, output *ListMultipartUploadsOutput) {
3584 op := &request.Operation{ 3695 op := &request.Operation{
3585 Name: opListMultipartUploads, 3696 Name: opListMultipartUploads,
@@ -3612,7 +3723,7 @@ func (c *S3) ListMultipartUploadsRequest(input *ListMultipartUploadsInput) (req
3612// 3723//
3613// See the AWS API reference guide for Amazon Simple Storage Service's 3724// See the AWS API reference guide for Amazon Simple Storage Service's
3614// API operation ListMultipartUploads for usage and error information. 3725// API operation ListMultipartUploads for usage and error information.
3615// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListMultipartUploads 3726// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListMultipartUploads
3616func (c *S3) ListMultipartUploads(input *ListMultipartUploadsInput) (*ListMultipartUploadsOutput, error) { 3727func (c *S3) ListMultipartUploads(input *ListMultipartUploadsInput) (*ListMultipartUploadsOutput, error) {
3617 req, out := c.ListMultipartUploadsRequest(input) 3728 req, out := c.ListMultipartUploadsRequest(input)
3618 return out, req.Send() 3729 return out, req.Send()
@@ -3688,19 +3799,18 @@ const opListObjectVersions = "ListObjectVersions"
3688 3799
3689// ListObjectVersionsRequest generates a "aws/request.Request" representing the 3800// ListObjectVersionsRequest generates a "aws/request.Request" representing the
3690// client's request for the ListObjectVersions operation. The "output" return 3801// client's request for the ListObjectVersions operation. The "output" return
3691// value can be used to capture response data after the request's "Send" method 3802// value will be populated with the request's response once the request completes
3692// is called. 3803// successfuly.
3804//
3805// Use "Send" method on the returned Request to send the API call to the service.
3806// the "output" return value is not valid until after Send returns without error.
3693// 3807//
3694// See ListObjectVersions for usage and error information. 3808// See ListObjectVersions for more information on using the ListObjectVersions
3809// API call, and error handling.
3695// 3810//
3696// Creating a request object using this method should be used when you want to inject 3811// This method is useful when you want to inject custom logic or configuration
3697// custom logic into the request's lifecycle using a custom handler, or if you want to 3812// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3698// access properties on the request object before or after sending the request. If
3699// you just want the service response, call the ListObjectVersions method directly
3700// instead.
3701// 3813//
3702// Note: You must call the "Send" method on the returned request object in order
3703// to execute the request.
3704// 3814//
3705// // Example sending a request using the ListObjectVersionsRequest method. 3815// // Example sending a request using the ListObjectVersionsRequest method.
3706// req, resp := client.ListObjectVersionsRequest(params) 3816// req, resp := client.ListObjectVersionsRequest(params)
@@ -3710,7 +3820,7 @@ const opListObjectVersions = "ListObjectVersions"
3710// fmt.Println(resp) 3820// fmt.Println(resp)
3711// } 3821// }
3712// 3822//
3713// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectVersions 3823// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectVersions
3714func (c *S3) ListObjectVersionsRequest(input *ListObjectVersionsInput) (req *request.Request, output *ListObjectVersionsOutput) { 3824func (c *S3) ListObjectVersionsRequest(input *ListObjectVersionsInput) (req *request.Request, output *ListObjectVersionsOutput) {
3715 op := &request.Operation{ 3825 op := &request.Operation{
3716 Name: opListObjectVersions, 3826 Name: opListObjectVersions,
@@ -3743,7 +3853,7 @@ func (c *S3) ListObjectVersionsRequest(input *ListObjectVersionsInput) (req *req
3743// 3853//
3744// See the AWS API reference guide for Amazon Simple Storage Service's 3854// See the AWS API reference guide for Amazon Simple Storage Service's
3745// API operation ListObjectVersions for usage and error information. 3855// API operation ListObjectVersions for usage and error information.
3746// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectVersions 3856// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectVersions
3747func (c *S3) ListObjectVersions(input *ListObjectVersionsInput) (*ListObjectVersionsOutput, error) { 3857func (c *S3) ListObjectVersions(input *ListObjectVersionsInput) (*ListObjectVersionsOutput, error) {
3748 req, out := c.ListObjectVersionsRequest(input) 3858 req, out := c.ListObjectVersionsRequest(input)
3749 return out, req.Send() 3859 return out, req.Send()
@@ -3819,19 +3929,18 @@ const opListObjects = "ListObjects"
3819 3929
3820// ListObjectsRequest generates a "aws/request.Request" representing the 3930// ListObjectsRequest generates a "aws/request.Request" representing the
3821// client's request for the ListObjects operation. The "output" return 3931// client's request for the ListObjects operation. The "output" return
3822// value can be used to capture response data after the request's "Send" method 3932// value will be populated with the request's response once the request completes
3823// is called. 3933// successfuly.
3824// 3934//
3825// See ListObjects for usage and error information. 3935// Use "Send" method on the returned Request to send the API call to the service.
3936// the "output" return value is not valid until after Send returns without error.
3826// 3937//
3827// Creating a request object using this method should be used when you want to inject 3938// See ListObjects for more information on using the ListObjects
3828// custom logic into the request's lifecycle using a custom handler, or if you want to 3939// API call, and error handling.
3829// access properties on the request object before or after sending the request. If 3940//
3830// you just want the service response, call the ListObjects method directly 3941// This method is useful when you want to inject custom logic or configuration
3831// instead. 3942// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3832// 3943//
3833// Note: You must call the "Send" method on the returned request object in order
3834// to execute the request.
3835// 3944//
3836// // Example sending a request using the ListObjectsRequest method. 3945// // Example sending a request using the ListObjectsRequest method.
3837// req, resp := client.ListObjectsRequest(params) 3946// req, resp := client.ListObjectsRequest(params)
@@ -3841,7 +3950,7 @@ const opListObjects = "ListObjects"
3841// fmt.Println(resp) 3950// fmt.Println(resp)
3842// } 3951// }
3843// 3952//
3844// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjects 3953// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjects
3845func (c *S3) ListObjectsRequest(input *ListObjectsInput) (req *request.Request, output *ListObjectsOutput) { 3954func (c *S3) ListObjectsRequest(input *ListObjectsInput) (req *request.Request, output *ListObjectsOutput) {
3846 op := &request.Operation{ 3955 op := &request.Operation{
3847 Name: opListObjects, 3956 Name: opListObjects,
@@ -3881,7 +3990,7 @@ func (c *S3) ListObjectsRequest(input *ListObjectsInput) (req *request.Request,
3881// * ErrCodeNoSuchBucket "NoSuchBucket" 3990// * ErrCodeNoSuchBucket "NoSuchBucket"
3882// The specified bucket does not exist. 3991// The specified bucket does not exist.
3883// 3992//
3884// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjects 3993// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjects
3885func (c *S3) ListObjects(input *ListObjectsInput) (*ListObjectsOutput, error) { 3994func (c *S3) ListObjects(input *ListObjectsInput) (*ListObjectsOutput, error) {
3886 req, out := c.ListObjectsRequest(input) 3995 req, out := c.ListObjectsRequest(input)
3887 return out, req.Send() 3996 return out, req.Send()
@@ -3957,19 +4066,18 @@ const opListObjectsV2 = "ListObjectsV2"
3957 4066
3958// ListObjectsV2Request generates a "aws/request.Request" representing the 4067// ListObjectsV2Request generates a "aws/request.Request" representing the
3959// client's request for the ListObjectsV2 operation. The "output" return 4068// client's request for the ListObjectsV2 operation. The "output" return
3960// value can be used to capture response data after the request's "Send" method 4069// value will be populated with the request's response once the request completes
3961// is called. 4070// successfuly.
4071//
4072// Use "Send" method on the returned Request to send the API call to the service.
4073// the "output" return value is not valid until after Send returns without error.
3962// 4074//
3963// See ListObjectsV2 for usage and error information. 4075// See ListObjectsV2 for more information on using the ListObjectsV2
4076// API call, and error handling.
3964// 4077//
3965// Creating a request object using this method should be used when you want to inject 4078// This method is useful when you want to inject custom logic or configuration
3966// custom logic into the request's lifecycle using a custom handler, or if you want to 4079// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3967// access properties on the request object before or after sending the request. If
3968// you just want the service response, call the ListObjectsV2 method directly
3969// instead.
3970// 4080//
3971// Note: You must call the "Send" method on the returned request object in order
3972// to execute the request.
3973// 4081//
3974// // Example sending a request using the ListObjectsV2Request method. 4082// // Example sending a request using the ListObjectsV2Request method.
3975// req, resp := client.ListObjectsV2Request(params) 4083// req, resp := client.ListObjectsV2Request(params)
@@ -3979,7 +4087,7 @@ const opListObjectsV2 = "ListObjectsV2"
3979// fmt.Println(resp) 4087// fmt.Println(resp)
3980// } 4088// }
3981// 4089//
3982// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsV2 4090// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsV2
3983func (c *S3) ListObjectsV2Request(input *ListObjectsV2Input) (req *request.Request, output *ListObjectsV2Output) { 4091func (c *S3) ListObjectsV2Request(input *ListObjectsV2Input) (req *request.Request, output *ListObjectsV2Output) {
3984 op := &request.Operation{ 4092 op := &request.Operation{
3985 Name: opListObjectsV2, 4093 Name: opListObjectsV2,
@@ -4020,7 +4128,7 @@ func (c *S3) ListObjectsV2Request(input *ListObjectsV2Input) (req *request.Reque
4020// * ErrCodeNoSuchBucket "NoSuchBucket" 4128// * ErrCodeNoSuchBucket "NoSuchBucket"
4021// The specified bucket does not exist. 4129// The specified bucket does not exist.
4022// 4130//
4023// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsV2 4131// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsV2
4024func (c *S3) ListObjectsV2(input *ListObjectsV2Input) (*ListObjectsV2Output, error) { 4132func (c *S3) ListObjectsV2(input *ListObjectsV2Input) (*ListObjectsV2Output, error) {
4025 req, out := c.ListObjectsV2Request(input) 4133 req, out := c.ListObjectsV2Request(input)
4026 return out, req.Send() 4134 return out, req.Send()
@@ -4096,19 +4204,18 @@ const opListParts = "ListParts"
4096 4204
4097// ListPartsRequest generates a "aws/request.Request" representing the 4205// ListPartsRequest generates a "aws/request.Request" representing the
4098// client's request for the ListParts operation. The "output" return 4206// client's request for the ListParts operation. The "output" return
4099// value can be used to capture response data after the request's "Send" method 4207// value will be populated with the request's response once the request completes
4100// is called. 4208// successfuly.
4209//
4210// Use "Send" method on the returned Request to send the API call to the service.
4211// the "output" return value is not valid until after Send returns without error.
4101// 4212//
4102// See ListParts for usage and error information. 4213// See ListParts for more information on using the ListParts
4214// API call, and error handling.
4103// 4215//
4104// Creating a request object using this method should be used when you want to inject 4216// This method is useful when you want to inject custom logic or configuration
4105// custom logic into the request's lifecycle using a custom handler, or if you want to 4217// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4106// access properties on the request object before or after sending the request. If
4107// you just want the service response, call the ListParts method directly
4108// instead.
4109// 4218//
4110// Note: You must call the "Send" method on the returned request object in order
4111// to execute the request.
4112// 4219//
4113// // Example sending a request using the ListPartsRequest method. 4220// // Example sending a request using the ListPartsRequest method.
4114// req, resp := client.ListPartsRequest(params) 4221// req, resp := client.ListPartsRequest(params)
@@ -4118,7 +4225,7 @@ const opListParts = "ListParts"
4118// fmt.Println(resp) 4225// fmt.Println(resp)
4119// } 4226// }
4120// 4227//
4121// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListParts 4228// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListParts
4122func (c *S3) ListPartsRequest(input *ListPartsInput) (req *request.Request, output *ListPartsOutput) { 4229func (c *S3) ListPartsRequest(input *ListPartsInput) (req *request.Request, output *ListPartsOutput) {
4123 op := &request.Operation{ 4230 op := &request.Operation{
4124 Name: opListParts, 4231 Name: opListParts,
@@ -4151,7 +4258,7 @@ func (c *S3) ListPartsRequest(input *ListPartsInput) (req *request.Request, outp
4151// 4258//
4152// See the AWS API reference guide for Amazon Simple Storage Service's 4259// See the AWS API reference guide for Amazon Simple Storage Service's
4153// API operation ListParts for usage and error information. 4260// API operation ListParts for usage and error information.
4154// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListParts 4261// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListParts
4155func (c *S3) ListParts(input *ListPartsInput) (*ListPartsOutput, error) { 4262func (c *S3) ListParts(input *ListPartsInput) (*ListPartsOutput, error) {
4156 req, out := c.ListPartsRequest(input) 4263 req, out := c.ListPartsRequest(input)
4157 return out, req.Send() 4264 return out, req.Send()
@@ -4227,19 +4334,18 @@ const opPutBucketAccelerateConfiguration = "PutBucketAccelerateConfiguration"
4227 4334
4228// PutBucketAccelerateConfigurationRequest generates a "aws/request.Request" representing the 4335// PutBucketAccelerateConfigurationRequest generates a "aws/request.Request" representing the
4229// client's request for the PutBucketAccelerateConfiguration operation. The "output" return 4336// client's request for the PutBucketAccelerateConfiguration operation. The "output" return
4230// value can be used to capture response data after the request's "Send" method 4337// value will be populated with the request's response once the request completes
4231// is called. 4338// successfuly.
4232// 4339//
4233// See PutBucketAccelerateConfiguration for usage and error information. 4340// Use "Send" method on the returned Request to send the API call to the service.
4341// the "output" return value is not valid until after Send returns without error.
4234// 4342//
4235// Creating a request object using this method should be used when you want to inject 4343// See PutBucketAccelerateConfiguration for more information on using the PutBucketAccelerateConfiguration
4236// custom logic into the request's lifecycle using a custom handler, or if you want to 4344// API call, and error handling.
4237// access properties on the request object before or after sending the request. If 4345//
4238// you just want the service response, call the PutBucketAccelerateConfiguration method directly 4346// This method is useful when you want to inject custom logic or configuration
4239// instead. 4347// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4240// 4348//
4241// Note: You must call the "Send" method on the returned request object in order
4242// to execute the request.
4243// 4349//
4244// // Example sending a request using the PutBucketAccelerateConfigurationRequest method. 4350// // Example sending a request using the PutBucketAccelerateConfigurationRequest method.
4245// req, resp := client.PutBucketAccelerateConfigurationRequest(params) 4351// req, resp := client.PutBucketAccelerateConfigurationRequest(params)
@@ -4249,7 +4355,7 @@ const opPutBucketAccelerateConfiguration = "PutBucketAccelerateConfiguration"
4249// fmt.Println(resp) 4355// fmt.Println(resp)
4250// } 4356// }
4251// 4357//
4252// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAccelerateConfiguration 4358// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAccelerateConfiguration
4253func (c *S3) PutBucketAccelerateConfigurationRequest(input *PutBucketAccelerateConfigurationInput) (req *request.Request, output *PutBucketAccelerateConfigurationOutput) { 4359func (c *S3) PutBucketAccelerateConfigurationRequest(input *PutBucketAccelerateConfigurationInput) (req *request.Request, output *PutBucketAccelerateConfigurationOutput) {
4254 op := &request.Operation{ 4360 op := &request.Operation{
4255 Name: opPutBucketAccelerateConfiguration, 4361 Name: opPutBucketAccelerateConfiguration,
@@ -4278,7 +4384,7 @@ func (c *S3) PutBucketAccelerateConfigurationRequest(input *PutBucketAccelerateC
4278// 4384//
4279// See the AWS API reference guide for Amazon Simple Storage Service's 4385// See the AWS API reference guide for Amazon Simple Storage Service's
4280// API operation PutBucketAccelerateConfiguration for usage and error information. 4386// API operation PutBucketAccelerateConfiguration for usage and error information.
4281// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAccelerateConfiguration 4387// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAccelerateConfiguration
4282func (c *S3) PutBucketAccelerateConfiguration(input *PutBucketAccelerateConfigurationInput) (*PutBucketAccelerateConfigurationOutput, error) { 4388func (c *S3) PutBucketAccelerateConfiguration(input *PutBucketAccelerateConfigurationInput) (*PutBucketAccelerateConfigurationOutput, error) {
4283 req, out := c.PutBucketAccelerateConfigurationRequest(input) 4389 req, out := c.PutBucketAccelerateConfigurationRequest(input)
4284 return out, req.Send() 4390 return out, req.Send()
@@ -4304,19 +4410,18 @@ const opPutBucketAcl = "PutBucketAcl"
4304 4410
4305// PutBucketAclRequest generates a "aws/request.Request" representing the 4411// PutBucketAclRequest generates a "aws/request.Request" representing the
4306// client's request for the PutBucketAcl operation. The "output" return 4412// client's request for the PutBucketAcl operation. The "output" return
4307// value can be used to capture response data after the request's "Send" method 4413// value will be populated with the request's response once the request completes
4308// is called. 4414// successfuly.
4415//
4416// Use "Send" method on the returned Request to send the API call to the service.
4417// the "output" return value is not valid until after Send returns without error.
4309// 4418//
4310// See PutBucketAcl for usage and error information. 4419// See PutBucketAcl for more information on using the PutBucketAcl
4420// API call, and error handling.
4311// 4421//
4312// Creating a request object using this method should be used when you want to inject 4422// This method is useful when you want to inject custom logic or configuration
4313// custom logic into the request's lifecycle using a custom handler, or if you want to 4423// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4314// access properties on the request object before or after sending the request. If
4315// you just want the service response, call the PutBucketAcl method directly
4316// instead.
4317// 4424//
4318// Note: You must call the "Send" method on the returned request object in order
4319// to execute the request.
4320// 4425//
4321// // Example sending a request using the PutBucketAclRequest method. 4426// // Example sending a request using the PutBucketAclRequest method.
4322// req, resp := client.PutBucketAclRequest(params) 4427// req, resp := client.PutBucketAclRequest(params)
@@ -4326,7 +4431,7 @@ const opPutBucketAcl = "PutBucketAcl"
4326// fmt.Println(resp) 4431// fmt.Println(resp)
4327// } 4432// }
4328// 4433//
4329// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAcl 4434// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAcl
4330func (c *S3) PutBucketAclRequest(input *PutBucketAclInput) (req *request.Request, output *PutBucketAclOutput) { 4435func (c *S3) PutBucketAclRequest(input *PutBucketAclInput) (req *request.Request, output *PutBucketAclOutput) {
4331 op := &request.Operation{ 4436 op := &request.Operation{
4332 Name: opPutBucketAcl, 4437 Name: opPutBucketAcl,
@@ -4355,7 +4460,7 @@ func (c *S3) PutBucketAclRequest(input *PutBucketAclInput) (req *request.Request
4355// 4460//
4356// See the AWS API reference guide for Amazon Simple Storage Service's 4461// See the AWS API reference guide for Amazon Simple Storage Service's
4357// API operation PutBucketAcl for usage and error information. 4462// API operation PutBucketAcl for usage and error information.
4358// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAcl 4463// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAcl
4359func (c *S3) PutBucketAcl(input *PutBucketAclInput) (*PutBucketAclOutput, error) { 4464func (c *S3) PutBucketAcl(input *PutBucketAclInput) (*PutBucketAclOutput, error) {
4360 req, out := c.PutBucketAclRequest(input) 4465 req, out := c.PutBucketAclRequest(input)
4361 return out, req.Send() 4466 return out, req.Send()
@@ -4381,19 +4486,18 @@ const opPutBucketAnalyticsConfiguration = "PutBucketAnalyticsConfiguration"
4381 4486
4382// PutBucketAnalyticsConfigurationRequest generates a "aws/request.Request" representing the 4487// PutBucketAnalyticsConfigurationRequest generates a "aws/request.Request" representing the
4383// client's request for the PutBucketAnalyticsConfiguration operation. The "output" return 4488// client's request for the PutBucketAnalyticsConfiguration operation. The "output" return
4384// value can be used to capture response data after the request's "Send" method 4489// value will be populated with the request's response once the request completes
4385// is called. 4490// successfuly.
4386// 4491//
4387// See PutBucketAnalyticsConfiguration for usage and error information. 4492// Use "Send" method on the returned Request to send the API call to the service.
4493// the "output" return value is not valid until after Send returns without error.
4388// 4494//
4389// Creating a request object using this method should be used when you want to inject 4495// See PutBucketAnalyticsConfiguration for more information on using the PutBucketAnalyticsConfiguration
4390// custom logic into the request's lifecycle using a custom handler, or if you want to 4496// API call, and error handling.
4391// access properties on the request object before or after sending the request. If 4497//
4392// you just want the service response, call the PutBucketAnalyticsConfiguration method directly 4498// This method is useful when you want to inject custom logic or configuration
4393// instead. 4499// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4394// 4500//
4395// Note: You must call the "Send" method on the returned request object in order
4396// to execute the request.
4397// 4501//
4398// // Example sending a request using the PutBucketAnalyticsConfigurationRequest method. 4502// // Example sending a request using the PutBucketAnalyticsConfigurationRequest method.
4399// req, resp := client.PutBucketAnalyticsConfigurationRequest(params) 4503// req, resp := client.PutBucketAnalyticsConfigurationRequest(params)
@@ -4403,7 +4507,7 @@ const opPutBucketAnalyticsConfiguration = "PutBucketAnalyticsConfiguration"
4403// fmt.Println(resp) 4507// fmt.Println(resp)
4404// } 4508// }
4405// 4509//
4406// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAnalyticsConfiguration 4510// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAnalyticsConfiguration
4407func (c *S3) PutBucketAnalyticsConfigurationRequest(input *PutBucketAnalyticsConfigurationInput) (req *request.Request, output *PutBucketAnalyticsConfigurationOutput) { 4511func (c *S3) PutBucketAnalyticsConfigurationRequest(input *PutBucketAnalyticsConfigurationInput) (req *request.Request, output *PutBucketAnalyticsConfigurationOutput) {
4408 op := &request.Operation{ 4512 op := &request.Operation{
4409 Name: opPutBucketAnalyticsConfiguration, 4513 Name: opPutBucketAnalyticsConfiguration,
@@ -4433,7 +4537,7 @@ func (c *S3) PutBucketAnalyticsConfigurationRequest(input *PutBucketAnalyticsCon
4433// 4537//
4434// See the AWS API reference guide for Amazon Simple Storage Service's 4538// See the AWS API reference guide for Amazon Simple Storage Service's
4435// API operation PutBucketAnalyticsConfiguration for usage and error information. 4539// API operation PutBucketAnalyticsConfiguration for usage and error information.
4436// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAnalyticsConfiguration 4540// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAnalyticsConfiguration
4437func (c *S3) PutBucketAnalyticsConfiguration(input *PutBucketAnalyticsConfigurationInput) (*PutBucketAnalyticsConfigurationOutput, error) { 4541func (c *S3) PutBucketAnalyticsConfiguration(input *PutBucketAnalyticsConfigurationInput) (*PutBucketAnalyticsConfigurationOutput, error) {
4438 req, out := c.PutBucketAnalyticsConfigurationRequest(input) 4542 req, out := c.PutBucketAnalyticsConfigurationRequest(input)
4439 return out, req.Send() 4543 return out, req.Send()
@@ -4459,19 +4563,18 @@ const opPutBucketCors = "PutBucketCors"
4459 4563
4460// PutBucketCorsRequest generates a "aws/request.Request" representing the 4564// PutBucketCorsRequest generates a "aws/request.Request" representing the
4461// client's request for the PutBucketCors operation. The "output" return 4565// client's request for the PutBucketCors operation. The "output" return
4462// value can be used to capture response data after the request's "Send" method 4566// value will be populated with the request's response once the request completes
4463// is called. 4567// successfuly.
4568//
4569// Use "Send" method on the returned Request to send the API call to the service.
4570// the "output" return value is not valid until after Send returns without error.
4464// 4571//
4465// See PutBucketCors for usage and error information. 4572// See PutBucketCors for more information on using the PutBucketCors
4573// API call, and error handling.
4466// 4574//
4467// Creating a request object using this method should be used when you want to inject 4575// This method is useful when you want to inject custom logic or configuration
4468// custom logic into the request's lifecycle using a custom handler, or if you want to 4576// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4469// access properties on the request object before or after sending the request. If
4470// you just want the service response, call the PutBucketCors method directly
4471// instead.
4472// 4577//
4473// Note: You must call the "Send" method on the returned request object in order
4474// to execute the request.
4475// 4578//
4476// // Example sending a request using the PutBucketCorsRequest method. 4579// // Example sending a request using the PutBucketCorsRequest method.
4477// req, resp := client.PutBucketCorsRequest(params) 4580// req, resp := client.PutBucketCorsRequest(params)
@@ -4481,7 +4584,7 @@ const opPutBucketCors = "PutBucketCors"
4481// fmt.Println(resp) 4584// fmt.Println(resp)
4482// } 4585// }
4483// 4586//
4484// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketCors 4587// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketCors
4485func (c *S3) PutBucketCorsRequest(input *PutBucketCorsInput) (req *request.Request, output *PutBucketCorsOutput) { 4588func (c *S3) PutBucketCorsRequest(input *PutBucketCorsInput) (req *request.Request, output *PutBucketCorsOutput) {
4486 op := &request.Operation{ 4589 op := &request.Operation{
4487 Name: opPutBucketCors, 4590 Name: opPutBucketCors,
@@ -4510,7 +4613,7 @@ func (c *S3) PutBucketCorsRequest(input *PutBucketCorsInput) (req *request.Reque
4510// 4613//
4511// See the AWS API reference guide for Amazon Simple Storage Service's 4614// See the AWS API reference guide for Amazon Simple Storage Service's
4512// API operation PutBucketCors for usage and error information. 4615// API operation PutBucketCors for usage and error information.
4513// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketCors 4616// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketCors
4514func (c *S3) PutBucketCors(input *PutBucketCorsInput) (*PutBucketCorsOutput, error) { 4617func (c *S3) PutBucketCors(input *PutBucketCorsInput) (*PutBucketCorsOutput, error) {
4515 req, out := c.PutBucketCorsRequest(input) 4618 req, out := c.PutBucketCorsRequest(input)
4516 return out, req.Send() 4619 return out, req.Send()
@@ -4532,23 +4635,99 @@ func (c *S3) PutBucketCorsWithContext(ctx aws.Context, input *PutBucketCorsInput
4532 return out, req.Send() 4635 return out, req.Send()
4533} 4636}
4534 4637
4638const opPutBucketEncryption = "PutBucketEncryption"
4639
4640// PutBucketEncryptionRequest generates a "aws/request.Request" representing the
4641// client's request for the PutBucketEncryption operation. The "output" return
4642// value will be populated with the request's response once the request completes
4643// successfuly.
4644//
4645// Use "Send" method on the returned Request to send the API call to the service.
4646// the "output" return value is not valid until after Send returns without error.
4647//
4648// See PutBucketEncryption for more information on using the PutBucketEncryption
4649// API call, and error handling.
4650//
4651// This method is useful when you want to inject custom logic or configuration
4652// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4653//
4654//
4655// // Example sending a request using the PutBucketEncryptionRequest method.
4656// req, resp := client.PutBucketEncryptionRequest(params)
4657//
4658// err := req.Send()
4659// if err == nil { // resp is now filled
4660// fmt.Println(resp)
4661// }
4662//
4663// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketEncryption
4664func (c *S3) PutBucketEncryptionRequest(input *PutBucketEncryptionInput) (req *request.Request, output *PutBucketEncryptionOutput) {
4665 op := &request.Operation{
4666 Name: opPutBucketEncryption,
4667 HTTPMethod: "PUT",
4668 HTTPPath: "/{Bucket}?encryption",
4669 }
4670
4671 if input == nil {
4672 input = &PutBucketEncryptionInput{}
4673 }
4674
4675 output = &PutBucketEncryptionOutput{}
4676 req = c.newRequest(op, input, output)
4677 req.Handlers.Unmarshal.Remove(restxml.UnmarshalHandler)
4678 req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler)
4679 return
4680}
4681
4682// PutBucketEncryption API operation for Amazon Simple Storage Service.
4683//
4684// Creates a new server-side encryption configuration (or replaces an existing
4685// one, if present).
4686//
4687// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4688// with awserr.Error's Code and Message methods to get detailed information about
4689// the error.
4690//
4691// See the AWS API reference guide for Amazon Simple Storage Service's
4692// API operation PutBucketEncryption for usage and error information.
4693// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketEncryption
4694func (c *S3) PutBucketEncryption(input *PutBucketEncryptionInput) (*PutBucketEncryptionOutput, error) {
4695 req, out := c.PutBucketEncryptionRequest(input)
4696 return out, req.Send()
4697}
4698
4699// PutBucketEncryptionWithContext is the same as PutBucketEncryption with the addition of
4700// the ability to pass a context and additional request options.
4701//
4702// See PutBucketEncryption for details on how to use this API operation.
4703//
4704// The context must be non-nil and will be used for request cancellation. If
4705// the context is nil a panic will occur. In the future the SDK may create
4706// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4707// for more information on using Contexts.
4708func (c *S3) PutBucketEncryptionWithContext(ctx aws.Context, input *PutBucketEncryptionInput, opts ...request.Option) (*PutBucketEncryptionOutput, error) {
4709 req, out := c.PutBucketEncryptionRequest(input)
4710 req.SetContext(ctx)
4711 req.ApplyOptions(opts...)
4712 return out, req.Send()
4713}
4714
4535const opPutBucketInventoryConfiguration = "PutBucketInventoryConfiguration" 4715const opPutBucketInventoryConfiguration = "PutBucketInventoryConfiguration"
4536 4716
4537// PutBucketInventoryConfigurationRequest generates a "aws/request.Request" representing the 4717// PutBucketInventoryConfigurationRequest generates a "aws/request.Request" representing the
4538// client's request for the PutBucketInventoryConfiguration operation. The "output" return 4718// client's request for the PutBucketInventoryConfiguration operation. The "output" return
4539// value can be used to capture response data after the request's "Send" method 4719// value will be populated with the request's response once the request completes
4540// is called. 4720// successfuly.
4541// 4721//
4542// See PutBucketInventoryConfiguration for usage and error information. 4722// Use "Send" method on the returned Request to send the API call to the service.
4723// the "output" return value is not valid until after Send returns without error.
4543// 4724//
4544// Creating a request object using this method should be used when you want to inject 4725// See PutBucketInventoryConfiguration for more information on using the PutBucketInventoryConfiguration
4545// custom logic into the request's lifecycle using a custom handler, or if you want to 4726// API call, and error handling.
4546// access properties on the request object before or after sending the request. If 4727//
4547// you just want the service response, call the PutBucketInventoryConfiguration method directly 4728// This method is useful when you want to inject custom logic or configuration
4548// instead. 4729// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4549// 4730//
4550// Note: You must call the "Send" method on the returned request object in order
4551// to execute the request.
4552// 4731//
4553// // Example sending a request using the PutBucketInventoryConfigurationRequest method. 4732// // Example sending a request using the PutBucketInventoryConfigurationRequest method.
4554// req, resp := client.PutBucketInventoryConfigurationRequest(params) 4733// req, resp := client.PutBucketInventoryConfigurationRequest(params)
@@ -4558,7 +4737,7 @@ const opPutBucketInventoryConfiguration = "PutBucketInventoryConfiguration"
4558// fmt.Println(resp) 4737// fmt.Println(resp)
4559// } 4738// }
4560// 4739//
4561// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketInventoryConfiguration 4740// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketInventoryConfiguration
4562func (c *S3) PutBucketInventoryConfigurationRequest(input *PutBucketInventoryConfigurationInput) (req *request.Request, output *PutBucketInventoryConfigurationOutput) { 4741func (c *S3) PutBucketInventoryConfigurationRequest(input *PutBucketInventoryConfigurationInput) (req *request.Request, output *PutBucketInventoryConfigurationOutput) {
4563 op := &request.Operation{ 4742 op := &request.Operation{
4564 Name: opPutBucketInventoryConfiguration, 4743 Name: opPutBucketInventoryConfiguration,
@@ -4588,7 +4767,7 @@ func (c *S3) PutBucketInventoryConfigurationRequest(input *PutBucketInventoryCon
4588// 4767//
4589// See the AWS API reference guide for Amazon Simple Storage Service's 4768// See the AWS API reference guide for Amazon Simple Storage Service's
4590// API operation PutBucketInventoryConfiguration for usage and error information. 4769// API operation PutBucketInventoryConfiguration for usage and error information.
4591// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketInventoryConfiguration 4770// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketInventoryConfiguration
4592func (c *S3) PutBucketInventoryConfiguration(input *PutBucketInventoryConfigurationInput) (*PutBucketInventoryConfigurationOutput, error) { 4771func (c *S3) PutBucketInventoryConfiguration(input *PutBucketInventoryConfigurationInput) (*PutBucketInventoryConfigurationOutput, error) {
4593 req, out := c.PutBucketInventoryConfigurationRequest(input) 4772 req, out := c.PutBucketInventoryConfigurationRequest(input)
4594 return out, req.Send() 4773 return out, req.Send()
@@ -4614,19 +4793,18 @@ const opPutBucketLifecycle = "PutBucketLifecycle"
4614 4793
4615// PutBucketLifecycleRequest generates a "aws/request.Request" representing the 4794// PutBucketLifecycleRequest generates a "aws/request.Request" representing the
4616// client's request for the PutBucketLifecycle operation. The "output" return 4795// client's request for the PutBucketLifecycle operation. The "output" return
4617// value can be used to capture response data after the request's "Send" method 4796// value will be populated with the request's response once the request completes
4618// is called. 4797// successfuly.
4798//
4799// Use "Send" method on the returned Request to send the API call to the service.
4800// the "output" return value is not valid until after Send returns without error.
4619// 4801//
4620// See PutBucketLifecycle for usage and error information. 4802// See PutBucketLifecycle for more information on using the PutBucketLifecycle
4803// API call, and error handling.
4621// 4804//
4622// Creating a request object using this method should be used when you want to inject 4805// This method is useful when you want to inject custom logic or configuration
4623// custom logic into the request's lifecycle using a custom handler, or if you want to 4806// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4624// access properties on the request object before or after sending the request. If
4625// you just want the service response, call the PutBucketLifecycle method directly
4626// instead.
4627// 4807//
4628// Note: You must call the "Send" method on the returned request object in order
4629// to execute the request.
4630// 4808//
4631// // Example sending a request using the PutBucketLifecycleRequest method. 4809// // Example sending a request using the PutBucketLifecycleRequest method.
4632// req, resp := client.PutBucketLifecycleRequest(params) 4810// req, resp := client.PutBucketLifecycleRequest(params)
@@ -4636,7 +4814,7 @@ const opPutBucketLifecycle = "PutBucketLifecycle"
4636// fmt.Println(resp) 4814// fmt.Println(resp)
4637// } 4815// }
4638// 4816//
4639// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycle 4817// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycle
4640func (c *S3) PutBucketLifecycleRequest(input *PutBucketLifecycleInput) (req *request.Request, output *PutBucketLifecycleOutput) { 4818func (c *S3) PutBucketLifecycleRequest(input *PutBucketLifecycleInput) (req *request.Request, output *PutBucketLifecycleOutput) {
4641 if c.Client.Config.Logger != nil { 4819 if c.Client.Config.Logger != nil {
4642 c.Client.Config.Logger.Log("This operation, PutBucketLifecycle, has been deprecated") 4820 c.Client.Config.Logger.Log("This operation, PutBucketLifecycle, has been deprecated")
@@ -4668,7 +4846,7 @@ func (c *S3) PutBucketLifecycleRequest(input *PutBucketLifecycleInput) (req *req
4668// 4846//
4669// See the AWS API reference guide for Amazon Simple Storage Service's 4847// See the AWS API reference guide for Amazon Simple Storage Service's
4670// API operation PutBucketLifecycle for usage and error information. 4848// API operation PutBucketLifecycle for usage and error information.
4671// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycle 4849// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycle
4672func (c *S3) PutBucketLifecycle(input *PutBucketLifecycleInput) (*PutBucketLifecycleOutput, error) { 4850func (c *S3) PutBucketLifecycle(input *PutBucketLifecycleInput) (*PutBucketLifecycleOutput, error) {
4673 req, out := c.PutBucketLifecycleRequest(input) 4851 req, out := c.PutBucketLifecycleRequest(input)
4674 return out, req.Send() 4852 return out, req.Send()
@@ -4694,19 +4872,18 @@ const opPutBucketLifecycleConfiguration = "PutBucketLifecycleConfiguration"
4694 4872
4695// PutBucketLifecycleConfigurationRequest generates a "aws/request.Request" representing the 4873// PutBucketLifecycleConfigurationRequest generates a "aws/request.Request" representing the
4696// client's request for the PutBucketLifecycleConfiguration operation. The "output" return 4874// client's request for the PutBucketLifecycleConfiguration operation. The "output" return
4697// value can be used to capture response data after the request's "Send" method 4875// value will be populated with the request's response once the request completes
4698// is called. 4876// successfuly.
4699// 4877//
4700// See PutBucketLifecycleConfiguration for usage and error information. 4878// Use "Send" method on the returned Request to send the API call to the service.
4879// the "output" return value is not valid until after Send returns without error.
4701// 4880//
4702// Creating a request object using this method should be used when you want to inject 4881// See PutBucketLifecycleConfiguration for more information on using the PutBucketLifecycleConfiguration
4703// custom logic into the request's lifecycle using a custom handler, or if you want to 4882// API call, and error handling.
4704// access properties on the request object before or after sending the request. If 4883//
4705// you just want the service response, call the PutBucketLifecycleConfiguration method directly 4884// This method is useful when you want to inject custom logic or configuration
4706// instead. 4885// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4707// 4886//
4708// Note: You must call the "Send" method on the returned request object in order
4709// to execute the request.
4710// 4887//
4711// // Example sending a request using the PutBucketLifecycleConfigurationRequest method. 4888// // Example sending a request using the PutBucketLifecycleConfigurationRequest method.
4712// req, resp := client.PutBucketLifecycleConfigurationRequest(params) 4889// req, resp := client.PutBucketLifecycleConfigurationRequest(params)
@@ -4716,7 +4893,7 @@ const opPutBucketLifecycleConfiguration = "PutBucketLifecycleConfiguration"
4716// fmt.Println(resp) 4893// fmt.Println(resp)
4717// } 4894// }
4718// 4895//
4719// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleConfiguration 4896// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleConfiguration
4720func (c *S3) PutBucketLifecycleConfigurationRequest(input *PutBucketLifecycleConfigurationInput) (req *request.Request, output *PutBucketLifecycleConfigurationOutput) { 4897func (c *S3) PutBucketLifecycleConfigurationRequest(input *PutBucketLifecycleConfigurationInput) (req *request.Request, output *PutBucketLifecycleConfigurationOutput) {
4721 op := &request.Operation{ 4898 op := &request.Operation{
4722 Name: opPutBucketLifecycleConfiguration, 4899 Name: opPutBucketLifecycleConfiguration,
@@ -4746,7 +4923,7 @@ func (c *S3) PutBucketLifecycleConfigurationRequest(input *PutBucketLifecycleCon
4746// 4923//
4747// See the AWS API reference guide for Amazon Simple Storage Service's 4924// See the AWS API reference guide for Amazon Simple Storage Service's
4748// API operation PutBucketLifecycleConfiguration for usage and error information. 4925// API operation PutBucketLifecycleConfiguration for usage and error information.
4749// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleConfiguration 4926// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleConfiguration
4750func (c *S3) PutBucketLifecycleConfiguration(input *PutBucketLifecycleConfigurationInput) (*PutBucketLifecycleConfigurationOutput, error) { 4927func (c *S3) PutBucketLifecycleConfiguration(input *PutBucketLifecycleConfigurationInput) (*PutBucketLifecycleConfigurationOutput, error) {
4751 req, out := c.PutBucketLifecycleConfigurationRequest(input) 4928 req, out := c.PutBucketLifecycleConfigurationRequest(input)
4752 return out, req.Send() 4929 return out, req.Send()
@@ -4772,19 +4949,18 @@ const opPutBucketLogging = "PutBucketLogging"
4772 4949
4773// PutBucketLoggingRequest generates a "aws/request.Request" representing the 4950// PutBucketLoggingRequest generates a "aws/request.Request" representing the
4774// client's request for the PutBucketLogging operation. The "output" return 4951// client's request for the PutBucketLogging operation. The "output" return
4775// value can be used to capture response data after the request's "Send" method 4952// value will be populated with the request's response once the request completes
4776// is called. 4953// successfuly.
4954//
4955// Use "Send" method on the returned Request to send the API call to the service.
4956// the "output" return value is not valid until after Send returns without error.
4777// 4957//
4778// See PutBucketLogging for usage and error information. 4958// See PutBucketLogging for more information on using the PutBucketLogging
4959// API call, and error handling.
4779// 4960//
4780// Creating a request object using this method should be used when you want to inject 4961// This method is useful when you want to inject custom logic or configuration
4781// custom logic into the request's lifecycle using a custom handler, or if you want to 4962// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4782// access properties on the request object before or after sending the request. If
4783// you just want the service response, call the PutBucketLogging method directly
4784// instead.
4785// 4963//
4786// Note: You must call the "Send" method on the returned request object in order
4787// to execute the request.
4788// 4964//
4789// // Example sending a request using the PutBucketLoggingRequest method. 4965// // Example sending a request using the PutBucketLoggingRequest method.
4790// req, resp := client.PutBucketLoggingRequest(params) 4966// req, resp := client.PutBucketLoggingRequest(params)
@@ -4794,7 +4970,7 @@ const opPutBucketLogging = "PutBucketLogging"
4794// fmt.Println(resp) 4970// fmt.Println(resp)
4795// } 4971// }
4796// 4972//
4797// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLogging 4973// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLogging
4798func (c *S3) PutBucketLoggingRequest(input *PutBucketLoggingInput) (req *request.Request, output *PutBucketLoggingOutput) { 4974func (c *S3) PutBucketLoggingRequest(input *PutBucketLoggingInput) (req *request.Request, output *PutBucketLoggingOutput) {
4799 op := &request.Operation{ 4975 op := &request.Operation{
4800 Name: opPutBucketLogging, 4976 Name: opPutBucketLogging,
@@ -4825,7 +5001,7 @@ func (c *S3) PutBucketLoggingRequest(input *PutBucketLoggingInput) (req *request
4825// 5001//
4826// See the AWS API reference guide for Amazon Simple Storage Service's 5002// See the AWS API reference guide for Amazon Simple Storage Service's
4827// API operation PutBucketLogging for usage and error information. 5003// API operation PutBucketLogging for usage and error information.
4828// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLogging 5004// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLogging
4829func (c *S3) PutBucketLogging(input *PutBucketLoggingInput) (*PutBucketLoggingOutput, error) { 5005func (c *S3) PutBucketLogging(input *PutBucketLoggingInput) (*PutBucketLoggingOutput, error) {
4830 req, out := c.PutBucketLoggingRequest(input) 5006 req, out := c.PutBucketLoggingRequest(input)
4831 return out, req.Send() 5007 return out, req.Send()
@@ -4851,19 +5027,18 @@ const opPutBucketMetricsConfiguration = "PutBucketMetricsConfiguration"
4851 5027
4852// PutBucketMetricsConfigurationRequest generates a "aws/request.Request" representing the 5028// PutBucketMetricsConfigurationRequest generates a "aws/request.Request" representing the
4853// client's request for the PutBucketMetricsConfiguration operation. The "output" return 5029// client's request for the PutBucketMetricsConfiguration operation. The "output" return
4854// value can be used to capture response data after the request's "Send" method 5030// value will be populated with the request's response once the request completes
4855// is called. 5031// successfuly.
5032//
5033// Use "Send" method on the returned Request to send the API call to the service.
5034// the "output" return value is not valid until after Send returns without error.
4856// 5035//
4857// See PutBucketMetricsConfiguration for usage and error information. 5036// See PutBucketMetricsConfiguration for more information on using the PutBucketMetricsConfiguration
5037// API call, and error handling.
4858// 5038//
4859// Creating a request object using this method should be used when you want to inject 5039// This method is useful when you want to inject custom logic or configuration
4860// custom logic into the request's lifecycle using a custom handler, or if you want to 5040// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4861// access properties on the request object before or after sending the request. If
4862// you just want the service response, call the PutBucketMetricsConfiguration method directly
4863// instead.
4864// 5041//
4865// Note: You must call the "Send" method on the returned request object in order
4866// to execute the request.
4867// 5042//
4868// // Example sending a request using the PutBucketMetricsConfigurationRequest method. 5043// // Example sending a request using the PutBucketMetricsConfigurationRequest method.
4869// req, resp := client.PutBucketMetricsConfigurationRequest(params) 5044// req, resp := client.PutBucketMetricsConfigurationRequest(params)
@@ -4873,7 +5048,7 @@ const opPutBucketMetricsConfiguration = "PutBucketMetricsConfiguration"
4873// fmt.Println(resp) 5048// fmt.Println(resp)
4874// } 5049// }
4875// 5050//
4876// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketMetricsConfiguration 5051// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketMetricsConfiguration
4877func (c *S3) PutBucketMetricsConfigurationRequest(input *PutBucketMetricsConfigurationInput) (req *request.Request, output *PutBucketMetricsConfigurationOutput) { 5052func (c *S3) PutBucketMetricsConfigurationRequest(input *PutBucketMetricsConfigurationInput) (req *request.Request, output *PutBucketMetricsConfigurationOutput) {
4878 op := &request.Operation{ 5053 op := &request.Operation{
4879 Name: opPutBucketMetricsConfiguration, 5054 Name: opPutBucketMetricsConfiguration,
@@ -4903,7 +5078,7 @@ func (c *S3) PutBucketMetricsConfigurationRequest(input *PutBucketMetricsConfigu
4903// 5078//
4904// See the AWS API reference guide for Amazon Simple Storage Service's 5079// See the AWS API reference guide for Amazon Simple Storage Service's
4905// API operation PutBucketMetricsConfiguration for usage and error information. 5080// API operation PutBucketMetricsConfiguration for usage and error information.
4906// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketMetricsConfiguration 5081// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketMetricsConfiguration
4907func (c *S3) PutBucketMetricsConfiguration(input *PutBucketMetricsConfigurationInput) (*PutBucketMetricsConfigurationOutput, error) { 5082func (c *S3) PutBucketMetricsConfiguration(input *PutBucketMetricsConfigurationInput) (*PutBucketMetricsConfigurationOutput, error) {
4908 req, out := c.PutBucketMetricsConfigurationRequest(input) 5083 req, out := c.PutBucketMetricsConfigurationRequest(input)
4909 return out, req.Send() 5084 return out, req.Send()
@@ -4929,19 +5104,18 @@ const opPutBucketNotification = "PutBucketNotification"
4929 5104
4930// PutBucketNotificationRequest generates a "aws/request.Request" representing the 5105// PutBucketNotificationRequest generates a "aws/request.Request" representing the
4931// client's request for the PutBucketNotification operation. The "output" return 5106// client's request for the PutBucketNotification operation. The "output" return
4932// value can be used to capture response data after the request's "Send" method 5107// value will be populated with the request's response once the request completes
4933// is called. 5108// successfuly.
4934// 5109//
4935// See PutBucketNotification for usage and error information. 5110// Use "Send" method on the returned Request to send the API call to the service.
5111// the "output" return value is not valid until after Send returns without error.
4936// 5112//
4937// Creating a request object using this method should be used when you want to inject 5113// See PutBucketNotification for more information on using the PutBucketNotification
4938// custom logic into the request's lifecycle using a custom handler, or if you want to 5114// API call, and error handling.
4939// access properties on the request object before or after sending the request. If 5115//
4940// you just want the service response, call the PutBucketNotification method directly 5116// This method is useful when you want to inject custom logic or configuration
4941// instead. 5117// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4942// 5118//
4943// Note: You must call the "Send" method on the returned request object in order
4944// to execute the request.
4945// 5119//
4946// // Example sending a request using the PutBucketNotificationRequest method. 5120// // Example sending a request using the PutBucketNotificationRequest method.
4947// req, resp := client.PutBucketNotificationRequest(params) 5121// req, resp := client.PutBucketNotificationRequest(params)
@@ -4951,7 +5125,7 @@ const opPutBucketNotification = "PutBucketNotification"
4951// fmt.Println(resp) 5125// fmt.Println(resp)
4952// } 5126// }
4953// 5127//
4954// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotification 5128// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotification
4955func (c *S3) PutBucketNotificationRequest(input *PutBucketNotificationInput) (req *request.Request, output *PutBucketNotificationOutput) { 5129func (c *S3) PutBucketNotificationRequest(input *PutBucketNotificationInput) (req *request.Request, output *PutBucketNotificationOutput) {
4956 if c.Client.Config.Logger != nil { 5130 if c.Client.Config.Logger != nil {
4957 c.Client.Config.Logger.Log("This operation, PutBucketNotification, has been deprecated") 5131 c.Client.Config.Logger.Log("This operation, PutBucketNotification, has been deprecated")
@@ -4983,7 +5157,7 @@ func (c *S3) PutBucketNotificationRequest(input *PutBucketNotificationInput) (re
4983// 5157//
4984// See the AWS API reference guide for Amazon Simple Storage Service's 5158// See the AWS API reference guide for Amazon Simple Storage Service's
4985// API operation PutBucketNotification for usage and error information. 5159// API operation PutBucketNotification for usage and error information.
4986// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotification 5160// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotification
4987func (c *S3) PutBucketNotification(input *PutBucketNotificationInput) (*PutBucketNotificationOutput, error) { 5161func (c *S3) PutBucketNotification(input *PutBucketNotificationInput) (*PutBucketNotificationOutput, error) {
4988 req, out := c.PutBucketNotificationRequest(input) 5162 req, out := c.PutBucketNotificationRequest(input)
4989 return out, req.Send() 5163 return out, req.Send()
@@ -5009,19 +5183,18 @@ const opPutBucketNotificationConfiguration = "PutBucketNotificationConfiguration
5009 5183
5010// PutBucketNotificationConfigurationRequest generates a "aws/request.Request" representing the 5184// PutBucketNotificationConfigurationRequest generates a "aws/request.Request" representing the
5011// client's request for the PutBucketNotificationConfiguration operation. The "output" return 5185// client's request for the PutBucketNotificationConfiguration operation. The "output" return
5012// value can be used to capture response data after the request's "Send" method 5186// value will be populated with the request's response once the request completes
5013// is called. 5187// successfuly.
5188//
5189// Use "Send" method on the returned Request to send the API call to the service.
5190// the "output" return value is not valid until after Send returns without error.
5014// 5191//
5015// See PutBucketNotificationConfiguration for usage and error information. 5192// See PutBucketNotificationConfiguration for more information on using the PutBucketNotificationConfiguration
5193// API call, and error handling.
5016// 5194//
5017// Creating a request object using this method should be used when you want to inject 5195// This method is useful when you want to inject custom logic or configuration
5018// custom logic into the request's lifecycle using a custom handler, or if you want to 5196// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5019// access properties on the request object before or after sending the request. If
5020// you just want the service response, call the PutBucketNotificationConfiguration method directly
5021// instead.
5022// 5197//
5023// Note: You must call the "Send" method on the returned request object in order
5024// to execute the request.
5025// 5198//
5026// // Example sending a request using the PutBucketNotificationConfigurationRequest method. 5199// // Example sending a request using the PutBucketNotificationConfigurationRequest method.
5027// req, resp := client.PutBucketNotificationConfigurationRequest(params) 5200// req, resp := client.PutBucketNotificationConfigurationRequest(params)
@@ -5031,7 +5204,7 @@ const opPutBucketNotificationConfiguration = "PutBucketNotificationConfiguration
5031// fmt.Println(resp) 5204// fmt.Println(resp)
5032// } 5205// }
5033// 5206//
5034// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotificationConfiguration 5207// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotificationConfiguration
5035func (c *S3) PutBucketNotificationConfigurationRequest(input *PutBucketNotificationConfigurationInput) (req *request.Request, output *PutBucketNotificationConfigurationOutput) { 5208func (c *S3) PutBucketNotificationConfigurationRequest(input *PutBucketNotificationConfigurationInput) (req *request.Request, output *PutBucketNotificationConfigurationOutput) {
5036 op := &request.Operation{ 5209 op := &request.Operation{
5037 Name: opPutBucketNotificationConfiguration, 5210 Name: opPutBucketNotificationConfiguration,
@@ -5060,7 +5233,7 @@ func (c *S3) PutBucketNotificationConfigurationRequest(input *PutBucketNotificat
5060// 5233//
5061// See the AWS API reference guide for Amazon Simple Storage Service's 5234// See the AWS API reference guide for Amazon Simple Storage Service's
5062// API operation PutBucketNotificationConfiguration for usage and error information. 5235// API operation PutBucketNotificationConfiguration for usage and error information.
5063// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotificationConfiguration 5236// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotificationConfiguration
5064func (c *S3) PutBucketNotificationConfiguration(input *PutBucketNotificationConfigurationInput) (*PutBucketNotificationConfigurationOutput, error) { 5237func (c *S3) PutBucketNotificationConfiguration(input *PutBucketNotificationConfigurationInput) (*PutBucketNotificationConfigurationOutput, error) {
5065 req, out := c.PutBucketNotificationConfigurationRequest(input) 5238 req, out := c.PutBucketNotificationConfigurationRequest(input)
5066 return out, req.Send() 5239 return out, req.Send()
@@ -5086,19 +5259,18 @@ const opPutBucketPolicy = "PutBucketPolicy"
5086 5259
5087// PutBucketPolicyRequest generates a "aws/request.Request" representing the 5260// PutBucketPolicyRequest generates a "aws/request.Request" representing the
5088// client's request for the PutBucketPolicy operation. The "output" return 5261// client's request for the PutBucketPolicy operation. The "output" return
5089// value can be used to capture response data after the request's "Send" method 5262// value will be populated with the request's response once the request completes
5090// is called. 5263// successfuly.
5091// 5264//
5092// See PutBucketPolicy for usage and error information. 5265// Use "Send" method on the returned Request to send the API call to the service.
5266// the "output" return value is not valid until after Send returns without error.
5093// 5267//
5094// Creating a request object using this method should be used when you want to inject 5268// See PutBucketPolicy for more information on using the PutBucketPolicy
5095// custom logic into the request's lifecycle using a custom handler, or if you want to 5269// API call, and error handling.
5096// access properties on the request object before or after sending the request. If 5270//
5097// you just want the service response, call the PutBucketPolicy method directly 5271// This method is useful when you want to inject custom logic or configuration
5098// instead. 5272// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5099// 5273//
5100// Note: You must call the "Send" method on the returned request object in order
5101// to execute the request.
5102// 5274//
5103// // Example sending a request using the PutBucketPolicyRequest method. 5275// // Example sending a request using the PutBucketPolicyRequest method.
5104// req, resp := client.PutBucketPolicyRequest(params) 5276// req, resp := client.PutBucketPolicyRequest(params)
@@ -5108,7 +5280,7 @@ const opPutBucketPolicy = "PutBucketPolicy"
5108// fmt.Println(resp) 5280// fmt.Println(resp)
5109// } 5281// }
5110// 5282//
5111// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketPolicy 5283// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketPolicy
5112func (c *S3) PutBucketPolicyRequest(input *PutBucketPolicyInput) (req *request.Request, output *PutBucketPolicyOutput) { 5284func (c *S3) PutBucketPolicyRequest(input *PutBucketPolicyInput) (req *request.Request, output *PutBucketPolicyOutput) {
5113 op := &request.Operation{ 5285 op := &request.Operation{
5114 Name: opPutBucketPolicy, 5286 Name: opPutBucketPolicy,
@@ -5138,7 +5310,7 @@ func (c *S3) PutBucketPolicyRequest(input *PutBucketPolicyInput) (req *request.R
5138// 5310//
5139// See the AWS API reference guide for Amazon Simple Storage Service's 5311// See the AWS API reference guide for Amazon Simple Storage Service's
5140// API operation PutBucketPolicy for usage and error information. 5312// API operation PutBucketPolicy for usage and error information.
5141// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketPolicy 5313// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketPolicy
5142func (c *S3) PutBucketPolicy(input *PutBucketPolicyInput) (*PutBucketPolicyOutput, error) { 5314func (c *S3) PutBucketPolicy(input *PutBucketPolicyInput) (*PutBucketPolicyOutput, error) {
5143 req, out := c.PutBucketPolicyRequest(input) 5315 req, out := c.PutBucketPolicyRequest(input)
5144 return out, req.Send() 5316 return out, req.Send()
@@ -5164,19 +5336,18 @@ const opPutBucketReplication = "PutBucketReplication"
5164 5336
5165// PutBucketReplicationRequest generates a "aws/request.Request" representing the 5337// PutBucketReplicationRequest generates a "aws/request.Request" representing the
5166// client's request for the PutBucketReplication operation. The "output" return 5338// client's request for the PutBucketReplication operation. The "output" return
5167// value can be used to capture response data after the request's "Send" method 5339// value will be populated with the request's response once the request completes
5168// is called. 5340// successfuly.
5341//
5342// Use "Send" method on the returned Request to send the API call to the service.
5343// the "output" return value is not valid until after Send returns without error.
5169// 5344//
5170// See PutBucketReplication for usage and error information. 5345// See PutBucketReplication for more information on using the PutBucketReplication
5346// API call, and error handling.
5171// 5347//
5172// Creating a request object using this method should be used when you want to inject 5348// This method is useful when you want to inject custom logic or configuration
5173// custom logic into the request's lifecycle using a custom handler, or if you want to 5349// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5174// access properties on the request object before or after sending the request. If
5175// you just want the service response, call the PutBucketReplication method directly
5176// instead.
5177// 5350//
5178// Note: You must call the "Send" method on the returned request object in order
5179// to execute the request.
5180// 5351//
5181// // Example sending a request using the PutBucketReplicationRequest method. 5352// // Example sending a request using the PutBucketReplicationRequest method.
5182// req, resp := client.PutBucketReplicationRequest(params) 5353// req, resp := client.PutBucketReplicationRequest(params)
@@ -5186,7 +5357,7 @@ const opPutBucketReplication = "PutBucketReplication"
5186// fmt.Println(resp) 5357// fmt.Println(resp)
5187// } 5358// }
5188// 5359//
5189// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketReplication 5360// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketReplication
5190func (c *S3) PutBucketReplicationRequest(input *PutBucketReplicationInput) (req *request.Request, output *PutBucketReplicationOutput) { 5361func (c *S3) PutBucketReplicationRequest(input *PutBucketReplicationInput) (req *request.Request, output *PutBucketReplicationOutput) {
5191 op := &request.Operation{ 5362 op := &request.Operation{
5192 Name: opPutBucketReplication, 5363 Name: opPutBucketReplication,
@@ -5216,7 +5387,7 @@ func (c *S3) PutBucketReplicationRequest(input *PutBucketReplicationInput) (req
5216// 5387//
5217// See the AWS API reference guide for Amazon Simple Storage Service's 5388// See the AWS API reference guide for Amazon Simple Storage Service's
5218// API operation PutBucketReplication for usage and error information. 5389// API operation PutBucketReplication for usage and error information.
5219// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketReplication 5390// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketReplication
5220func (c *S3) PutBucketReplication(input *PutBucketReplicationInput) (*PutBucketReplicationOutput, error) { 5391func (c *S3) PutBucketReplication(input *PutBucketReplicationInput) (*PutBucketReplicationOutput, error) {
5221 req, out := c.PutBucketReplicationRequest(input) 5392 req, out := c.PutBucketReplicationRequest(input)
5222 return out, req.Send() 5393 return out, req.Send()
@@ -5242,19 +5413,18 @@ const opPutBucketRequestPayment = "PutBucketRequestPayment"
5242 5413
5243// PutBucketRequestPaymentRequest generates a "aws/request.Request" representing the 5414// PutBucketRequestPaymentRequest generates a "aws/request.Request" representing the
5244// client's request for the PutBucketRequestPayment operation. The "output" return 5415// client's request for the PutBucketRequestPayment operation. The "output" return
5245// value can be used to capture response data after the request's "Send" method 5416// value will be populated with the request's response once the request completes
5246// is called. 5417// successfuly.
5247// 5418//
5248// See PutBucketRequestPayment for usage and error information. 5419// Use "Send" method on the returned Request to send the API call to the service.
5420// the "output" return value is not valid until after Send returns without error.
5249// 5421//
5250// Creating a request object using this method should be used when you want to inject 5422// See PutBucketRequestPayment for more information on using the PutBucketRequestPayment
5251// custom logic into the request's lifecycle using a custom handler, or if you want to 5423// API call, and error handling.
5252// access properties on the request object before or after sending the request. If 5424//
5253// you just want the service response, call the PutBucketRequestPayment method directly 5425// This method is useful when you want to inject custom logic or configuration
5254// instead. 5426// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5255// 5427//
5256// Note: You must call the "Send" method on the returned request object in order
5257// to execute the request.
5258// 5428//
5259// // Example sending a request using the PutBucketRequestPaymentRequest method. 5429// // Example sending a request using the PutBucketRequestPaymentRequest method.
5260// req, resp := client.PutBucketRequestPaymentRequest(params) 5430// req, resp := client.PutBucketRequestPaymentRequest(params)
@@ -5264,7 +5434,7 @@ const opPutBucketRequestPayment = "PutBucketRequestPayment"
5264// fmt.Println(resp) 5434// fmt.Println(resp)
5265// } 5435// }
5266// 5436//
5267// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketRequestPayment 5437// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketRequestPayment
5268func (c *S3) PutBucketRequestPaymentRequest(input *PutBucketRequestPaymentInput) (req *request.Request, output *PutBucketRequestPaymentOutput) { 5438func (c *S3) PutBucketRequestPaymentRequest(input *PutBucketRequestPaymentInput) (req *request.Request, output *PutBucketRequestPaymentOutput) {
5269 op := &request.Operation{ 5439 op := &request.Operation{
5270 Name: opPutBucketRequestPayment, 5440 Name: opPutBucketRequestPayment,
@@ -5297,7 +5467,7 @@ func (c *S3) PutBucketRequestPaymentRequest(input *PutBucketRequestPaymentInput)
5297// 5467//
5298// See the AWS API reference guide for Amazon Simple Storage Service's 5468// See the AWS API reference guide for Amazon Simple Storage Service's
5299// API operation PutBucketRequestPayment for usage and error information. 5469// API operation PutBucketRequestPayment for usage and error information.
5300// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketRequestPayment 5470// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketRequestPayment
5301func (c *S3) PutBucketRequestPayment(input *PutBucketRequestPaymentInput) (*PutBucketRequestPaymentOutput, error) { 5471func (c *S3) PutBucketRequestPayment(input *PutBucketRequestPaymentInput) (*PutBucketRequestPaymentOutput, error) {
5302 req, out := c.PutBucketRequestPaymentRequest(input) 5472 req, out := c.PutBucketRequestPaymentRequest(input)
5303 return out, req.Send() 5473 return out, req.Send()
@@ -5323,19 +5493,18 @@ const opPutBucketTagging = "PutBucketTagging"
5323 5493
5324// PutBucketTaggingRequest generates a "aws/request.Request" representing the 5494// PutBucketTaggingRequest generates a "aws/request.Request" representing the
5325// client's request for the PutBucketTagging operation. The "output" return 5495// client's request for the PutBucketTagging operation. The "output" return
5326// value can be used to capture response data after the request's "Send" method 5496// value will be populated with the request's response once the request completes
5327// is called. 5497// successfuly.
5498//
5499// Use "Send" method on the returned Request to send the API call to the service.
5500// the "output" return value is not valid until after Send returns without error.
5328// 5501//
5329// See PutBucketTagging for usage and error information. 5502// See PutBucketTagging for more information on using the PutBucketTagging
5503// API call, and error handling.
5330// 5504//
5331// Creating a request object using this method should be used when you want to inject 5505// This method is useful when you want to inject custom logic or configuration
5332// custom logic into the request's lifecycle using a custom handler, or if you want to 5506// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5333// access properties on the request object before or after sending the request. If
5334// you just want the service response, call the PutBucketTagging method directly
5335// instead.
5336// 5507//
5337// Note: You must call the "Send" method on the returned request object in order
5338// to execute the request.
5339// 5508//
5340// // Example sending a request using the PutBucketTaggingRequest method. 5509// // Example sending a request using the PutBucketTaggingRequest method.
5341// req, resp := client.PutBucketTaggingRequest(params) 5510// req, resp := client.PutBucketTaggingRequest(params)
@@ -5345,7 +5514,7 @@ const opPutBucketTagging = "PutBucketTagging"
5345// fmt.Println(resp) 5514// fmt.Println(resp)
5346// } 5515// }
5347// 5516//
5348// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketTagging 5517// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketTagging
5349func (c *S3) PutBucketTaggingRequest(input *PutBucketTaggingInput) (req *request.Request, output *PutBucketTaggingOutput) { 5518func (c *S3) PutBucketTaggingRequest(input *PutBucketTaggingInput) (req *request.Request, output *PutBucketTaggingOutput) {
5350 op := &request.Operation{ 5519 op := &request.Operation{
5351 Name: opPutBucketTagging, 5520 Name: opPutBucketTagging,
@@ -5374,7 +5543,7 @@ func (c *S3) PutBucketTaggingRequest(input *PutBucketTaggingInput) (req *request
5374// 5543//
5375// See the AWS API reference guide for Amazon Simple Storage Service's 5544// See the AWS API reference guide for Amazon Simple Storage Service's
5376// API operation PutBucketTagging for usage and error information. 5545// API operation PutBucketTagging for usage and error information.
5377// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketTagging 5546// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketTagging
5378func (c *S3) PutBucketTagging(input *PutBucketTaggingInput) (*PutBucketTaggingOutput, error) { 5547func (c *S3) PutBucketTagging(input *PutBucketTaggingInput) (*PutBucketTaggingOutput, error) {
5379 req, out := c.PutBucketTaggingRequest(input) 5548 req, out := c.PutBucketTaggingRequest(input)
5380 return out, req.Send() 5549 return out, req.Send()
@@ -5400,19 +5569,18 @@ const opPutBucketVersioning = "PutBucketVersioning"
5400 5569
5401// PutBucketVersioningRequest generates a "aws/request.Request" representing the 5570// PutBucketVersioningRequest generates a "aws/request.Request" representing the
5402// client's request for the PutBucketVersioning operation. The "output" return 5571// client's request for the PutBucketVersioning operation. The "output" return
5403// value can be used to capture response data after the request's "Send" method 5572// value will be populated with the request's response once the request completes
5404// is called. 5573// successfuly.
5574//
5575// Use "Send" method on the returned Request to send the API call to the service.
5576// the "output" return value is not valid until after Send returns without error.
5405// 5577//
5406// See PutBucketVersioning for usage and error information. 5578// See PutBucketVersioning for more information on using the PutBucketVersioning
5579// API call, and error handling.
5407// 5580//
5408// Creating a request object using this method should be used when you want to inject 5581// This method is useful when you want to inject custom logic or configuration
5409// custom logic into the request's lifecycle using a custom handler, or if you want to 5582// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5410// access properties on the request object before or after sending the request. If
5411// you just want the service response, call the PutBucketVersioning method directly
5412// instead.
5413// 5583//
5414// Note: You must call the "Send" method on the returned request object in order
5415// to execute the request.
5416// 5584//
5417// // Example sending a request using the PutBucketVersioningRequest method. 5585// // Example sending a request using the PutBucketVersioningRequest method.
5418// req, resp := client.PutBucketVersioningRequest(params) 5586// req, resp := client.PutBucketVersioningRequest(params)
@@ -5422,7 +5590,7 @@ const opPutBucketVersioning = "PutBucketVersioning"
5422// fmt.Println(resp) 5590// fmt.Println(resp)
5423// } 5591// }
5424// 5592//
5425// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketVersioning 5593// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketVersioning
5426func (c *S3) PutBucketVersioningRequest(input *PutBucketVersioningInput) (req *request.Request, output *PutBucketVersioningOutput) { 5594func (c *S3) PutBucketVersioningRequest(input *PutBucketVersioningInput) (req *request.Request, output *PutBucketVersioningOutput) {
5427 op := &request.Operation{ 5595 op := &request.Operation{
5428 Name: opPutBucketVersioning, 5596 Name: opPutBucketVersioning,
@@ -5452,7 +5620,7 @@ func (c *S3) PutBucketVersioningRequest(input *PutBucketVersioningInput) (req *r
5452// 5620//
5453// See the AWS API reference guide for Amazon Simple Storage Service's 5621// See the AWS API reference guide for Amazon Simple Storage Service's
5454// API operation PutBucketVersioning for usage and error information. 5622// API operation PutBucketVersioning for usage and error information.
5455// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketVersioning 5623// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketVersioning
5456func (c *S3) PutBucketVersioning(input *PutBucketVersioningInput) (*PutBucketVersioningOutput, error) { 5624func (c *S3) PutBucketVersioning(input *PutBucketVersioningInput) (*PutBucketVersioningOutput, error) {
5457 req, out := c.PutBucketVersioningRequest(input) 5625 req, out := c.PutBucketVersioningRequest(input)
5458 return out, req.Send() 5626 return out, req.Send()
@@ -5478,19 +5646,18 @@ const opPutBucketWebsite = "PutBucketWebsite"
5478 5646
5479// PutBucketWebsiteRequest generates a "aws/request.Request" representing the 5647// PutBucketWebsiteRequest generates a "aws/request.Request" representing the
5480// client's request for the PutBucketWebsite operation. The "output" return 5648// client's request for the PutBucketWebsite operation. The "output" return
5481// value can be used to capture response data after the request's "Send" method 5649// value will be populated with the request's response once the request completes
5482// is called. 5650// successfuly.
5483// 5651//
5484// See PutBucketWebsite for usage and error information. 5652// Use "Send" method on the returned Request to send the API call to the service.
5653// the "output" return value is not valid until after Send returns without error.
5485// 5654//
5486// Creating a request object using this method should be used when you want to inject 5655// See PutBucketWebsite for more information on using the PutBucketWebsite
5487// custom logic into the request's lifecycle using a custom handler, or if you want to 5656// API call, and error handling.
5488// access properties on the request object before or after sending the request. If 5657//
5489// you just want the service response, call the PutBucketWebsite method directly 5658// This method is useful when you want to inject custom logic or configuration
5490// instead. 5659// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5491// 5660//
5492// Note: You must call the "Send" method on the returned request object in order
5493// to execute the request.
5494// 5661//
5495// // Example sending a request using the PutBucketWebsiteRequest method. 5662// // Example sending a request using the PutBucketWebsiteRequest method.
5496// req, resp := client.PutBucketWebsiteRequest(params) 5663// req, resp := client.PutBucketWebsiteRequest(params)
@@ -5500,7 +5667,7 @@ const opPutBucketWebsite = "PutBucketWebsite"
5500// fmt.Println(resp) 5667// fmt.Println(resp)
5501// } 5668// }
5502// 5669//
5503// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketWebsite 5670// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketWebsite
5504func (c *S3) PutBucketWebsiteRequest(input *PutBucketWebsiteInput) (req *request.Request, output *PutBucketWebsiteOutput) { 5671func (c *S3) PutBucketWebsiteRequest(input *PutBucketWebsiteInput) (req *request.Request, output *PutBucketWebsiteOutput) {
5505 op := &request.Operation{ 5672 op := &request.Operation{
5506 Name: opPutBucketWebsite, 5673 Name: opPutBucketWebsite,
@@ -5529,7 +5696,7 @@ func (c *S3) PutBucketWebsiteRequest(input *PutBucketWebsiteInput) (req *request
5529// 5696//
5530// See the AWS API reference guide for Amazon Simple Storage Service's 5697// See the AWS API reference guide for Amazon Simple Storage Service's
5531// API operation PutBucketWebsite for usage and error information. 5698// API operation PutBucketWebsite for usage and error information.
5532// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketWebsite 5699// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketWebsite
5533func (c *S3) PutBucketWebsite(input *PutBucketWebsiteInput) (*PutBucketWebsiteOutput, error) { 5700func (c *S3) PutBucketWebsite(input *PutBucketWebsiteInput) (*PutBucketWebsiteOutput, error) {
5534 req, out := c.PutBucketWebsiteRequest(input) 5701 req, out := c.PutBucketWebsiteRequest(input)
5535 return out, req.Send() 5702 return out, req.Send()
@@ -5555,19 +5722,18 @@ const opPutObject = "PutObject"
5555 5722
5556// PutObjectRequest generates a "aws/request.Request" representing the 5723// PutObjectRequest generates a "aws/request.Request" representing the
5557// client's request for the PutObject operation. The "output" return 5724// client's request for the PutObject operation. The "output" return
5558// value can be used to capture response data after the request's "Send" method 5725// value will be populated with the request's response once the request completes
5559// is called. 5726// successfuly.
5727//
5728// Use "Send" method on the returned Request to send the API call to the service.
5729// the "output" return value is not valid until after Send returns without error.
5560// 5730//
5561// See PutObject for usage and error information. 5731// See PutObject for more information on using the PutObject
5732// API call, and error handling.
5562// 5733//
5563// Creating a request object using this method should be used when you want to inject 5734// This method is useful when you want to inject custom logic or configuration
5564// custom logic into the request's lifecycle using a custom handler, or if you want to 5735// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5565// access properties on the request object before or after sending the request. If
5566// you just want the service response, call the PutObject method directly
5567// instead.
5568// 5736//
5569// Note: You must call the "Send" method on the returned request object in order
5570// to execute the request.
5571// 5737//
5572// // Example sending a request using the PutObjectRequest method. 5738// // Example sending a request using the PutObjectRequest method.
5573// req, resp := client.PutObjectRequest(params) 5739// req, resp := client.PutObjectRequest(params)
@@ -5577,7 +5743,7 @@ const opPutObject = "PutObject"
5577// fmt.Println(resp) 5743// fmt.Println(resp)
5578// } 5744// }
5579// 5745//
5580// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObject 5746// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObject
5581func (c *S3) PutObjectRequest(input *PutObjectInput) (req *request.Request, output *PutObjectOutput) { 5747func (c *S3) PutObjectRequest(input *PutObjectInput) (req *request.Request, output *PutObjectOutput) {
5582 op := &request.Operation{ 5748 op := &request.Operation{
5583 Name: opPutObject, 5749 Name: opPutObject,
@@ -5604,7 +5770,7 @@ func (c *S3) PutObjectRequest(input *PutObjectInput) (req *request.Request, outp
5604// 5770//
5605// See the AWS API reference guide for Amazon Simple Storage Service's 5771// See the AWS API reference guide for Amazon Simple Storage Service's
5606// API operation PutObject for usage and error information. 5772// API operation PutObject for usage and error information.
5607// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObject 5773// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObject
5608func (c *S3) PutObject(input *PutObjectInput) (*PutObjectOutput, error) { 5774func (c *S3) PutObject(input *PutObjectInput) (*PutObjectOutput, error) {
5609 req, out := c.PutObjectRequest(input) 5775 req, out := c.PutObjectRequest(input)
5610 return out, req.Send() 5776 return out, req.Send()
@@ -5630,19 +5796,18 @@ const opPutObjectAcl = "PutObjectAcl"
5630 5796
5631// PutObjectAclRequest generates a "aws/request.Request" representing the 5797// PutObjectAclRequest generates a "aws/request.Request" representing the
5632// client's request for the PutObjectAcl operation. The "output" return 5798// client's request for the PutObjectAcl operation. The "output" return
5633// value can be used to capture response data after the request's "Send" method 5799// value will be populated with the request's response once the request completes
5634// is called. 5800// successfuly.
5635// 5801//
5636// See PutObjectAcl for usage and error information. 5802// Use "Send" method on the returned Request to send the API call to the service.
5803// the "output" return value is not valid until after Send returns without error.
5637// 5804//
5638// Creating a request object using this method should be used when you want to inject 5805// See PutObjectAcl for more information on using the PutObjectAcl
5639// custom logic into the request's lifecycle using a custom handler, or if you want to 5806// API call, and error handling.
5640// access properties on the request object before or after sending the request. If 5807//
5641// you just want the service response, call the PutObjectAcl method directly 5808// This method is useful when you want to inject custom logic or configuration
5642// instead. 5809// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5643// 5810//
5644// Note: You must call the "Send" method on the returned request object in order
5645// to execute the request.
5646// 5811//
5647// // Example sending a request using the PutObjectAclRequest method. 5812// // Example sending a request using the PutObjectAclRequest method.
5648// req, resp := client.PutObjectAclRequest(params) 5813// req, resp := client.PutObjectAclRequest(params)
@@ -5652,7 +5817,7 @@ const opPutObjectAcl = "PutObjectAcl"
5652// fmt.Println(resp) 5817// fmt.Println(resp)
5653// } 5818// }
5654// 5819//
5655// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectAcl 5820// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectAcl
5656func (c *S3) PutObjectAclRequest(input *PutObjectAclInput) (req *request.Request, output *PutObjectAclOutput) { 5821func (c *S3) PutObjectAclRequest(input *PutObjectAclInput) (req *request.Request, output *PutObjectAclOutput) {
5657 op := &request.Operation{ 5822 op := &request.Operation{
5658 Name: opPutObjectAcl, 5823 Name: opPutObjectAcl,
@@ -5685,7 +5850,7 @@ func (c *S3) PutObjectAclRequest(input *PutObjectAclInput) (req *request.Request
5685// * ErrCodeNoSuchKey "NoSuchKey" 5850// * ErrCodeNoSuchKey "NoSuchKey"
5686// The specified key does not exist. 5851// The specified key does not exist.
5687// 5852//
5688// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectAcl 5853// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectAcl
5689func (c *S3) PutObjectAcl(input *PutObjectAclInput) (*PutObjectAclOutput, error) { 5854func (c *S3) PutObjectAcl(input *PutObjectAclInput) (*PutObjectAclOutput, error) {
5690 req, out := c.PutObjectAclRequest(input) 5855 req, out := c.PutObjectAclRequest(input)
5691 return out, req.Send() 5856 return out, req.Send()
@@ -5711,19 +5876,18 @@ const opPutObjectTagging = "PutObjectTagging"
5711 5876
5712// PutObjectTaggingRequest generates a "aws/request.Request" representing the 5877// PutObjectTaggingRequest generates a "aws/request.Request" representing the
5713// client's request for the PutObjectTagging operation. The "output" return 5878// client's request for the PutObjectTagging operation. The "output" return
5714// value can be used to capture response data after the request's "Send" method 5879// value will be populated with the request's response once the request completes
5715// is called. 5880// successfuly.
5881//
5882// Use "Send" method on the returned Request to send the API call to the service.
5883// the "output" return value is not valid until after Send returns without error.
5716// 5884//
5717// See PutObjectTagging for usage and error information. 5885// See PutObjectTagging for more information on using the PutObjectTagging
5886// API call, and error handling.
5718// 5887//
5719// Creating a request object using this method should be used when you want to inject 5888// This method is useful when you want to inject custom logic or configuration
5720// custom logic into the request's lifecycle using a custom handler, or if you want to 5889// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5721// access properties on the request object before or after sending the request. If
5722// you just want the service response, call the PutObjectTagging method directly
5723// instead.
5724// 5890//
5725// Note: You must call the "Send" method on the returned request object in order
5726// to execute the request.
5727// 5891//
5728// // Example sending a request using the PutObjectTaggingRequest method. 5892// // Example sending a request using the PutObjectTaggingRequest method.
5729// req, resp := client.PutObjectTaggingRequest(params) 5893// req, resp := client.PutObjectTaggingRequest(params)
@@ -5733,7 +5897,7 @@ const opPutObjectTagging = "PutObjectTagging"
5733// fmt.Println(resp) 5897// fmt.Println(resp)
5734// } 5898// }
5735// 5899//
5736// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectTagging 5900// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectTagging
5737func (c *S3) PutObjectTaggingRequest(input *PutObjectTaggingInput) (req *request.Request, output *PutObjectTaggingOutput) { 5901func (c *S3) PutObjectTaggingRequest(input *PutObjectTaggingInput) (req *request.Request, output *PutObjectTaggingOutput) {
5738 op := &request.Operation{ 5902 op := &request.Operation{
5739 Name: opPutObjectTagging, 5903 Name: opPutObjectTagging,
@@ -5760,7 +5924,7 @@ func (c *S3) PutObjectTaggingRequest(input *PutObjectTaggingInput) (req *request
5760// 5924//
5761// See the AWS API reference guide for Amazon Simple Storage Service's 5925// See the AWS API reference guide for Amazon Simple Storage Service's
5762// API operation PutObjectTagging for usage and error information. 5926// API operation PutObjectTagging for usage and error information.
5763// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectTagging 5927// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectTagging
5764func (c *S3) PutObjectTagging(input *PutObjectTaggingInput) (*PutObjectTaggingOutput, error) { 5928func (c *S3) PutObjectTagging(input *PutObjectTaggingInput) (*PutObjectTaggingOutput, error) {
5765 req, out := c.PutObjectTaggingRequest(input) 5929 req, out := c.PutObjectTaggingRequest(input)
5766 return out, req.Send() 5930 return out, req.Send()
@@ -5786,19 +5950,18 @@ const opRestoreObject = "RestoreObject"
5786 5950
5787// RestoreObjectRequest generates a "aws/request.Request" representing the 5951// RestoreObjectRequest generates a "aws/request.Request" representing the
5788// client's request for the RestoreObject operation. The "output" return 5952// client's request for the RestoreObject operation. The "output" return
5789// value can be used to capture response data after the request's "Send" method 5953// value will be populated with the request's response once the request completes
5790// is called. 5954// successfuly.
5791// 5955//
5792// See RestoreObject for usage and error information. 5956// Use "Send" method on the returned Request to send the API call to the service.
5957// the "output" return value is not valid until after Send returns without error.
5793// 5958//
5794// Creating a request object using this method should be used when you want to inject 5959// See RestoreObject for more information on using the RestoreObject
5795// custom logic into the request's lifecycle using a custom handler, or if you want to 5960// API call, and error handling.
5796// access properties on the request object before or after sending the request. If 5961//
5797// you just want the service response, call the RestoreObject method directly 5962// This method is useful when you want to inject custom logic or configuration
5798// instead. 5963// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5799// 5964//
5800// Note: You must call the "Send" method on the returned request object in order
5801// to execute the request.
5802// 5965//
5803// // Example sending a request using the RestoreObjectRequest method. 5966// // Example sending a request using the RestoreObjectRequest method.
5804// req, resp := client.RestoreObjectRequest(params) 5967// req, resp := client.RestoreObjectRequest(params)
@@ -5808,7 +5971,7 @@ const opRestoreObject = "RestoreObject"
5808// fmt.Println(resp) 5971// fmt.Println(resp)
5809// } 5972// }
5810// 5973//
5811// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RestoreObject 5974// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RestoreObject
5812func (c *S3) RestoreObjectRequest(input *RestoreObjectInput) (req *request.Request, output *RestoreObjectOutput) { 5975func (c *S3) RestoreObjectRequest(input *RestoreObjectInput) (req *request.Request, output *RestoreObjectOutput) {
5813 op := &request.Operation{ 5976 op := &request.Operation{
5814 Name: opRestoreObject, 5977 Name: opRestoreObject,
@@ -5840,7 +6003,7 @@ func (c *S3) RestoreObjectRequest(input *RestoreObjectInput) (req *request.Reque
5840// * ErrCodeObjectAlreadyInActiveTierError "ObjectAlreadyInActiveTierError" 6003// * ErrCodeObjectAlreadyInActiveTierError "ObjectAlreadyInActiveTierError"
5841// This operation is not allowed against this storage tier 6004// This operation is not allowed against this storage tier
5842// 6005//
5843// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RestoreObject 6006// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RestoreObject
5844func (c *S3) RestoreObject(input *RestoreObjectInput) (*RestoreObjectOutput, error) { 6007func (c *S3) RestoreObject(input *RestoreObjectInput) (*RestoreObjectOutput, error) {
5845 req, out := c.RestoreObjectRequest(input) 6008 req, out := c.RestoreObjectRequest(input)
5846 return out, req.Send() 6009 return out, req.Send()
@@ -5862,23 +6025,104 @@ func (c *S3) RestoreObjectWithContext(ctx aws.Context, input *RestoreObjectInput
5862 return out, req.Send() 6025 return out, req.Send()
5863} 6026}
5864 6027
6028const opSelectObjectContent = "SelectObjectContent"
6029
6030// SelectObjectContentRequest generates a "aws/request.Request" representing the
6031// client's request for the SelectObjectContent operation. The "output" return
6032// value will be populated with the request's response once the request completes
6033// successfuly.
6034//
6035// Use "Send" method on the returned Request to send the API call to the service.
6036// the "output" return value is not valid until after Send returns without error.
6037//
6038// See SelectObjectContent for more information on using the SelectObjectContent
6039// API call, and error handling.
6040//
6041// This method is useful when you want to inject custom logic or configuration
6042// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6043//
6044//
6045// // Example sending a request using the SelectObjectContentRequest method.
6046// req, resp := client.SelectObjectContentRequest(params)
6047//
6048// err := req.Send()
6049// if err == nil { // resp is now filled
6050// fmt.Println(resp)
6051// }
6052//
6053// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SelectObjectContent
6054func (c *S3) SelectObjectContentRequest(input *SelectObjectContentInput) (req *request.Request, output *SelectObjectContentOutput) {
6055 op := &request.Operation{
6056 Name: opSelectObjectContent,
6057 HTTPMethod: "POST",
6058 HTTPPath: "/{Bucket}/{Key+}?select&select-type=2",
6059 }
6060
6061 if input == nil {
6062 input = &SelectObjectContentInput{}
6063 }
6064
6065 output = &SelectObjectContentOutput{}
6066 req = c.newRequest(op, input, output)
6067 req.Handlers.Send.Swap(client.LogHTTPResponseHandler.Name, client.LogHTTPResponseHeaderHandler)
6068 req.Handlers.Unmarshal.Swap(restxml.UnmarshalHandler.Name, rest.UnmarshalHandler)
6069 req.Handlers.Unmarshal.PushBack(output.runEventStreamLoop)
6070 return
6071}
6072
6073// SelectObjectContent API operation for Amazon Simple Storage Service.
6074//
6075// This operation filters the contents of an Amazon S3 object based on a simple
6076// Structured Query Language (SQL) statement. In the request, along with the
6077// SQL expression, you must also specify a data serialization format (JSON or
6078// CSV) of the object. Amazon S3 uses this to parse object data into records,
6079// and returns only records that match the specified SQL expression. You must
6080// also specify the data serialization format for the response.
6081//
6082// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6083// with awserr.Error's Code and Message methods to get detailed information about
6084// the error.
6085//
6086// See the AWS API reference guide for Amazon Simple Storage Service's
6087// API operation SelectObjectContent for usage and error information.
6088// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SelectObjectContent
6089func (c *S3) SelectObjectContent(input *SelectObjectContentInput) (*SelectObjectContentOutput, error) {
6090 req, out := c.SelectObjectContentRequest(input)
6091 return out, req.Send()
6092}
6093
6094// SelectObjectContentWithContext is the same as SelectObjectContent with the addition of
6095// the ability to pass a context and additional request options.
6096//
6097// See SelectObjectContent for details on how to use this API operation.
6098//
6099// The context must be non-nil and will be used for request cancellation. If
6100// the context is nil a panic will occur. In the future the SDK may create
6101// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6102// for more information on using Contexts.
6103func (c *S3) SelectObjectContentWithContext(ctx aws.Context, input *SelectObjectContentInput, opts ...request.Option) (*SelectObjectContentOutput, error) {
6104 req, out := c.SelectObjectContentRequest(input)
6105 req.SetContext(ctx)
6106 req.ApplyOptions(opts...)
6107 return out, req.Send()
6108}
6109
5865const opUploadPart = "UploadPart" 6110const opUploadPart = "UploadPart"
5866 6111
5867// UploadPartRequest generates a "aws/request.Request" representing the 6112// UploadPartRequest generates a "aws/request.Request" representing the
5868// client's request for the UploadPart operation. The "output" return 6113// client's request for the UploadPart operation. The "output" return
5869// value can be used to capture response data after the request's "Send" method 6114// value will be populated with the request's response once the request completes
5870// is called. 6115// successfuly.
5871// 6116//
5872// See UploadPart for usage and error information. 6117// Use "Send" method on the returned Request to send the API call to the service.
6118// the "output" return value is not valid until after Send returns without error.
5873// 6119//
5874// Creating a request object using this method should be used when you want to inject 6120// See UploadPart for more information on using the UploadPart
5875// custom logic into the request's lifecycle using a custom handler, or if you want to 6121// API call, and error handling.
5876// access properties on the request object before or after sending the request. If 6122//
5877// you just want the service response, call the UploadPart method directly 6123// This method is useful when you want to inject custom logic or configuration
5878// instead. 6124// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5879// 6125//
5880// Note: You must call the "Send" method on the returned request object in order
5881// to execute the request.
5882// 6126//
5883// // Example sending a request using the UploadPartRequest method. 6127// // Example sending a request using the UploadPartRequest method.
5884// req, resp := client.UploadPartRequest(params) 6128// req, resp := client.UploadPartRequest(params)
@@ -5888,7 +6132,7 @@ const opUploadPart = "UploadPart"
5888// fmt.Println(resp) 6132// fmt.Println(resp)
5889// } 6133// }
5890// 6134//
5891// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPart 6135// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPart
5892func (c *S3) UploadPartRequest(input *UploadPartInput) (req *request.Request, output *UploadPartOutput) { 6136func (c *S3) UploadPartRequest(input *UploadPartInput) (req *request.Request, output *UploadPartOutput) {
5893 op := &request.Operation{ 6137 op := &request.Operation{
5894 Name: opUploadPart, 6138 Name: opUploadPart,
@@ -5921,7 +6165,7 @@ func (c *S3) UploadPartRequest(input *UploadPartInput) (req *request.Request, ou
5921// 6165//
5922// See the AWS API reference guide for Amazon Simple Storage Service's 6166// See the AWS API reference guide for Amazon Simple Storage Service's
5923// API operation UploadPart for usage and error information. 6167// API operation UploadPart for usage and error information.
5924// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPart 6168// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPart
5925func (c *S3) UploadPart(input *UploadPartInput) (*UploadPartOutput, error) { 6169func (c *S3) UploadPart(input *UploadPartInput) (*UploadPartOutput, error) {
5926 req, out := c.UploadPartRequest(input) 6170 req, out := c.UploadPartRequest(input)
5927 return out, req.Send() 6171 return out, req.Send()
@@ -5947,19 +6191,18 @@ const opUploadPartCopy = "UploadPartCopy"
5947 6191
5948// UploadPartCopyRequest generates a "aws/request.Request" representing the 6192// UploadPartCopyRequest generates a "aws/request.Request" representing the
5949// client's request for the UploadPartCopy operation. The "output" return 6193// client's request for the UploadPartCopy operation. The "output" return
5950// value can be used to capture response data after the request's "Send" method 6194// value will be populated with the request's response once the request completes
5951// is called. 6195// successfuly.
6196//
6197// Use "Send" method on the returned Request to send the API call to the service.
6198// the "output" return value is not valid until after Send returns without error.
5952// 6199//
5953// See UploadPartCopy for usage and error information. 6200// See UploadPartCopy for more information on using the UploadPartCopy
6201// API call, and error handling.
5954// 6202//
5955// Creating a request object using this method should be used when you want to inject 6203// This method is useful when you want to inject custom logic or configuration
5956// custom logic into the request's lifecycle using a custom handler, or if you want to 6204// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5957// access properties on the request object before or after sending the request. If
5958// you just want the service response, call the UploadPartCopy method directly
5959// instead.
5960// 6205//
5961// Note: You must call the "Send" method on the returned request object in order
5962// to execute the request.
5963// 6206//
5964// // Example sending a request using the UploadPartCopyRequest method. 6207// // Example sending a request using the UploadPartCopyRequest method.
5965// req, resp := client.UploadPartCopyRequest(params) 6208// req, resp := client.UploadPartCopyRequest(params)
@@ -5969,7 +6212,7 @@ const opUploadPartCopy = "UploadPartCopy"
5969// fmt.Println(resp) 6212// fmt.Println(resp)
5970// } 6213// }
5971// 6214//
5972// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartCopy 6215// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartCopy
5973func (c *S3) UploadPartCopyRequest(input *UploadPartCopyInput) (req *request.Request, output *UploadPartCopyOutput) { 6216func (c *S3) UploadPartCopyRequest(input *UploadPartCopyInput) (req *request.Request, output *UploadPartCopyOutput) {
5974 op := &request.Operation{ 6217 op := &request.Operation{
5975 Name: opUploadPartCopy, 6218 Name: opUploadPartCopy,
@@ -5996,7 +6239,7 @@ func (c *S3) UploadPartCopyRequest(input *UploadPartCopyInput) (req *request.Req
5996// 6239//
5997// See the AWS API reference guide for Amazon Simple Storage Service's 6240// See the AWS API reference guide for Amazon Simple Storage Service's
5998// API operation UploadPartCopy for usage and error information. 6241// API operation UploadPartCopy for usage and error information.
5999// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartCopy 6242// See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartCopy
6000func (c *S3) UploadPartCopy(input *UploadPartCopyInput) (*UploadPartCopyOutput, error) { 6243func (c *S3) UploadPartCopy(input *UploadPartCopyInput) (*UploadPartCopyOutput, error) {
6001 req, out := c.UploadPartCopyRequest(input) 6244 req, out := c.UploadPartCopyRequest(input)
6002 return out, req.Send() 6245 return out, req.Send()
@@ -6020,7 +6263,6 @@ func (c *S3) UploadPartCopyWithContext(ctx aws.Context, input *UploadPartCopyInp
6020 6263
6021// Specifies the days since the initiation of an Incomplete Multipart Upload 6264// Specifies the days since the initiation of an Incomplete Multipart Upload
6022// that Lifecycle will wait before permanently removing all parts of the upload. 6265// that Lifecycle will wait before permanently removing all parts of the upload.
6023// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AbortIncompleteMultipartUpload
6024type AbortIncompleteMultipartUpload struct { 6266type AbortIncompleteMultipartUpload struct {
6025 _ struct{} `type:"structure"` 6267 _ struct{} `type:"structure"`
6026 6268
@@ -6045,7 +6287,6 @@ func (s *AbortIncompleteMultipartUpload) SetDaysAfterInitiation(v int64) *AbortI
6045 return s 6287 return s
6046} 6288}
6047 6289
6048// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AbortMultipartUploadRequest
6049type AbortMultipartUploadInput struct { 6290type AbortMultipartUploadInput struct {
6050 _ struct{} `type:"structure"` 6291 _ struct{} `type:"structure"`
6051 6292
@@ -6103,6 +6344,13 @@ func (s *AbortMultipartUploadInput) SetBucket(v string) *AbortMultipartUploadInp
6103 return s 6344 return s
6104} 6345}
6105 6346
6347func (s *AbortMultipartUploadInput) getBucket() (v string) {
6348 if s.Bucket == nil {
6349 return v
6350 }
6351 return *s.Bucket
6352}
6353
6106// SetKey sets the Key field's value. 6354// SetKey sets the Key field's value.
6107func (s *AbortMultipartUploadInput) SetKey(v string) *AbortMultipartUploadInput { 6355func (s *AbortMultipartUploadInput) SetKey(v string) *AbortMultipartUploadInput {
6108 s.Key = &v 6356 s.Key = &v
@@ -6121,7 +6369,6 @@ func (s *AbortMultipartUploadInput) SetUploadId(v string) *AbortMultipartUploadI
6121 return s 6369 return s
6122} 6370}
6123 6371
6124// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AbortMultipartUploadOutput
6125type AbortMultipartUploadOutput struct { 6372type AbortMultipartUploadOutput struct {
6126 _ struct{} `type:"structure"` 6373 _ struct{} `type:"structure"`
6127 6374
@@ -6146,7 +6393,6 @@ func (s *AbortMultipartUploadOutput) SetRequestCharged(v string) *AbortMultipart
6146 return s 6393 return s
6147} 6394}
6148 6395
6149// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AccelerateConfiguration
6150type AccelerateConfiguration struct { 6396type AccelerateConfiguration struct {
6151 _ struct{} `type:"structure"` 6397 _ struct{} `type:"structure"`
6152 6398
@@ -6170,7 +6416,6 @@ func (s *AccelerateConfiguration) SetStatus(v string) *AccelerateConfiguration {
6170 return s 6416 return s
6171} 6417}
6172 6418
6173// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AccessControlPolicy
6174type AccessControlPolicy struct { 6419type AccessControlPolicy struct {
6175 _ struct{} `type:"structure"` 6420 _ struct{} `type:"structure"`
6176 6421
@@ -6222,7 +6467,45 @@ func (s *AccessControlPolicy) SetOwner(v *Owner) *AccessControlPolicy {
6222 return s 6467 return s
6223} 6468}
6224 6469
6225// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsAndOperator 6470// Container for information regarding the access control for replicas.
6471type AccessControlTranslation struct {
6472 _ struct{} `type:"structure"`
6473
6474 // The override value for the owner of the replica object.
6475 //
6476 // Owner is a required field
6477 Owner *string `type:"string" required:"true" enum:"OwnerOverride"`
6478}
6479
6480// String returns the string representation
6481func (s AccessControlTranslation) String() string {
6482 return awsutil.Prettify(s)
6483}
6484
6485// GoString returns the string representation
6486func (s AccessControlTranslation) GoString() string {
6487 return s.String()
6488}
6489
6490// Validate inspects the fields of the type to determine if they are valid.
6491func (s *AccessControlTranslation) Validate() error {
6492 invalidParams := request.ErrInvalidParams{Context: "AccessControlTranslation"}
6493 if s.Owner == nil {
6494 invalidParams.Add(request.NewErrParamRequired("Owner"))
6495 }
6496
6497 if invalidParams.Len() > 0 {
6498 return invalidParams
6499 }
6500 return nil
6501}
6502
6503// SetOwner sets the Owner field's value.
6504func (s *AccessControlTranslation) SetOwner(v string) *AccessControlTranslation {
6505 s.Owner = &v
6506 return s
6507}
6508
6226type AnalyticsAndOperator struct { 6509type AnalyticsAndOperator struct {
6227 _ struct{} `type:"structure"` 6510 _ struct{} `type:"structure"`
6228 6511
@@ -6275,7 +6558,6 @@ func (s *AnalyticsAndOperator) SetTags(v []*Tag) *AnalyticsAndOperator {
6275 return s 6558 return s
6276} 6559}
6277 6560
6278// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsConfiguration
6279type AnalyticsConfiguration struct { 6561type AnalyticsConfiguration struct {
6280 _ struct{} `type:"structure"` 6562 _ struct{} `type:"structure"`
6281 6563
@@ -6350,7 +6632,6 @@ func (s *AnalyticsConfiguration) SetStorageClassAnalysis(v *StorageClassAnalysis
6350 return s 6632 return s
6351} 6633}
6352 6634
6353// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsExportDestination
6354type AnalyticsExportDestination struct { 6635type AnalyticsExportDestination struct {
6355 _ struct{} `type:"structure"` 6636 _ struct{} `type:"structure"`
6356 6637
@@ -6394,7 +6675,6 @@ func (s *AnalyticsExportDestination) SetS3BucketDestination(v *AnalyticsS3Bucket
6394 return s 6675 return s
6395} 6676}
6396 6677
6397// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsFilter
6398type AnalyticsFilter struct { 6678type AnalyticsFilter struct {
6399 _ struct{} `type:"structure"` 6679 _ struct{} `type:"structure"`
6400 6680
@@ -6457,7 +6737,6 @@ func (s *AnalyticsFilter) SetTag(v *Tag) *AnalyticsFilter {
6457 return s 6737 return s
6458} 6738}
6459 6739
6460// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsS3BucketDestination
6461type AnalyticsS3BucketDestination struct { 6740type AnalyticsS3BucketDestination struct {
6462 _ struct{} `type:"structure"` 6741 _ struct{} `type:"structure"`
6463 6742
@@ -6512,6 +6791,13 @@ func (s *AnalyticsS3BucketDestination) SetBucket(v string) *AnalyticsS3BucketDes
6512 return s 6791 return s
6513} 6792}
6514 6793
6794func (s *AnalyticsS3BucketDestination) getBucket() (v string) {
6795 if s.Bucket == nil {
6796 return v
6797 }
6798 return *s.Bucket
6799}
6800
6515// SetBucketAccountId sets the BucketAccountId field's value. 6801// SetBucketAccountId sets the BucketAccountId field's value.
6516func (s *AnalyticsS3BucketDestination) SetBucketAccountId(v string) *AnalyticsS3BucketDestination { 6802func (s *AnalyticsS3BucketDestination) SetBucketAccountId(v string) *AnalyticsS3BucketDestination {
6517 s.BucketAccountId = &v 6803 s.BucketAccountId = &v
@@ -6530,12 +6816,11 @@ func (s *AnalyticsS3BucketDestination) SetPrefix(v string) *AnalyticsS3BucketDes
6530 return s 6816 return s
6531} 6817}
6532 6818
6533// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Bucket
6534type Bucket struct { 6819type Bucket struct {
6535 _ struct{} `type:"structure"` 6820 _ struct{} `type:"structure"`
6536 6821
6537 // Date the bucket was created. 6822 // Date the bucket was created.
6538 CreationDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` 6823 CreationDate *time.Time `type:"timestamp"`
6539 6824
6540 // The name of the bucket. 6825 // The name of the bucket.
6541 Name *string `type:"string"` 6826 Name *string `type:"string"`
@@ -6563,7 +6848,6 @@ func (s *Bucket) SetName(v string) *Bucket {
6563 return s 6848 return s
6564} 6849}
6565 6850
6566// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/BucketLifecycleConfiguration
6567type BucketLifecycleConfiguration struct { 6851type BucketLifecycleConfiguration struct {
6568 _ struct{} `type:"structure"` 6852 _ struct{} `type:"structure"`
6569 6853
@@ -6610,10 +6894,12 @@ func (s *BucketLifecycleConfiguration) SetRules(v []*LifecycleRule) *BucketLifec
6610 return s 6894 return s
6611} 6895}
6612 6896
6613// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/BucketLoggingStatus
6614type BucketLoggingStatus struct { 6897type BucketLoggingStatus struct {
6615 _ struct{} `type:"structure"` 6898 _ struct{} `type:"structure"`
6616 6899
6900 // Container for logging information. Presence of this element indicates that
6901 // logging is enabled. Parameters TargetBucket and TargetPrefix are required
6902 // in this case.
6617 LoggingEnabled *LoggingEnabled `type:"structure"` 6903 LoggingEnabled *LoggingEnabled `type:"structure"`
6618} 6904}
6619 6905
@@ -6648,7 +6934,6 @@ func (s *BucketLoggingStatus) SetLoggingEnabled(v *LoggingEnabled) *BucketLoggin
6648 return s 6934 return s
6649} 6935}
6650 6936
6651// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CORSConfiguration
6652type CORSConfiguration struct { 6937type CORSConfiguration struct {
6653 _ struct{} `type:"structure"` 6938 _ struct{} `type:"structure"`
6654 6939
@@ -6695,7 +6980,6 @@ func (s *CORSConfiguration) SetCORSRules(v []*CORSRule) *CORSConfiguration {
6695 return s 6980 return s
6696} 6981}
6697 6982
6698// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CORSRule
6699type CORSRule struct { 6983type CORSRule struct {
6700 _ struct{} `type:"structure"` 6984 _ struct{} `type:"structure"`
6701 6985
@@ -6779,7 +7063,149 @@ func (s *CORSRule) SetMaxAgeSeconds(v int64) *CORSRule {
6779 return s 7063 return s
6780} 7064}
6781 7065
6782// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CloudFunctionConfiguration 7066// Describes how a CSV-formatted input object is formatted.
7067type CSVInput struct {
7068 _ struct{} `type:"structure"`
7069
7070 // Specifies that CSV field values may contain quoted record delimiters and
7071 // such records should be allowed. Default value is FALSE. Setting this value
7072 // to TRUE may lower performance.
7073 AllowQuotedRecordDelimiter *bool `type:"boolean"`
7074
7075 // Single character used to indicate a row should be ignored when present at
7076 // the start of a row.
7077 Comments *string `type:"string"`
7078
7079 // Value used to separate individual fields in a record.
7080 FieldDelimiter *string `type:"string"`
7081
7082 // Describes the first line of input. Valid values: None, Ignore, Use.
7083 FileHeaderInfo *string `type:"string" enum:"FileHeaderInfo"`
7084
7085 // Value used for escaping where the field delimiter is part of the value.
7086 QuoteCharacter *string `type:"string"`
7087
7088 // Single character used for escaping the quote character inside an already
7089 // escaped value.
7090 QuoteEscapeCharacter *string `type:"string"`
7091
7092 // Value used to separate individual records.
7093 RecordDelimiter *string `type:"string"`
7094}
7095
7096// String returns the string representation
7097func (s CSVInput) String() string {
7098 return awsutil.Prettify(s)
7099}
7100
7101// GoString returns the string representation
7102func (s CSVInput) GoString() string {
7103 return s.String()
7104}
7105
7106// SetAllowQuotedRecordDelimiter sets the AllowQuotedRecordDelimiter field's value.
7107func (s *CSVInput) SetAllowQuotedRecordDelimiter(v bool) *CSVInput {
7108 s.AllowQuotedRecordDelimiter = &v
7109 return s
7110}
7111
7112// SetComments sets the Comments field's value.
7113func (s *CSVInput) SetComments(v string) *CSVInput {
7114 s.Comments = &v
7115 return s
7116}
7117
7118// SetFieldDelimiter sets the FieldDelimiter field's value.
7119func (s *CSVInput) SetFieldDelimiter(v string) *CSVInput {
7120 s.FieldDelimiter = &v
7121 return s
7122}
7123
7124// SetFileHeaderInfo sets the FileHeaderInfo field's value.
7125func (s *CSVInput) SetFileHeaderInfo(v string) *CSVInput {
7126 s.FileHeaderInfo = &v
7127 return s
7128}
7129
7130// SetQuoteCharacter sets the QuoteCharacter field's value.
7131func (s *CSVInput) SetQuoteCharacter(v string) *CSVInput {
7132 s.QuoteCharacter = &v
7133 return s
7134}
7135
7136// SetQuoteEscapeCharacter sets the QuoteEscapeCharacter field's value.
7137func (s *CSVInput) SetQuoteEscapeCharacter(v string) *CSVInput {
7138 s.QuoteEscapeCharacter = &v
7139 return s
7140}
7141
7142// SetRecordDelimiter sets the RecordDelimiter field's value.
7143func (s *CSVInput) SetRecordDelimiter(v string) *CSVInput {
7144 s.RecordDelimiter = &v
7145 return s
7146}
7147
7148// Describes how CSV-formatted results are formatted.
7149type CSVOutput struct {
7150 _ struct{} `type:"structure"`
7151
7152 // Value used to separate individual fields in a record.
7153 FieldDelimiter *string `type:"string"`
7154
7155 // Value used for escaping where the field delimiter is part of the value.
7156 QuoteCharacter *string `type:"string"`
7157
7158 // Single character used for escaping the quote character inside an already
7159 // escaped value.
7160 QuoteEscapeCharacter *string `type:"string"`
7161
7162 // Indicates whether or not all output fields should be quoted.
7163 QuoteFields *string `type:"string" enum:"QuoteFields"`
7164
7165 // Value used to separate individual records.
7166 RecordDelimiter *string `type:"string"`
7167}
7168
7169// String returns the string representation
7170func (s CSVOutput) String() string {
7171 return awsutil.Prettify(s)
7172}
7173
7174// GoString returns the string representation
7175func (s CSVOutput) GoString() string {
7176 return s.String()
7177}
7178
7179// SetFieldDelimiter sets the FieldDelimiter field's value.
7180func (s *CSVOutput) SetFieldDelimiter(v string) *CSVOutput {
7181 s.FieldDelimiter = &v
7182 return s
7183}
7184
7185// SetQuoteCharacter sets the QuoteCharacter field's value.
7186func (s *CSVOutput) SetQuoteCharacter(v string) *CSVOutput {
7187 s.QuoteCharacter = &v
7188 return s
7189}
7190
7191// SetQuoteEscapeCharacter sets the QuoteEscapeCharacter field's value.
7192func (s *CSVOutput) SetQuoteEscapeCharacter(v string) *CSVOutput {
7193 s.QuoteEscapeCharacter = &v
7194 return s
7195}
7196
7197// SetQuoteFields sets the QuoteFields field's value.
7198func (s *CSVOutput) SetQuoteFields(v string) *CSVOutput {
7199 s.QuoteFields = &v
7200 return s
7201}
7202
7203// SetRecordDelimiter sets the RecordDelimiter field's value.
7204func (s *CSVOutput) SetRecordDelimiter(v string) *CSVOutput {
7205 s.RecordDelimiter = &v
7206 return s
7207}
7208
6783type CloudFunctionConfiguration struct { 7209type CloudFunctionConfiguration struct {
6784 _ struct{} `type:"structure"` 7210 _ struct{} `type:"structure"`
6785 7211
@@ -6837,7 +7263,6 @@ func (s *CloudFunctionConfiguration) SetInvocationRole(v string) *CloudFunctionC
6837 return s 7263 return s
6838} 7264}
6839 7265
6840// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CommonPrefix
6841type CommonPrefix struct { 7266type CommonPrefix struct {
6842 _ struct{} `type:"structure"` 7267 _ struct{} `type:"structure"`
6843 7268
@@ -6860,7 +7285,6 @@ func (s *CommonPrefix) SetPrefix(v string) *CommonPrefix {
6860 return s 7285 return s
6861} 7286}
6862 7287
6863// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompleteMultipartUploadRequest
6864type CompleteMultipartUploadInput struct { 7288type CompleteMultipartUploadInput struct {
6865 _ struct{} `type:"structure" payload:"MultipartUpload"` 7289 _ struct{} `type:"structure" payload:"MultipartUpload"`
6866 7290
@@ -6870,7 +7294,7 @@ type CompleteMultipartUploadInput struct {
6870 // Key is a required field 7294 // Key is a required field
6871 Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` 7295 Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"`
6872 7296
6873 MultipartUpload *CompletedMultipartUpload `locationName:"CompleteMultipartUpload" type:"structure"` 7297 MultipartUpload *CompletedMultipartUpload `locationName:"CompleteMultipartUpload" type:"structure" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"`
6874 7298
6875 // Confirms that the requester knows that she or he will be charged for the 7299 // Confirms that the requester knows that she or he will be charged for the
6876 // request. Bucket owners need not specify this parameter in their requests. 7300 // request. Bucket owners need not specify this parameter in their requests.
@@ -6920,6 +7344,13 @@ func (s *CompleteMultipartUploadInput) SetBucket(v string) *CompleteMultipartUpl
6920 return s 7344 return s
6921} 7345}
6922 7346
7347func (s *CompleteMultipartUploadInput) getBucket() (v string) {
7348 if s.Bucket == nil {
7349 return v
7350 }
7351 return *s.Bucket
7352}
7353
6923// SetKey sets the Key field's value. 7354// SetKey sets the Key field's value.
6924func (s *CompleteMultipartUploadInput) SetKey(v string) *CompleteMultipartUploadInput { 7355func (s *CompleteMultipartUploadInput) SetKey(v string) *CompleteMultipartUploadInput {
6925 s.Key = &v 7356 s.Key = &v
@@ -6944,7 +7375,6 @@ func (s *CompleteMultipartUploadInput) SetUploadId(v string) *CompleteMultipartU
6944 return s 7375 return s
6945} 7376}
6946 7377
6947// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompleteMultipartUploadOutput
6948type CompleteMultipartUploadOutput struct { 7378type CompleteMultipartUploadOutput struct {
6949 _ struct{} `type:"structure"` 7379 _ struct{} `type:"structure"`
6950 7380
@@ -6993,6 +7423,13 @@ func (s *CompleteMultipartUploadOutput) SetBucket(v string) *CompleteMultipartUp
6993 return s 7423 return s
6994} 7424}
6995 7425
7426func (s *CompleteMultipartUploadOutput) getBucket() (v string) {
7427 if s.Bucket == nil {
7428 return v
7429 }
7430 return *s.Bucket
7431}
7432
6996// SetETag sets the ETag field's value. 7433// SetETag sets the ETag field's value.
6997func (s *CompleteMultipartUploadOutput) SetETag(v string) *CompleteMultipartUploadOutput { 7434func (s *CompleteMultipartUploadOutput) SetETag(v string) *CompleteMultipartUploadOutput {
6998 s.ETag = &v 7435 s.ETag = &v
@@ -7041,7 +7478,6 @@ func (s *CompleteMultipartUploadOutput) SetVersionId(v string) *CompleteMultipar
7041 return s 7478 return s
7042} 7479}
7043 7480
7044// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompletedMultipartUpload
7045type CompletedMultipartUpload struct { 7481type CompletedMultipartUpload struct {
7046 _ struct{} `type:"structure"` 7482 _ struct{} `type:"structure"`
7047 7483
@@ -7064,7 +7500,6 @@ func (s *CompletedMultipartUpload) SetParts(v []*CompletedPart) *CompletedMultip
7064 return s 7500 return s
7065} 7501}
7066 7502
7067// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompletedPart
7068type CompletedPart struct { 7503type CompletedPart struct {
7069 _ struct{} `type:"structure"` 7504 _ struct{} `type:"structure"`
7070 7505
@@ -7098,7 +7533,6 @@ func (s *CompletedPart) SetPartNumber(v int64) *CompletedPart {
7098 return s 7533 return s
7099} 7534}
7100 7535
7101// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Condition
7102type Condition struct { 7536type Condition struct {
7103 _ struct{} `type:"structure"` 7537 _ struct{} `type:"structure"`
7104 7538
@@ -7141,7 +7575,32 @@ func (s *Condition) SetKeyPrefixEquals(v string) *Condition {
7141 return s 7575 return s
7142} 7576}
7143 7577
7144// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyObjectRequest 7578type ContinuationEvent struct {
7579 _ struct{} `locationName:"ContinuationEvent" type:"structure"`
7580}
7581
7582// String returns the string representation
7583func (s ContinuationEvent) String() string {
7584 return awsutil.Prettify(s)
7585}
7586
7587// GoString returns the string representation
7588func (s ContinuationEvent) GoString() string {
7589 return s.String()
7590}
7591
7592// The ContinuationEvent is and event in the SelectObjectContentEventStream group of events.
7593func (s *ContinuationEvent) eventSelectObjectContentEventStream() {}
7594
7595// UnmarshalEvent unmarshals the EventStream Message into the ContinuationEvent value.
7596// This method is only used internally within the SDK's EventStream handling.
7597func (s *ContinuationEvent) UnmarshalEvent(
7598 payloadUnmarshaler protocol.PayloadUnmarshaler,
7599 msg eventstream.Message,
7600) error {
7601 return nil
7602}
7603
7145type CopyObjectInput struct { 7604type CopyObjectInput struct {
7146 _ struct{} `type:"structure"` 7605 _ struct{} `type:"structure"`
7147 7606
@@ -7178,14 +7637,14 @@ type CopyObjectInput struct {
7178 CopySourceIfMatch *string `location:"header" locationName:"x-amz-copy-source-if-match" type:"string"` 7637 CopySourceIfMatch *string `location:"header" locationName:"x-amz-copy-source-if-match" type:"string"`
7179 7638
7180 // Copies the object if it has been modified since the specified time. 7639 // Copies the object if it has been modified since the specified time.
7181 CopySourceIfModifiedSince *time.Time `location:"header" locationName:"x-amz-copy-source-if-modified-since" type:"timestamp" timestampFormat:"rfc822"` 7640 CopySourceIfModifiedSince *time.Time `location:"header" locationName:"x-amz-copy-source-if-modified-since" type:"timestamp"`
7182 7641
7183 // Copies the object if its entity tag (ETag) is different than the specified 7642 // Copies the object if its entity tag (ETag) is different than the specified
7184 // ETag. 7643 // ETag.
7185 CopySourceIfNoneMatch *string `location:"header" locationName:"x-amz-copy-source-if-none-match" type:"string"` 7644 CopySourceIfNoneMatch *string `location:"header" locationName:"x-amz-copy-source-if-none-match" type:"string"`
7186 7645
7187 // Copies the object if it hasn't been modified since the specified time. 7646 // Copies the object if it hasn't been modified since the specified time.
7188 CopySourceIfUnmodifiedSince *time.Time `location:"header" locationName:"x-amz-copy-source-if-unmodified-since" type:"timestamp" timestampFormat:"rfc822"` 7647 CopySourceIfUnmodifiedSince *time.Time `location:"header" locationName:"x-amz-copy-source-if-unmodified-since" type:"timestamp"`
7189 7648
7190 // Specifies the algorithm to use when decrypting the source object (e.g., AES256). 7649 // Specifies the algorithm to use when decrypting the source object (e.g., AES256).
7191 CopySourceSSECustomerAlgorithm *string `location:"header" locationName:"x-amz-copy-source-server-side-encryption-customer-algorithm" type:"string"` 7650 CopySourceSSECustomerAlgorithm *string `location:"header" locationName:"x-amz-copy-source-server-side-encryption-customer-algorithm" type:"string"`
@@ -7201,7 +7660,7 @@ type CopyObjectInput struct {
7201 CopySourceSSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-copy-source-server-side-encryption-customer-key-MD5" type:"string"` 7660 CopySourceSSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-copy-source-server-side-encryption-customer-key-MD5" type:"string"`
7202 7661
7203 // The date and time at which the object is no longer cacheable. 7662 // The date and time at which the object is no longer cacheable.
7204 Expires *time.Time `location:"header" locationName:"Expires" type:"timestamp" timestampFormat:"rfc822"` 7663 Expires *time.Time `location:"header" locationName:"Expires" type:"timestamp"`
7205 7664
7206 // Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object. 7665 // Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.
7207 GrantFullControl *string `location:"header" locationName:"x-amz-grant-full-control" type:"string"` 7666 GrantFullControl *string `location:"header" locationName:"x-amz-grant-full-control" type:"string"`
@@ -7318,6 +7777,13 @@ func (s *CopyObjectInput) SetBucket(v string) *CopyObjectInput {
7318 return s 7777 return s
7319} 7778}
7320 7779
7780func (s *CopyObjectInput) getBucket() (v string) {
7781 if s.Bucket == nil {
7782 return v
7783 }
7784 return *s.Bucket
7785}
7786
7321// SetCacheControl sets the CacheControl field's value. 7787// SetCacheControl sets the CacheControl field's value.
7322func (s *CopyObjectInput) SetCacheControl(v string) *CopyObjectInput { 7788func (s *CopyObjectInput) SetCacheControl(v string) *CopyObjectInput {
7323 s.CacheControl = &v 7789 s.CacheControl = &v
@@ -7390,6 +7856,13 @@ func (s *CopyObjectInput) SetCopySourceSSECustomerKey(v string) *CopyObjectInput
7390 return s 7856 return s
7391} 7857}
7392 7858
7859func (s *CopyObjectInput) getCopySourceSSECustomerKey() (v string) {
7860 if s.CopySourceSSECustomerKey == nil {
7861 return v
7862 }
7863 return *s.CopySourceSSECustomerKey
7864}
7865
7393// SetCopySourceSSECustomerKeyMD5 sets the CopySourceSSECustomerKeyMD5 field's value. 7866// SetCopySourceSSECustomerKeyMD5 sets the CopySourceSSECustomerKeyMD5 field's value.
7394func (s *CopyObjectInput) SetCopySourceSSECustomerKeyMD5(v string) *CopyObjectInput { 7867func (s *CopyObjectInput) SetCopySourceSSECustomerKeyMD5(v string) *CopyObjectInput {
7395 s.CopySourceSSECustomerKeyMD5 = &v 7868 s.CopySourceSSECustomerKeyMD5 = &v
@@ -7462,6 +7935,13 @@ func (s *CopyObjectInput) SetSSECustomerKey(v string) *CopyObjectInput {
7462 return s 7935 return s
7463} 7936}
7464 7937
7938func (s *CopyObjectInput) getSSECustomerKey() (v string) {
7939 if s.SSECustomerKey == nil {
7940 return v
7941 }
7942 return *s.SSECustomerKey
7943}
7944
7465// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value. 7945// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value.
7466func (s *CopyObjectInput) SetSSECustomerKeyMD5(v string) *CopyObjectInput { 7946func (s *CopyObjectInput) SetSSECustomerKeyMD5(v string) *CopyObjectInput {
7467 s.SSECustomerKeyMD5 = &v 7947 s.SSECustomerKeyMD5 = &v
@@ -7504,7 +7984,6 @@ func (s *CopyObjectInput) SetWebsiteRedirectLocation(v string) *CopyObjectInput
7504 return s 7984 return s
7505} 7985}
7506 7986
7507// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyObjectOutput
7508type CopyObjectOutput struct { 7987type CopyObjectOutput struct {
7509 _ struct{} `type:"structure" payload:"CopyObjectResult"` 7988 _ struct{} `type:"structure" payload:"CopyObjectResult"`
7510 7989
@@ -7605,13 +8084,12 @@ func (s *CopyObjectOutput) SetVersionId(v string) *CopyObjectOutput {
7605 return s 8084 return s
7606} 8085}
7607 8086
7608// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyObjectResult
7609type CopyObjectResult struct { 8087type CopyObjectResult struct {
7610 _ struct{} `type:"structure"` 8088 _ struct{} `type:"structure"`
7611 8089
7612 ETag *string `type:"string"` 8090 ETag *string `type:"string"`
7613 8091
7614 LastModified *time.Time `type:"timestamp" timestampFormat:"iso8601"` 8092 LastModified *time.Time `type:"timestamp"`
7615} 8093}
7616 8094
7617// String returns the string representation 8095// String returns the string representation
@@ -7636,7 +8114,6 @@ func (s *CopyObjectResult) SetLastModified(v time.Time) *CopyObjectResult {
7636 return s 8114 return s
7637} 8115}
7638 8116
7639// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyPartResult
7640type CopyPartResult struct { 8117type CopyPartResult struct {
7641 _ struct{} `type:"structure"` 8118 _ struct{} `type:"structure"`
7642 8119
@@ -7644,7 +8121,7 @@ type CopyPartResult struct {
7644 ETag *string `type:"string"` 8121 ETag *string `type:"string"`
7645 8122
7646 // Date and time at which the object was uploaded. 8123 // Date and time at which the object was uploaded.
7647 LastModified *time.Time `type:"timestamp" timestampFormat:"iso8601"` 8124 LastModified *time.Time `type:"timestamp"`
7648} 8125}
7649 8126
7650// String returns the string representation 8127// String returns the string representation
@@ -7669,7 +8146,6 @@ func (s *CopyPartResult) SetLastModified(v time.Time) *CopyPartResult {
7669 return s 8146 return s
7670} 8147}
7671 8148
7672// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucketConfiguration
7673type CreateBucketConfiguration struct { 8149type CreateBucketConfiguration struct {
7674 _ struct{} `type:"structure"` 8150 _ struct{} `type:"structure"`
7675 8151
@@ -7694,7 +8170,6 @@ func (s *CreateBucketConfiguration) SetLocationConstraint(v string) *CreateBucke
7694 return s 8170 return s
7695} 8171}
7696 8172
7697// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucketRequest
7698type CreateBucketInput struct { 8173type CreateBucketInput struct {
7699 _ struct{} `type:"structure" payload:"CreateBucketConfiguration"` 8174 _ struct{} `type:"structure" payload:"CreateBucketConfiguration"`
7700 8175
@@ -7704,7 +8179,7 @@ type CreateBucketInput struct {
7704 // Bucket is a required field 8179 // Bucket is a required field
7705 Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` 8180 Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
7706 8181
7707 CreateBucketConfiguration *CreateBucketConfiguration `locationName:"CreateBucketConfiguration" type:"structure"` 8182 CreateBucketConfiguration *CreateBucketConfiguration `locationName:"CreateBucketConfiguration" type:"structure" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"`
7708 8183
7709 // Allows grantee the read, write, read ACP, and write ACP permissions on the 8184 // Allows grantee the read, write, read ACP, and write ACP permissions on the
7710 // bucket. 8185 // bucket.
@@ -7758,6 +8233,13 @@ func (s *CreateBucketInput) SetBucket(v string) *CreateBucketInput {
7758 return s 8233 return s
7759} 8234}
7760 8235
8236func (s *CreateBucketInput) getBucket() (v string) {
8237 if s.Bucket == nil {
8238 return v
8239 }
8240 return *s.Bucket
8241}
8242
7761// SetCreateBucketConfiguration sets the CreateBucketConfiguration field's value. 8243// SetCreateBucketConfiguration sets the CreateBucketConfiguration field's value.
7762func (s *CreateBucketInput) SetCreateBucketConfiguration(v *CreateBucketConfiguration) *CreateBucketInput { 8244func (s *CreateBucketInput) SetCreateBucketConfiguration(v *CreateBucketConfiguration) *CreateBucketInput {
7763 s.CreateBucketConfiguration = v 8245 s.CreateBucketConfiguration = v
@@ -7794,7 +8276,6 @@ func (s *CreateBucketInput) SetGrantWriteACP(v string) *CreateBucketInput {
7794 return s 8276 return s
7795} 8277}
7796 8278
7797// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucketOutput
7798type CreateBucketOutput struct { 8279type CreateBucketOutput struct {
7799 _ struct{} `type:"structure"` 8280 _ struct{} `type:"structure"`
7800 8281
@@ -7817,7 +8298,6 @@ func (s *CreateBucketOutput) SetLocation(v string) *CreateBucketOutput {
7817 return s 8298 return s
7818} 8299}
7819 8300
7820// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateMultipartUploadRequest
7821type CreateMultipartUploadInput struct { 8301type CreateMultipartUploadInput struct {
7822 _ struct{} `type:"structure"` 8302 _ struct{} `type:"structure"`
7823 8303
@@ -7845,7 +8325,7 @@ type CreateMultipartUploadInput struct {
7845 ContentType *string `location:"header" locationName:"Content-Type" type:"string"` 8325 ContentType *string `location:"header" locationName:"Content-Type" type:"string"`
7846 8326
7847 // The date and time at which the object is no longer cacheable. 8327 // The date and time at which the object is no longer cacheable.
7848 Expires *time.Time `location:"header" locationName:"Expires" type:"timestamp" timestampFormat:"rfc822"` 8328 Expires *time.Time `location:"header" locationName:"Expires" type:"timestamp"`
7849 8329
7850 // Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object. 8330 // Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.
7851 GrantFullControl *string `location:"header" locationName:"x-amz-grant-full-control" type:"string"` 8331 GrantFullControl *string `location:"header" locationName:"x-amz-grant-full-control" type:"string"`
@@ -7899,6 +8379,9 @@ type CreateMultipartUploadInput struct {
7899 // The type of storage to use for the object. Defaults to 'STANDARD'. 8379 // The type of storage to use for the object. Defaults to 'STANDARD'.
7900 StorageClass *string `location:"header" locationName:"x-amz-storage-class" type:"string" enum:"StorageClass"` 8380 StorageClass *string `location:"header" locationName:"x-amz-storage-class" type:"string" enum:"StorageClass"`
7901 8381
8382 // The tag-set for the object. The tag-set must be encoded as URL Query parameters
8383 Tagging *string `location:"header" locationName:"x-amz-tagging" type:"string"`
8384
7902 // If the bucket is configured as a website, redirects requests for this object 8385 // If the bucket is configured as a website, redirects requests for this object
7903 // to another object in the same bucket or to an external URL. Amazon S3 stores 8386 // to another object in the same bucket or to an external URL. Amazon S3 stores
7904 // the value of this header in the object metadata. 8387 // the value of this header in the object metadata.
@@ -7946,6 +8429,13 @@ func (s *CreateMultipartUploadInput) SetBucket(v string) *CreateMultipartUploadI
7946 return s 8429 return s
7947} 8430}
7948 8431
8432func (s *CreateMultipartUploadInput) getBucket() (v string) {
8433 if s.Bucket == nil {
8434 return v
8435 }
8436 return *s.Bucket
8437}
8438
7949// SetCacheControl sets the CacheControl field's value. 8439// SetCacheControl sets the CacheControl field's value.
7950func (s *CreateMultipartUploadInput) SetCacheControl(v string) *CreateMultipartUploadInput { 8440func (s *CreateMultipartUploadInput) SetCacheControl(v string) *CreateMultipartUploadInput {
7951 s.CacheControl = &v 8441 s.CacheControl = &v
@@ -8036,6 +8526,13 @@ func (s *CreateMultipartUploadInput) SetSSECustomerKey(v string) *CreateMultipar
8036 return s 8526 return s
8037} 8527}
8038 8528
8529func (s *CreateMultipartUploadInput) getSSECustomerKey() (v string) {
8530 if s.SSECustomerKey == nil {
8531 return v
8532 }
8533 return *s.SSECustomerKey
8534}
8535
8039// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value. 8536// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value.
8040func (s *CreateMultipartUploadInput) SetSSECustomerKeyMD5(v string) *CreateMultipartUploadInput { 8537func (s *CreateMultipartUploadInput) SetSSECustomerKeyMD5(v string) *CreateMultipartUploadInput {
8041 s.SSECustomerKeyMD5 = &v 8538 s.SSECustomerKeyMD5 = &v
@@ -8060,18 +8557,23 @@ func (s *CreateMultipartUploadInput) SetStorageClass(v string) *CreateMultipartU
8060 return s 8557 return s
8061} 8558}
8062 8559
8560// SetTagging sets the Tagging field's value.
8561func (s *CreateMultipartUploadInput) SetTagging(v string) *CreateMultipartUploadInput {
8562 s.Tagging = &v
8563 return s
8564}
8565
8063// SetWebsiteRedirectLocation sets the WebsiteRedirectLocation field's value. 8566// SetWebsiteRedirectLocation sets the WebsiteRedirectLocation field's value.
8064func (s *CreateMultipartUploadInput) SetWebsiteRedirectLocation(v string) *CreateMultipartUploadInput { 8567func (s *CreateMultipartUploadInput) SetWebsiteRedirectLocation(v string) *CreateMultipartUploadInput {
8065 s.WebsiteRedirectLocation = &v 8568 s.WebsiteRedirectLocation = &v
8066 return s 8569 return s
8067} 8570}
8068 8571
8069// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateMultipartUploadOutput
8070type CreateMultipartUploadOutput struct { 8572type CreateMultipartUploadOutput struct {
8071 _ struct{} `type:"structure"` 8573 _ struct{} `type:"structure"`
8072 8574
8073 // Date when multipart upload will become eligible for abort operation by lifecycle. 8575 // Date when multipart upload will become eligible for abort operation by lifecycle.
8074 AbortDate *time.Time `location:"header" locationName:"x-amz-abort-date" type:"timestamp" timestampFormat:"rfc822"` 8576 AbortDate *time.Time `location:"header" locationName:"x-amz-abort-date" type:"timestamp"`
8075 8577
8076 // Id of the lifecycle rule that makes a multipart upload eligible for abort 8578 // Id of the lifecycle rule that makes a multipart upload eligible for abort
8077 // operation. 8579 // operation.
@@ -8137,6 +8639,13 @@ func (s *CreateMultipartUploadOutput) SetBucket(v string) *CreateMultipartUpload
8137 return s 8639 return s
8138} 8640}
8139 8641
8642func (s *CreateMultipartUploadOutput) getBucket() (v string) {
8643 if s.Bucket == nil {
8644 return v
8645 }
8646 return *s.Bucket
8647}
8648
8140// SetKey sets the Key field's value. 8649// SetKey sets the Key field's value.
8141func (s *CreateMultipartUploadOutput) SetKey(v string) *CreateMultipartUploadOutput { 8650func (s *CreateMultipartUploadOutput) SetKey(v string) *CreateMultipartUploadOutput {
8142 s.Key = &v 8651 s.Key = &v
@@ -8179,7 +8688,6 @@ func (s *CreateMultipartUploadOutput) SetUploadId(v string) *CreateMultipartUplo
8179 return s 8688 return s
8180} 8689}
8181 8690
8182// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Delete
8183type Delete struct { 8691type Delete struct {
8184 _ struct{} `type:"structure"` 8692 _ struct{} `type:"structure"`
8185 8693
@@ -8236,7 +8744,6 @@ func (s *Delete) SetQuiet(v bool) *Delete {
8236 return s 8744 return s
8237} 8745}
8238 8746
8239// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketAnalyticsConfigurationRequest
8240type DeleteBucketAnalyticsConfigurationInput struct { 8747type DeleteBucketAnalyticsConfigurationInput struct {
8241 _ struct{} `type:"structure"` 8748 _ struct{} `type:"structure"`
8242 8749
@@ -8283,13 +8790,19 @@ func (s *DeleteBucketAnalyticsConfigurationInput) SetBucket(v string) *DeleteBuc
8283 return s 8790 return s
8284} 8791}
8285 8792
8793func (s *DeleteBucketAnalyticsConfigurationInput) getBucket() (v string) {
8794 if s.Bucket == nil {
8795 return v
8796 }
8797 return *s.Bucket
8798}
8799
8286// SetId sets the Id field's value. 8800// SetId sets the Id field's value.
8287func (s *DeleteBucketAnalyticsConfigurationInput) SetId(v string) *DeleteBucketAnalyticsConfigurationInput { 8801func (s *DeleteBucketAnalyticsConfigurationInput) SetId(v string) *DeleteBucketAnalyticsConfigurationInput {
8288 s.Id = &v 8802 s.Id = &v
8289 return s 8803 return s
8290} 8804}
8291 8805
8292// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketAnalyticsConfigurationOutput
8293type DeleteBucketAnalyticsConfigurationOutput struct { 8806type DeleteBucketAnalyticsConfigurationOutput struct {
8294 _ struct{} `type:"structure"` 8807 _ struct{} `type:"structure"`
8295} 8808}
@@ -8304,7 +8817,6 @@ func (s DeleteBucketAnalyticsConfigurationOutput) GoString() string {
8304 return s.String() 8817 return s.String()
8305} 8818}
8306 8819
8307// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketCorsRequest
8308type DeleteBucketCorsInput struct { 8820type DeleteBucketCorsInput struct {
8309 _ struct{} `type:"structure"` 8821 _ struct{} `type:"structure"`
8310 8822
@@ -8341,7 +8853,13 @@ func (s *DeleteBucketCorsInput) SetBucket(v string) *DeleteBucketCorsInput {
8341 return s 8853 return s
8342} 8854}
8343 8855
8344// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketCorsOutput 8856func (s *DeleteBucketCorsInput) getBucket() (v string) {
8857 if s.Bucket == nil {
8858 return v
8859 }
8860 return *s.Bucket
8861}
8862
8345type DeleteBucketCorsOutput struct { 8863type DeleteBucketCorsOutput struct {
8346 _ struct{} `type:"structure"` 8864 _ struct{} `type:"structure"`
8347} 8865}
@@ -8356,7 +8874,66 @@ func (s DeleteBucketCorsOutput) GoString() string {
8356 return s.String() 8874 return s.String()
8357} 8875}
8358 8876
8359// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketRequest 8877type DeleteBucketEncryptionInput struct {
8878 _ struct{} `type:"structure"`
8879
8880 // The name of the bucket containing the server-side encryption configuration
8881 // to delete.
8882 //
8883 // Bucket is a required field
8884 Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
8885}
8886
8887// String returns the string representation
8888func (s DeleteBucketEncryptionInput) String() string {
8889 return awsutil.Prettify(s)
8890}
8891
8892// GoString returns the string representation
8893func (s DeleteBucketEncryptionInput) GoString() string {
8894 return s.String()
8895}
8896
8897// Validate inspects the fields of the type to determine if they are valid.
8898func (s *DeleteBucketEncryptionInput) Validate() error {
8899 invalidParams := request.ErrInvalidParams{Context: "DeleteBucketEncryptionInput"}
8900 if s.Bucket == nil {
8901 invalidParams.Add(request.NewErrParamRequired("Bucket"))
8902 }
8903
8904 if invalidParams.Len() > 0 {
8905 return invalidParams
8906 }
8907 return nil
8908}
8909
8910// SetBucket sets the Bucket field's value.
8911func (s *DeleteBucketEncryptionInput) SetBucket(v string) *DeleteBucketEncryptionInput {
8912 s.Bucket = &v
8913 return s
8914}
8915
8916func (s *DeleteBucketEncryptionInput) getBucket() (v string) {
8917 if s.Bucket == nil {
8918 return v
8919 }
8920 return *s.Bucket
8921}
8922
8923type DeleteBucketEncryptionOutput struct {
8924 _ struct{} `type:"structure"`
8925}
8926
8927// String returns the string representation
8928func (s DeleteBucketEncryptionOutput) String() string {
8929 return awsutil.Prettify(s)
8930}
8931
8932// GoString returns the string representation
8933func (s DeleteBucketEncryptionOutput) GoString() string {
8934 return s.String()
8935}
8936
8360type DeleteBucketInput struct { 8937type DeleteBucketInput struct {
8361 _ struct{} `type:"structure"` 8938 _ struct{} `type:"structure"`
8362 8939
@@ -8393,7 +8970,13 @@ func (s *DeleteBucketInput) SetBucket(v string) *DeleteBucketInput {
8393 return s 8970 return s
8394} 8971}
8395 8972
8396// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketInventoryConfigurationRequest 8973func (s *DeleteBucketInput) getBucket() (v string) {
8974 if s.Bucket == nil {
8975 return v
8976 }
8977 return *s.Bucket
8978}
8979
8397type DeleteBucketInventoryConfigurationInput struct { 8980type DeleteBucketInventoryConfigurationInput struct {
8398 _ struct{} `type:"structure"` 8981 _ struct{} `type:"structure"`
8399 8982
@@ -8440,13 +9023,19 @@ func (s *DeleteBucketInventoryConfigurationInput) SetBucket(v string) *DeleteBuc
8440 return s 9023 return s
8441} 9024}
8442 9025
9026func (s *DeleteBucketInventoryConfigurationInput) getBucket() (v string) {
9027 if s.Bucket == nil {
9028 return v
9029 }
9030 return *s.Bucket
9031}
9032
8443// SetId sets the Id field's value. 9033// SetId sets the Id field's value.
8444func (s *DeleteBucketInventoryConfigurationInput) SetId(v string) *DeleteBucketInventoryConfigurationInput { 9034func (s *DeleteBucketInventoryConfigurationInput) SetId(v string) *DeleteBucketInventoryConfigurationInput {
8445 s.Id = &v 9035 s.Id = &v
8446 return s 9036 return s
8447} 9037}
8448 9038
8449// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketInventoryConfigurationOutput
8450type DeleteBucketInventoryConfigurationOutput struct { 9039type DeleteBucketInventoryConfigurationOutput struct {
8451 _ struct{} `type:"structure"` 9040 _ struct{} `type:"structure"`
8452} 9041}
@@ -8461,7 +9050,6 @@ func (s DeleteBucketInventoryConfigurationOutput) GoString() string {
8461 return s.String() 9050 return s.String()
8462} 9051}
8463 9052
8464// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketLifecycleRequest
8465type DeleteBucketLifecycleInput struct { 9053type DeleteBucketLifecycleInput struct {
8466 _ struct{} `type:"structure"` 9054 _ struct{} `type:"structure"`
8467 9055
@@ -8498,7 +9086,13 @@ func (s *DeleteBucketLifecycleInput) SetBucket(v string) *DeleteBucketLifecycleI
8498 return s 9086 return s
8499} 9087}
8500 9088
8501// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketLifecycleOutput 9089func (s *DeleteBucketLifecycleInput) getBucket() (v string) {
9090 if s.Bucket == nil {
9091 return v
9092 }
9093 return *s.Bucket
9094}
9095
8502type DeleteBucketLifecycleOutput struct { 9096type DeleteBucketLifecycleOutput struct {
8503 _ struct{} `type:"structure"` 9097 _ struct{} `type:"structure"`
8504} 9098}
@@ -8513,7 +9107,6 @@ func (s DeleteBucketLifecycleOutput) GoString() string {
8513 return s.String() 9107 return s.String()
8514} 9108}
8515 9109
8516// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketMetricsConfigurationRequest
8517type DeleteBucketMetricsConfigurationInput struct { 9110type DeleteBucketMetricsConfigurationInput struct {
8518 _ struct{} `type:"structure"` 9111 _ struct{} `type:"structure"`
8519 9112
@@ -8560,13 +9153,19 @@ func (s *DeleteBucketMetricsConfigurationInput) SetBucket(v string) *DeleteBucke
8560 return s 9153 return s
8561} 9154}
8562 9155
9156func (s *DeleteBucketMetricsConfigurationInput) getBucket() (v string) {
9157 if s.Bucket == nil {
9158 return v
9159 }
9160 return *s.Bucket
9161}
9162
8563// SetId sets the Id field's value. 9163// SetId sets the Id field's value.
8564func (s *DeleteBucketMetricsConfigurationInput) SetId(v string) *DeleteBucketMetricsConfigurationInput { 9164func (s *DeleteBucketMetricsConfigurationInput) SetId(v string) *DeleteBucketMetricsConfigurationInput {
8565 s.Id = &v 9165 s.Id = &v
8566 return s 9166 return s
8567} 9167}
8568 9168
8569// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketMetricsConfigurationOutput
8570type DeleteBucketMetricsConfigurationOutput struct { 9169type DeleteBucketMetricsConfigurationOutput struct {
8571 _ struct{} `type:"structure"` 9170 _ struct{} `type:"structure"`
8572} 9171}
@@ -8581,7 +9180,6 @@ func (s DeleteBucketMetricsConfigurationOutput) GoString() string {
8581 return s.String() 9180 return s.String()
8582} 9181}
8583 9182
8584// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketOutput
8585type DeleteBucketOutput struct { 9183type DeleteBucketOutput struct {
8586 _ struct{} `type:"structure"` 9184 _ struct{} `type:"structure"`
8587} 9185}
@@ -8596,7 +9194,6 @@ func (s DeleteBucketOutput) GoString() string {
8596 return s.String() 9194 return s.String()
8597} 9195}
8598 9196
8599// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketPolicyRequest
8600type DeleteBucketPolicyInput struct { 9197type DeleteBucketPolicyInput struct {
8601 _ struct{} `type:"structure"` 9198 _ struct{} `type:"structure"`
8602 9199
@@ -8633,7 +9230,13 @@ func (s *DeleteBucketPolicyInput) SetBucket(v string) *DeleteBucketPolicyInput {
8633 return s 9230 return s
8634} 9231}
8635 9232
8636// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketPolicyOutput 9233func (s *DeleteBucketPolicyInput) getBucket() (v string) {
9234 if s.Bucket == nil {
9235 return v
9236 }
9237 return *s.Bucket
9238}
9239
8637type DeleteBucketPolicyOutput struct { 9240type DeleteBucketPolicyOutput struct {
8638 _ struct{} `type:"structure"` 9241 _ struct{} `type:"structure"`
8639} 9242}
@@ -8648,7 +9251,6 @@ func (s DeleteBucketPolicyOutput) GoString() string {
8648 return s.String() 9251 return s.String()
8649} 9252}
8650 9253
8651// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketReplicationRequest
8652type DeleteBucketReplicationInput struct { 9254type DeleteBucketReplicationInput struct {
8653 _ struct{} `type:"structure"` 9255 _ struct{} `type:"structure"`
8654 9256
@@ -8685,7 +9287,13 @@ func (s *DeleteBucketReplicationInput) SetBucket(v string) *DeleteBucketReplicat
8685 return s 9287 return s
8686} 9288}
8687 9289
8688// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketReplicationOutput 9290func (s *DeleteBucketReplicationInput) getBucket() (v string) {
9291 if s.Bucket == nil {
9292 return v
9293 }
9294 return *s.Bucket
9295}
9296
8689type DeleteBucketReplicationOutput struct { 9297type DeleteBucketReplicationOutput struct {
8690 _ struct{} `type:"structure"` 9298 _ struct{} `type:"structure"`
8691} 9299}
@@ -8700,7 +9308,6 @@ func (s DeleteBucketReplicationOutput) GoString() string {
8700 return s.String() 9308 return s.String()
8701} 9309}
8702 9310
8703// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketTaggingRequest
8704type DeleteBucketTaggingInput struct { 9311type DeleteBucketTaggingInput struct {
8705 _ struct{} `type:"structure"` 9312 _ struct{} `type:"structure"`
8706 9313
@@ -8737,7 +9344,13 @@ func (s *DeleteBucketTaggingInput) SetBucket(v string) *DeleteBucketTaggingInput
8737 return s 9344 return s
8738} 9345}
8739 9346
8740// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketTaggingOutput 9347func (s *DeleteBucketTaggingInput) getBucket() (v string) {
9348 if s.Bucket == nil {
9349 return v
9350 }
9351 return *s.Bucket
9352}
9353
8741type DeleteBucketTaggingOutput struct { 9354type DeleteBucketTaggingOutput struct {
8742 _ struct{} `type:"structure"` 9355 _ struct{} `type:"structure"`
8743} 9356}
@@ -8752,7 +9365,6 @@ func (s DeleteBucketTaggingOutput) GoString() string {
8752 return s.String() 9365 return s.String()
8753} 9366}
8754 9367
8755// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketWebsiteRequest
8756type DeleteBucketWebsiteInput struct { 9368type DeleteBucketWebsiteInput struct {
8757 _ struct{} `type:"structure"` 9369 _ struct{} `type:"structure"`
8758 9370
@@ -8789,7 +9401,13 @@ func (s *DeleteBucketWebsiteInput) SetBucket(v string) *DeleteBucketWebsiteInput
8789 return s 9401 return s
8790} 9402}
8791 9403
8792// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketWebsiteOutput 9404func (s *DeleteBucketWebsiteInput) getBucket() (v string) {
9405 if s.Bucket == nil {
9406 return v
9407 }
9408 return *s.Bucket
9409}
9410
8793type DeleteBucketWebsiteOutput struct { 9411type DeleteBucketWebsiteOutput struct {
8794 _ struct{} `type:"structure"` 9412 _ struct{} `type:"structure"`
8795} 9413}
@@ -8804,7 +9422,6 @@ func (s DeleteBucketWebsiteOutput) GoString() string {
8804 return s.String() 9422 return s.String()
8805} 9423}
8806 9424
8807// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteMarkerEntry
8808type DeleteMarkerEntry struct { 9425type DeleteMarkerEntry struct {
8809 _ struct{} `type:"structure"` 9426 _ struct{} `type:"structure"`
8810 9427
@@ -8816,7 +9433,7 @@ type DeleteMarkerEntry struct {
8816 Key *string `min:"1" type:"string"` 9433 Key *string `min:"1" type:"string"`
8817 9434
8818 // Date and time the object was last modified. 9435 // Date and time the object was last modified.
8819 LastModified *time.Time `type:"timestamp" timestampFormat:"iso8601"` 9436 LastModified *time.Time `type:"timestamp"`
8820 9437
8821 Owner *Owner `type:"structure"` 9438 Owner *Owner `type:"structure"`
8822 9439
@@ -8864,7 +9481,6 @@ func (s *DeleteMarkerEntry) SetVersionId(v string) *DeleteMarkerEntry {
8864 return s 9481 return s
8865} 9482}
8866 9483
8867// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectRequest
8868type DeleteObjectInput struct { 9484type DeleteObjectInput struct {
8869 _ struct{} `type:"structure"` 9485 _ struct{} `type:"structure"`
8870 9486
@@ -8923,6 +9539,13 @@ func (s *DeleteObjectInput) SetBucket(v string) *DeleteObjectInput {
8923 return s 9539 return s
8924} 9540}
8925 9541
9542func (s *DeleteObjectInput) getBucket() (v string) {
9543 if s.Bucket == nil {
9544 return v
9545 }
9546 return *s.Bucket
9547}
9548
8926// SetKey sets the Key field's value. 9549// SetKey sets the Key field's value.
8927func (s *DeleteObjectInput) SetKey(v string) *DeleteObjectInput { 9550func (s *DeleteObjectInput) SetKey(v string) *DeleteObjectInput {
8928 s.Key = &v 9551 s.Key = &v
@@ -8947,7 +9570,6 @@ func (s *DeleteObjectInput) SetVersionId(v string) *DeleteObjectInput {
8947 return s 9570 return s
8948} 9571}
8949 9572
8950// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectOutput
8951type DeleteObjectOutput struct { 9573type DeleteObjectOutput struct {
8952 _ struct{} `type:"structure"` 9574 _ struct{} `type:"structure"`
8953 9575
@@ -8992,7 +9614,6 @@ func (s *DeleteObjectOutput) SetVersionId(v string) *DeleteObjectOutput {
8992 return s 9614 return s
8993} 9615}
8994 9616
8995// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectTaggingRequest
8996type DeleteObjectTaggingInput struct { 9617type DeleteObjectTaggingInput struct {
8997 _ struct{} `type:"structure"` 9618 _ struct{} `type:"structure"`
8998 9619
@@ -9041,6 +9662,13 @@ func (s *DeleteObjectTaggingInput) SetBucket(v string) *DeleteObjectTaggingInput
9041 return s 9662 return s
9042} 9663}
9043 9664
9665func (s *DeleteObjectTaggingInput) getBucket() (v string) {
9666 if s.Bucket == nil {
9667 return v
9668 }
9669 return *s.Bucket
9670}
9671
9044// SetKey sets the Key field's value. 9672// SetKey sets the Key field's value.
9045func (s *DeleteObjectTaggingInput) SetKey(v string) *DeleteObjectTaggingInput { 9673func (s *DeleteObjectTaggingInput) SetKey(v string) *DeleteObjectTaggingInput {
9046 s.Key = &v 9674 s.Key = &v
@@ -9053,7 +9681,6 @@ func (s *DeleteObjectTaggingInput) SetVersionId(v string) *DeleteObjectTaggingIn
9053 return s 9681 return s
9054} 9682}
9055 9683
9056// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectTaggingOutput
9057type DeleteObjectTaggingOutput struct { 9684type DeleteObjectTaggingOutput struct {
9058 _ struct{} `type:"structure"` 9685 _ struct{} `type:"structure"`
9059 9686
@@ -9077,7 +9704,6 @@ func (s *DeleteObjectTaggingOutput) SetVersionId(v string) *DeleteObjectTaggingO
9077 return s 9704 return s
9078} 9705}
9079 9706
9080// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectsRequest
9081type DeleteObjectsInput struct { 9707type DeleteObjectsInput struct {
9082 _ struct{} `type:"structure" payload:"Delete"` 9708 _ struct{} `type:"structure" payload:"Delete"`
9083 9709
@@ -9085,7 +9711,7 @@ type DeleteObjectsInput struct {
9085 Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` 9711 Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
9086 9712
9087 // Delete is a required field 9713 // Delete is a required field
9088 Delete *Delete `locationName:"Delete" type:"structure" required:"true"` 9714 Delete *Delete `locationName:"Delete" type:"structure" required:"true" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"`
9089 9715
9090 // The concatenation of the authentication device's serial number, a space, 9716 // The concatenation of the authentication device's serial number, a space,
9091 // and the value that is displayed on your authentication device. 9717 // and the value that is displayed on your authentication device.
@@ -9135,6 +9761,13 @@ func (s *DeleteObjectsInput) SetBucket(v string) *DeleteObjectsInput {
9135 return s 9761 return s
9136} 9762}
9137 9763
9764func (s *DeleteObjectsInput) getBucket() (v string) {
9765 if s.Bucket == nil {
9766 return v
9767 }
9768 return *s.Bucket
9769}
9770
9138// SetDelete sets the Delete field's value. 9771// SetDelete sets the Delete field's value.
9139func (s *DeleteObjectsInput) SetDelete(v *Delete) *DeleteObjectsInput { 9772func (s *DeleteObjectsInput) SetDelete(v *Delete) *DeleteObjectsInput {
9140 s.Delete = v 9773 s.Delete = v
@@ -9153,7 +9786,6 @@ func (s *DeleteObjectsInput) SetRequestPayer(v string) *DeleteObjectsInput {
9153 return s 9786 return s
9154} 9787}
9155 9788
9156// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectsOutput
9157type DeleteObjectsOutput struct { 9789type DeleteObjectsOutput struct {
9158 _ struct{} `type:"structure"` 9790 _ struct{} `type:"structure"`
9159 9791
@@ -9194,7 +9826,6 @@ func (s *DeleteObjectsOutput) SetRequestCharged(v string) *DeleteObjectsOutput {
9194 return s 9826 return s
9195} 9827}
9196 9828
9197// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeletedObject
9198type DeletedObject struct { 9829type DeletedObject struct {
9199 _ struct{} `type:"structure"` 9830 _ struct{} `type:"structure"`
9200 9831
@@ -9241,16 +9872,26 @@ func (s *DeletedObject) SetVersionId(v string) *DeletedObject {
9241 return s 9872 return s
9242} 9873}
9243 9874
9244// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Destination 9875// Container for replication destination information.
9245type Destination struct { 9876type Destination struct {
9246 _ struct{} `type:"structure"` 9877 _ struct{} `type:"structure"`
9247 9878
9879 // Container for information regarding the access control for replicas.
9880 AccessControlTranslation *AccessControlTranslation `type:"structure"`
9881
9882 // Account ID of the destination bucket. Currently this is only being verified
9883 // if Access Control Translation is enabled
9884 Account *string `type:"string"`
9885
9248 // Amazon resource name (ARN) of the bucket where you want Amazon S3 to store 9886 // Amazon resource name (ARN) of the bucket where you want Amazon S3 to store
9249 // replicas of the object identified by the rule. 9887 // replicas of the object identified by the rule.
9250 // 9888 //
9251 // Bucket is a required field 9889 // Bucket is a required field
9252 Bucket *string `type:"string" required:"true"` 9890 Bucket *string `type:"string" required:"true"`
9253 9891
9892 // Container for information regarding encryption based configuration for replicas.
9893 EncryptionConfiguration *EncryptionConfiguration `type:"structure"`
9894
9254 // The class of storage used to store the object. 9895 // The class of storage used to store the object.
9255 StorageClass *string `type:"string" enum:"StorageClass"` 9896 StorageClass *string `type:"string" enum:"StorageClass"`
9256} 9897}
@@ -9271,6 +9912,11 @@ func (s *Destination) Validate() error {
9271 if s.Bucket == nil { 9912 if s.Bucket == nil {
9272 invalidParams.Add(request.NewErrParamRequired("Bucket")) 9913 invalidParams.Add(request.NewErrParamRequired("Bucket"))
9273 } 9914 }
9915 if s.AccessControlTranslation != nil {
9916 if err := s.AccessControlTranslation.Validate(); err != nil {
9917 invalidParams.AddNested("AccessControlTranslation", err.(request.ErrInvalidParams))
9918 }
9919 }
9274 9920
9275 if invalidParams.Len() > 0 { 9921 if invalidParams.Len() > 0 {
9276 return invalidParams 9922 return invalidParams
@@ -9278,19 +9924,154 @@ func (s *Destination) Validate() error {
9278 return nil 9924 return nil
9279} 9925}
9280 9926
9927// SetAccessControlTranslation sets the AccessControlTranslation field's value.
9928func (s *Destination) SetAccessControlTranslation(v *AccessControlTranslation) *Destination {
9929 s.AccessControlTranslation = v
9930 return s
9931}
9932
9933// SetAccount sets the Account field's value.
9934func (s *Destination) SetAccount(v string) *Destination {
9935 s.Account = &v
9936 return s
9937}
9938
9281// SetBucket sets the Bucket field's value. 9939// SetBucket sets the Bucket field's value.
9282func (s *Destination) SetBucket(v string) *Destination { 9940func (s *Destination) SetBucket(v string) *Destination {
9283 s.Bucket = &v 9941 s.Bucket = &v
9284 return s 9942 return s
9285} 9943}
9286 9944
9945func (s *Destination) getBucket() (v string) {
9946 if s.Bucket == nil {
9947 return v
9948 }
9949 return *s.Bucket
9950}
9951
9952// SetEncryptionConfiguration sets the EncryptionConfiguration field's value.
9953func (s *Destination) SetEncryptionConfiguration(v *EncryptionConfiguration) *Destination {
9954 s.EncryptionConfiguration = v
9955 return s
9956}
9957
9287// SetStorageClass sets the StorageClass field's value. 9958// SetStorageClass sets the StorageClass field's value.
9288func (s *Destination) SetStorageClass(v string) *Destination { 9959func (s *Destination) SetStorageClass(v string) *Destination {
9289 s.StorageClass = &v 9960 s.StorageClass = &v
9290 return s 9961 return s
9291} 9962}
9292 9963
9293// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Error 9964// Describes the server-side encryption that will be applied to the restore
9965// results.
9966type Encryption struct {
9967 _ struct{} `type:"structure"`
9968
9969 // The server-side encryption algorithm used when storing job results in Amazon
9970 // S3 (e.g., AES256, aws:kms).
9971 //
9972 // EncryptionType is a required field
9973 EncryptionType *string `type:"string" required:"true" enum:"ServerSideEncryption"`
9974
9975 // If the encryption type is aws:kms, this optional value can be used to specify
9976 // the encryption context for the restore results.
9977 KMSContext *string `type:"string"`
9978
9979 // If the encryption type is aws:kms, this optional value specifies the AWS
9980 // KMS key ID to use for encryption of job results.
9981 KMSKeyId *string `type:"string"`
9982}
9983
9984// String returns the string representation
9985func (s Encryption) String() string {
9986 return awsutil.Prettify(s)
9987}
9988
9989// GoString returns the string representation
9990func (s Encryption) GoString() string {
9991 return s.String()
9992}
9993
9994// Validate inspects the fields of the type to determine if they are valid.
9995func (s *Encryption) Validate() error {
9996 invalidParams := request.ErrInvalidParams{Context: "Encryption"}
9997 if s.EncryptionType == nil {
9998 invalidParams.Add(request.NewErrParamRequired("EncryptionType"))
9999 }
10000
10001 if invalidParams.Len() > 0 {
10002 return invalidParams
10003 }
10004 return nil
10005}
10006
10007// SetEncryptionType sets the EncryptionType field's value.
10008func (s *Encryption) SetEncryptionType(v string) *Encryption {
10009 s.EncryptionType = &v
10010 return s
10011}
10012
10013// SetKMSContext sets the KMSContext field's value.
10014func (s *Encryption) SetKMSContext(v string) *Encryption {
10015 s.KMSContext = &v
10016 return s
10017}
10018
10019// SetKMSKeyId sets the KMSKeyId field's value.
10020func (s *Encryption) SetKMSKeyId(v string) *Encryption {
10021 s.KMSKeyId = &v
10022 return s
10023}
10024
10025// Container for information regarding encryption based configuration for replicas.
10026type EncryptionConfiguration struct {
10027 _ struct{} `type:"structure"`
10028
10029 // The id of the KMS key used to encrypt the replica object.
10030 ReplicaKmsKeyID *string `type:"string"`
10031}
10032
10033// String returns the string representation
10034func (s EncryptionConfiguration) String() string {
10035 return awsutil.Prettify(s)
10036}
10037
10038// GoString returns the string representation
10039func (s EncryptionConfiguration) GoString() string {
10040 return s.String()
10041}
10042
10043// SetReplicaKmsKeyID sets the ReplicaKmsKeyID field's value.
10044func (s *EncryptionConfiguration) SetReplicaKmsKeyID(v string) *EncryptionConfiguration {
10045 s.ReplicaKmsKeyID = &v
10046 return s
10047}
10048
10049type EndEvent struct {
10050 _ struct{} `locationName:"EndEvent" type:"structure"`
10051}
10052
10053// String returns the string representation
10054func (s EndEvent) String() string {
10055 return awsutil.Prettify(s)
10056}
10057
10058// GoString returns the string representation
10059func (s EndEvent) GoString() string {
10060 return s.String()
10061}
10062
10063// The EndEvent is and event in the SelectObjectContentEventStream group of events.
10064func (s *EndEvent) eventSelectObjectContentEventStream() {}
10065
10066// UnmarshalEvent unmarshals the EventStream Message into the EndEvent value.
10067// This method is only used internally within the SDK's EventStream handling.
10068func (s *EndEvent) UnmarshalEvent(
10069 payloadUnmarshaler protocol.PayloadUnmarshaler,
10070 msg eventstream.Message,
10071) error {
10072 return nil
10073}
10074
9294type Error struct { 10075type Error struct {
9295 _ struct{} `type:"structure"` 10076 _ struct{} `type:"structure"`
9296 10077
@@ -9337,7 +10118,6 @@ func (s *Error) SetVersionId(v string) *Error {
9337 return s 10118 return s
9338} 10119}
9339 10120
9340// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ErrorDocument
9341type ErrorDocument struct { 10121type ErrorDocument struct {
9342 _ struct{} `type:"structure"` 10122 _ struct{} `type:"structure"`
9343 10123
@@ -9380,7 +10160,6 @@ func (s *ErrorDocument) SetKey(v string) *ErrorDocument {
9380} 10160}
9381 10161
9382// Container for key value pair that defines the criteria for the filter rule. 10162// Container for key value pair that defines the criteria for the filter rule.
9383// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/FilterRule
9384type FilterRule struct { 10163type FilterRule struct {
9385 _ struct{} `type:"structure"` 10164 _ struct{} `type:"structure"`
9386 10165
@@ -9388,6 +10167,7 @@ type FilterRule struct {
9388 // the filtering rule applies. Maximum prefix length can be up to 1,024 characters. 10167 // the filtering rule applies. Maximum prefix length can be up to 1,024 characters.
9389 // Overlapping prefixes and suffixes are not supported. For more information, 10168 // Overlapping prefixes and suffixes are not supported. For more information,
9390 // go to Configuring Event Notifications (http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html) 10169 // go to Configuring Event Notifications (http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html)
10170 // in the Amazon Simple Storage Service Developer Guide.
9391 Name *string `type:"string" enum:"FilterRuleName"` 10171 Name *string `type:"string" enum:"FilterRuleName"`
9392 10172
9393 Value *string `type:"string"` 10173 Value *string `type:"string"`
@@ -9415,7 +10195,6 @@ func (s *FilterRule) SetValue(v string) *FilterRule {
9415 return s 10195 return s
9416} 10196}
9417 10197
9418// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAccelerateConfigurationRequest
9419type GetBucketAccelerateConfigurationInput struct { 10198type GetBucketAccelerateConfigurationInput struct {
9420 _ struct{} `type:"structure"` 10199 _ struct{} `type:"structure"`
9421 10200
@@ -9454,7 +10233,13 @@ func (s *GetBucketAccelerateConfigurationInput) SetBucket(v string) *GetBucketAc
9454 return s 10233 return s
9455} 10234}
9456 10235
9457// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAccelerateConfigurationOutput 10236func (s *GetBucketAccelerateConfigurationInput) getBucket() (v string) {
10237 if s.Bucket == nil {
10238 return v
10239 }
10240 return *s.Bucket
10241}
10242
9458type GetBucketAccelerateConfigurationOutput struct { 10243type GetBucketAccelerateConfigurationOutput struct {
9459 _ struct{} `type:"structure"` 10244 _ struct{} `type:"structure"`
9460 10245
@@ -9478,7 +10263,6 @@ func (s *GetBucketAccelerateConfigurationOutput) SetStatus(v string) *GetBucketA
9478 return s 10263 return s
9479} 10264}
9480 10265
9481// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAclRequest
9482type GetBucketAclInput struct { 10266type GetBucketAclInput struct {
9483 _ struct{} `type:"structure"` 10267 _ struct{} `type:"structure"`
9484 10268
@@ -9515,7 +10299,13 @@ func (s *GetBucketAclInput) SetBucket(v string) *GetBucketAclInput {
9515 return s 10299 return s
9516} 10300}
9517 10301
9518// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAclOutput 10302func (s *GetBucketAclInput) getBucket() (v string) {
10303 if s.Bucket == nil {
10304 return v
10305 }
10306 return *s.Bucket
10307}
10308
9519type GetBucketAclOutput struct { 10309type GetBucketAclOutput struct {
9520 _ struct{} `type:"structure"` 10310 _ struct{} `type:"structure"`
9521 10311
@@ -9547,7 +10337,6 @@ func (s *GetBucketAclOutput) SetOwner(v *Owner) *GetBucketAclOutput {
9547 return s 10337 return s
9548} 10338}
9549 10339
9550// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAnalyticsConfigurationRequest
9551type GetBucketAnalyticsConfigurationInput struct { 10340type GetBucketAnalyticsConfigurationInput struct {
9552 _ struct{} `type:"structure"` 10341 _ struct{} `type:"structure"`
9553 10342
@@ -9594,13 +10383,19 @@ func (s *GetBucketAnalyticsConfigurationInput) SetBucket(v string) *GetBucketAna
9594 return s 10383 return s
9595} 10384}
9596 10385
10386func (s *GetBucketAnalyticsConfigurationInput) getBucket() (v string) {
10387 if s.Bucket == nil {
10388 return v
10389 }
10390 return *s.Bucket
10391}
10392
9597// SetId sets the Id field's value. 10393// SetId sets the Id field's value.
9598func (s *GetBucketAnalyticsConfigurationInput) SetId(v string) *GetBucketAnalyticsConfigurationInput { 10394func (s *GetBucketAnalyticsConfigurationInput) SetId(v string) *GetBucketAnalyticsConfigurationInput {
9599 s.Id = &v 10395 s.Id = &v
9600 return s 10396 return s
9601} 10397}
9602 10398
9603// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAnalyticsConfigurationOutput
9604type GetBucketAnalyticsConfigurationOutput struct { 10399type GetBucketAnalyticsConfigurationOutput struct {
9605 _ struct{} `type:"structure" payload:"AnalyticsConfiguration"` 10400 _ struct{} `type:"structure" payload:"AnalyticsConfiguration"`
9606 10401
@@ -9624,7 +10419,6 @@ func (s *GetBucketAnalyticsConfigurationOutput) SetAnalyticsConfiguration(v *Ana
9624 return s 10419 return s
9625} 10420}
9626 10421
9627// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketCorsRequest
9628type GetBucketCorsInput struct { 10422type GetBucketCorsInput struct {
9629 _ struct{} `type:"structure"` 10423 _ struct{} `type:"structure"`
9630 10424
@@ -9661,7 +10455,13 @@ func (s *GetBucketCorsInput) SetBucket(v string) *GetBucketCorsInput {
9661 return s 10455 return s
9662} 10456}
9663 10457
9664// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketCorsOutput 10458func (s *GetBucketCorsInput) getBucket() (v string) {
10459 if s.Bucket == nil {
10460 return v
10461 }
10462 return *s.Bucket
10463}
10464
9665type GetBucketCorsOutput struct { 10465type GetBucketCorsOutput struct {
9666 _ struct{} `type:"structure"` 10466 _ struct{} `type:"structure"`
9667 10467
@@ -9684,7 +10484,76 @@ func (s *GetBucketCorsOutput) SetCORSRules(v []*CORSRule) *GetBucketCorsOutput {
9684 return s 10484 return s
9685} 10485}
9686 10486
9687// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketInventoryConfigurationRequest 10487type GetBucketEncryptionInput struct {
10488 _ struct{} `type:"structure"`
10489
10490 // The name of the bucket from which the server-side encryption configuration
10491 // is retrieved.
10492 //
10493 // Bucket is a required field
10494 Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
10495}
10496
10497// String returns the string representation
10498func (s GetBucketEncryptionInput) String() string {
10499 return awsutil.Prettify(s)
10500}
10501
10502// GoString returns the string representation
10503func (s GetBucketEncryptionInput) GoString() string {
10504 return s.String()
10505}
10506
10507// Validate inspects the fields of the type to determine if they are valid.
10508func (s *GetBucketEncryptionInput) Validate() error {
10509 invalidParams := request.ErrInvalidParams{Context: "GetBucketEncryptionInput"}
10510 if s.Bucket == nil {
10511 invalidParams.Add(request.NewErrParamRequired("Bucket"))
10512 }
10513
10514 if invalidParams.Len() > 0 {
10515 return invalidParams
10516 }
10517 return nil
10518}
10519
10520// SetBucket sets the Bucket field's value.
10521func (s *GetBucketEncryptionInput) SetBucket(v string) *GetBucketEncryptionInput {
10522 s.Bucket = &v
10523 return s
10524}
10525
10526func (s *GetBucketEncryptionInput) getBucket() (v string) {
10527 if s.Bucket == nil {
10528 return v
10529 }
10530 return *s.Bucket
10531}
10532
10533type GetBucketEncryptionOutput struct {
10534 _ struct{} `type:"structure" payload:"ServerSideEncryptionConfiguration"`
10535
10536 // Container for server-side encryption configuration rules. Currently S3 supports
10537 // one rule only.
10538 ServerSideEncryptionConfiguration *ServerSideEncryptionConfiguration `type:"structure"`
10539}
10540
10541// String returns the string representation
10542func (s GetBucketEncryptionOutput) String() string {
10543 return awsutil.Prettify(s)
10544}
10545
10546// GoString returns the string representation
10547func (s GetBucketEncryptionOutput) GoString() string {
10548 return s.String()
10549}
10550
10551// SetServerSideEncryptionConfiguration sets the ServerSideEncryptionConfiguration field's value.
10552func (s *GetBucketEncryptionOutput) SetServerSideEncryptionConfiguration(v *ServerSideEncryptionConfiguration) *GetBucketEncryptionOutput {
10553 s.ServerSideEncryptionConfiguration = v
10554 return s
10555}
10556
9688type GetBucketInventoryConfigurationInput struct { 10557type GetBucketInventoryConfigurationInput struct {
9689 _ struct{} `type:"structure"` 10558 _ struct{} `type:"structure"`
9690 10559
@@ -9731,13 +10600,19 @@ func (s *GetBucketInventoryConfigurationInput) SetBucket(v string) *GetBucketInv
9731 return s 10600 return s
9732} 10601}
9733 10602
10603func (s *GetBucketInventoryConfigurationInput) getBucket() (v string) {
10604 if s.Bucket == nil {
10605 return v
10606 }
10607 return *s.Bucket
10608}
10609
9734// SetId sets the Id field's value. 10610// SetId sets the Id field's value.
9735func (s *GetBucketInventoryConfigurationInput) SetId(v string) *GetBucketInventoryConfigurationInput { 10611func (s *GetBucketInventoryConfigurationInput) SetId(v string) *GetBucketInventoryConfigurationInput {
9736 s.Id = &v 10612 s.Id = &v
9737 return s 10613 return s
9738} 10614}
9739 10615
9740// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketInventoryConfigurationOutput
9741type GetBucketInventoryConfigurationOutput struct { 10616type GetBucketInventoryConfigurationOutput struct {
9742 _ struct{} `type:"structure" payload:"InventoryConfiguration"` 10617 _ struct{} `type:"structure" payload:"InventoryConfiguration"`
9743 10618
@@ -9761,7 +10636,6 @@ func (s *GetBucketInventoryConfigurationOutput) SetInventoryConfiguration(v *Inv
9761 return s 10636 return s
9762} 10637}
9763 10638
9764// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycleConfigurationRequest
9765type GetBucketLifecycleConfigurationInput struct { 10639type GetBucketLifecycleConfigurationInput struct {
9766 _ struct{} `type:"structure"` 10640 _ struct{} `type:"structure"`
9767 10641
@@ -9798,7 +10672,13 @@ func (s *GetBucketLifecycleConfigurationInput) SetBucket(v string) *GetBucketLif
9798 return s 10672 return s
9799} 10673}
9800 10674
9801// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycleConfigurationOutput 10675func (s *GetBucketLifecycleConfigurationInput) getBucket() (v string) {
10676 if s.Bucket == nil {
10677 return v
10678 }
10679 return *s.Bucket
10680}
10681
9802type GetBucketLifecycleConfigurationOutput struct { 10682type GetBucketLifecycleConfigurationOutput struct {
9803 _ struct{} `type:"structure"` 10683 _ struct{} `type:"structure"`
9804 10684
@@ -9821,7 +10701,6 @@ func (s *GetBucketLifecycleConfigurationOutput) SetRules(v []*LifecycleRule) *Ge
9821 return s 10701 return s
9822} 10702}
9823 10703
9824// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycleRequest
9825type GetBucketLifecycleInput struct { 10704type GetBucketLifecycleInput struct {
9826 _ struct{} `type:"structure"` 10705 _ struct{} `type:"structure"`
9827 10706
@@ -9858,7 +10737,13 @@ func (s *GetBucketLifecycleInput) SetBucket(v string) *GetBucketLifecycleInput {
9858 return s 10737 return s
9859} 10738}
9860 10739
9861// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycleOutput 10740func (s *GetBucketLifecycleInput) getBucket() (v string) {
10741 if s.Bucket == nil {
10742 return v
10743 }
10744 return *s.Bucket
10745}
10746
9862type GetBucketLifecycleOutput struct { 10747type GetBucketLifecycleOutput struct {
9863 _ struct{} `type:"structure"` 10748 _ struct{} `type:"structure"`
9864 10749
@@ -9881,7 +10766,6 @@ func (s *GetBucketLifecycleOutput) SetRules(v []*Rule) *GetBucketLifecycleOutput
9881 return s 10766 return s
9882} 10767}
9883 10768
9884// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLocationRequest
9885type GetBucketLocationInput struct { 10769type GetBucketLocationInput struct {
9886 _ struct{} `type:"structure"` 10770 _ struct{} `type:"structure"`
9887 10771
@@ -9918,7 +10802,13 @@ func (s *GetBucketLocationInput) SetBucket(v string) *GetBucketLocationInput {
9918 return s 10802 return s
9919} 10803}
9920 10804
9921// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLocationOutput 10805func (s *GetBucketLocationInput) getBucket() (v string) {
10806 if s.Bucket == nil {
10807 return v
10808 }
10809 return *s.Bucket
10810}
10811
9922type GetBucketLocationOutput struct { 10812type GetBucketLocationOutput struct {
9923 _ struct{} `type:"structure"` 10813 _ struct{} `type:"structure"`
9924 10814
@@ -9941,7 +10831,6 @@ func (s *GetBucketLocationOutput) SetLocationConstraint(v string) *GetBucketLoca
9941 return s 10831 return s
9942} 10832}
9943 10833
9944// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLoggingRequest
9945type GetBucketLoggingInput struct { 10834type GetBucketLoggingInput struct {
9946 _ struct{} `type:"structure"` 10835 _ struct{} `type:"structure"`
9947 10836
@@ -9978,10 +10867,19 @@ func (s *GetBucketLoggingInput) SetBucket(v string) *GetBucketLoggingInput {
9978 return s 10867 return s
9979} 10868}
9980 10869
9981// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLoggingOutput 10870func (s *GetBucketLoggingInput) getBucket() (v string) {
10871 if s.Bucket == nil {
10872 return v
10873 }
10874 return *s.Bucket
10875}
10876
9982type GetBucketLoggingOutput struct { 10877type GetBucketLoggingOutput struct {
9983 _ struct{} `type:"structure"` 10878 _ struct{} `type:"structure"`
9984 10879
10880 // Container for logging information. Presence of this element indicates that
10881 // logging is enabled. Parameters TargetBucket and TargetPrefix are required
10882 // in this case.
9985 LoggingEnabled *LoggingEnabled `type:"structure"` 10883 LoggingEnabled *LoggingEnabled `type:"structure"`
9986} 10884}
9987 10885
@@ -10001,7 +10899,6 @@ func (s *GetBucketLoggingOutput) SetLoggingEnabled(v *LoggingEnabled) *GetBucket
10001 return s 10899 return s
10002} 10900}
10003 10901
10004// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketMetricsConfigurationRequest
10005type GetBucketMetricsConfigurationInput struct { 10902type GetBucketMetricsConfigurationInput struct {
10006 _ struct{} `type:"structure"` 10903 _ struct{} `type:"structure"`
10007 10904
@@ -10048,13 +10945,19 @@ func (s *GetBucketMetricsConfigurationInput) SetBucket(v string) *GetBucketMetri
10048 return s 10945 return s
10049} 10946}
10050 10947
10948func (s *GetBucketMetricsConfigurationInput) getBucket() (v string) {
10949 if s.Bucket == nil {
10950 return v
10951 }
10952 return *s.Bucket
10953}
10954
10051// SetId sets the Id field's value. 10955// SetId sets the Id field's value.
10052func (s *GetBucketMetricsConfigurationInput) SetId(v string) *GetBucketMetricsConfigurationInput { 10956func (s *GetBucketMetricsConfigurationInput) SetId(v string) *GetBucketMetricsConfigurationInput {
10053 s.Id = &v 10957 s.Id = &v
10054 return s 10958 return s
10055} 10959}
10056 10960
10057// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketMetricsConfigurationOutput
10058type GetBucketMetricsConfigurationOutput struct { 10961type GetBucketMetricsConfigurationOutput struct {
10059 _ struct{} `type:"structure" payload:"MetricsConfiguration"` 10962 _ struct{} `type:"structure" payload:"MetricsConfiguration"`
10060 10963
@@ -10078,7 +10981,6 @@ func (s *GetBucketMetricsConfigurationOutput) SetMetricsConfiguration(v *Metrics
10078 return s 10981 return s
10079} 10982}
10080 10983
10081// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketNotificationConfigurationRequest
10082type GetBucketNotificationConfigurationRequest struct { 10984type GetBucketNotificationConfigurationRequest struct {
10083 _ struct{} `type:"structure"` 10985 _ struct{} `type:"structure"`
10084 10986
@@ -10117,7 +11019,13 @@ func (s *GetBucketNotificationConfigurationRequest) SetBucket(v string) *GetBuck
10117 return s 11019 return s
10118} 11020}
10119 11021
10120// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketPolicyRequest 11022func (s *GetBucketNotificationConfigurationRequest) getBucket() (v string) {
11023 if s.Bucket == nil {
11024 return v
11025 }
11026 return *s.Bucket
11027}
11028
10121type GetBucketPolicyInput struct { 11029type GetBucketPolicyInput struct {
10122 _ struct{} `type:"structure"` 11030 _ struct{} `type:"structure"`
10123 11031
@@ -10154,7 +11062,13 @@ func (s *GetBucketPolicyInput) SetBucket(v string) *GetBucketPolicyInput {
10154 return s 11062 return s
10155} 11063}
10156 11064
10157// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketPolicyOutput 11065func (s *GetBucketPolicyInput) getBucket() (v string) {
11066 if s.Bucket == nil {
11067 return v
11068 }
11069 return *s.Bucket
11070}
11071
10158type GetBucketPolicyOutput struct { 11072type GetBucketPolicyOutput struct {
10159 _ struct{} `type:"structure" payload:"Policy"` 11073 _ struct{} `type:"structure" payload:"Policy"`
10160 11074
@@ -10178,7 +11092,6 @@ func (s *GetBucketPolicyOutput) SetPolicy(v string) *GetBucketPolicyOutput {
10178 return s 11092 return s
10179} 11093}
10180 11094
10181// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketReplicationRequest
10182type GetBucketReplicationInput struct { 11095type GetBucketReplicationInput struct {
10183 _ struct{} `type:"structure"` 11096 _ struct{} `type:"structure"`
10184 11097
@@ -10215,7 +11128,13 @@ func (s *GetBucketReplicationInput) SetBucket(v string) *GetBucketReplicationInp
10215 return s 11128 return s
10216} 11129}
10217 11130
10218// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketReplicationOutput 11131func (s *GetBucketReplicationInput) getBucket() (v string) {
11132 if s.Bucket == nil {
11133 return v
11134 }
11135 return *s.Bucket
11136}
11137
10219type GetBucketReplicationOutput struct { 11138type GetBucketReplicationOutput struct {
10220 _ struct{} `type:"structure" payload:"ReplicationConfiguration"` 11139 _ struct{} `type:"structure" payload:"ReplicationConfiguration"`
10221 11140
@@ -10240,7 +11159,6 @@ func (s *GetBucketReplicationOutput) SetReplicationConfiguration(v *ReplicationC
10240 return s 11159 return s
10241} 11160}
10242 11161
10243// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketRequestPaymentRequest
10244type GetBucketRequestPaymentInput struct { 11162type GetBucketRequestPaymentInput struct {
10245 _ struct{} `type:"structure"` 11163 _ struct{} `type:"structure"`
10246 11164
@@ -10277,7 +11195,13 @@ func (s *GetBucketRequestPaymentInput) SetBucket(v string) *GetBucketRequestPaym
10277 return s 11195 return s
10278} 11196}
10279 11197
10280// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketRequestPaymentOutput 11198func (s *GetBucketRequestPaymentInput) getBucket() (v string) {
11199 if s.Bucket == nil {
11200 return v
11201 }
11202 return *s.Bucket
11203}
11204
10281type GetBucketRequestPaymentOutput struct { 11205type GetBucketRequestPaymentOutput struct {
10282 _ struct{} `type:"structure"` 11206 _ struct{} `type:"structure"`
10283 11207
@@ -10301,7 +11225,6 @@ func (s *GetBucketRequestPaymentOutput) SetPayer(v string) *GetBucketRequestPaym
10301 return s 11225 return s
10302} 11226}
10303 11227
10304// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketTaggingRequest
10305type GetBucketTaggingInput struct { 11228type GetBucketTaggingInput struct {
10306 _ struct{} `type:"structure"` 11229 _ struct{} `type:"structure"`
10307 11230
@@ -10338,7 +11261,13 @@ func (s *GetBucketTaggingInput) SetBucket(v string) *GetBucketTaggingInput {
10338 return s 11261 return s
10339} 11262}
10340 11263
10341// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketTaggingOutput 11264func (s *GetBucketTaggingInput) getBucket() (v string) {
11265 if s.Bucket == nil {
11266 return v
11267 }
11268 return *s.Bucket
11269}
11270
10342type GetBucketTaggingOutput struct { 11271type GetBucketTaggingOutput struct {
10343 _ struct{} `type:"structure"` 11272 _ struct{} `type:"structure"`
10344 11273
@@ -10362,7 +11291,6 @@ func (s *GetBucketTaggingOutput) SetTagSet(v []*Tag) *GetBucketTaggingOutput {
10362 return s 11291 return s
10363} 11292}
10364 11293
10365// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketVersioningRequest
10366type GetBucketVersioningInput struct { 11294type GetBucketVersioningInput struct {
10367 _ struct{} `type:"structure"` 11295 _ struct{} `type:"structure"`
10368 11296
@@ -10399,7 +11327,13 @@ func (s *GetBucketVersioningInput) SetBucket(v string) *GetBucketVersioningInput
10399 return s 11327 return s
10400} 11328}
10401 11329
10402// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketVersioningOutput 11330func (s *GetBucketVersioningInput) getBucket() (v string) {
11331 if s.Bucket == nil {
11332 return v
11333 }
11334 return *s.Bucket
11335}
11336
10403type GetBucketVersioningOutput struct { 11337type GetBucketVersioningOutput struct {
10404 _ struct{} `type:"structure"` 11338 _ struct{} `type:"structure"`
10405 11339
@@ -10434,7 +11368,6 @@ func (s *GetBucketVersioningOutput) SetStatus(v string) *GetBucketVersioningOutp
10434 return s 11368 return s
10435} 11369}
10436 11370
10437// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketWebsiteRequest
10438type GetBucketWebsiteInput struct { 11371type GetBucketWebsiteInput struct {
10439 _ struct{} `type:"structure"` 11372 _ struct{} `type:"structure"`
10440 11373
@@ -10471,7 +11404,13 @@ func (s *GetBucketWebsiteInput) SetBucket(v string) *GetBucketWebsiteInput {
10471 return s 11404 return s
10472} 11405}
10473 11406
10474// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketWebsiteOutput 11407func (s *GetBucketWebsiteInput) getBucket() (v string) {
11408 if s.Bucket == nil {
11409 return v
11410 }
11411 return *s.Bucket
11412}
11413
10475type GetBucketWebsiteOutput struct { 11414type GetBucketWebsiteOutput struct {
10476 _ struct{} `type:"structure"` 11415 _ struct{} `type:"structure"`
10477 11416
@@ -10518,7 +11457,6 @@ func (s *GetBucketWebsiteOutput) SetRoutingRules(v []*RoutingRule) *GetBucketWeb
10518 return s 11457 return s
10519} 11458}
10520 11459
10521// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectAclRequest
10522type GetObjectAclInput struct { 11460type GetObjectAclInput struct {
10523 _ struct{} `type:"structure"` 11461 _ struct{} `type:"structure"`
10524 11462
@@ -10573,6 +11511,13 @@ func (s *GetObjectAclInput) SetBucket(v string) *GetObjectAclInput {
10573 return s 11511 return s
10574} 11512}
10575 11513
11514func (s *GetObjectAclInput) getBucket() (v string) {
11515 if s.Bucket == nil {
11516 return v
11517 }
11518 return *s.Bucket
11519}
11520
10576// SetKey sets the Key field's value. 11521// SetKey sets the Key field's value.
10577func (s *GetObjectAclInput) SetKey(v string) *GetObjectAclInput { 11522func (s *GetObjectAclInput) SetKey(v string) *GetObjectAclInput {
10578 s.Key = &v 11523 s.Key = &v
@@ -10591,7 +11536,6 @@ func (s *GetObjectAclInput) SetVersionId(v string) *GetObjectAclInput {
10591 return s 11536 return s
10592} 11537}
10593 11538
10594// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectAclOutput
10595type GetObjectAclOutput struct { 11539type GetObjectAclOutput struct {
10596 _ struct{} `type:"structure"` 11540 _ struct{} `type:"structure"`
10597 11541
@@ -10633,7 +11577,6 @@ func (s *GetObjectAclOutput) SetRequestCharged(v string) *GetObjectAclOutput {
10633 return s 11577 return s
10634} 11578}
10635 11579
10636// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectRequest
10637type GetObjectInput struct { 11580type GetObjectInput struct {
10638 _ struct{} `type:"structure"` 11581 _ struct{} `type:"structure"`
10639 11582
@@ -10646,7 +11589,7 @@ type GetObjectInput struct {
10646 11589
10647 // Return the object only if it has been modified since the specified time, 11590 // Return the object only if it has been modified since the specified time,
10648 // otherwise return a 304 (not modified). 11591 // otherwise return a 304 (not modified).
10649 IfModifiedSince *time.Time `location:"header" locationName:"If-Modified-Since" type:"timestamp" timestampFormat:"rfc822"` 11592 IfModifiedSince *time.Time `location:"header" locationName:"If-Modified-Since" type:"timestamp"`
10650 11593
10651 // Return the object only if its entity tag (ETag) is different from the one 11594 // Return the object only if its entity tag (ETag) is different from the one
10652 // specified, otherwise return a 304 (not modified). 11595 // specified, otherwise return a 304 (not modified).
@@ -10654,7 +11597,7 @@ type GetObjectInput struct {
10654 11597
10655 // Return the object only if it has not been modified since the specified time, 11598 // Return the object only if it has not been modified since the specified time,
10656 // otherwise return a 412 (precondition failed). 11599 // otherwise return a 412 (precondition failed).
10657 IfUnmodifiedSince *time.Time `location:"header" locationName:"If-Unmodified-Since" type:"timestamp" timestampFormat:"rfc822"` 11600 IfUnmodifiedSince *time.Time `location:"header" locationName:"If-Unmodified-Since" type:"timestamp"`
10658 11601
10659 // Key is a required field 11602 // Key is a required field
10660 Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` 11603 Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"`
@@ -10690,7 +11633,7 @@ type GetObjectInput struct {
10690 ResponseContentType *string `location:"querystring" locationName:"response-content-type" type:"string"` 11633 ResponseContentType *string `location:"querystring" locationName:"response-content-type" type:"string"`
10691 11634
10692 // Sets the Expires header of the response. 11635 // Sets the Expires header of the response.
10693 ResponseExpires *time.Time `location:"querystring" locationName:"response-expires" type:"timestamp" timestampFormat:"iso8601"` 11636 ResponseExpires *time.Time `location:"querystring" locationName:"response-expires" type:"timestamp"`
10694 11637
10695 // Specifies the algorithm to use to when encrypting the object (e.g., AES256). 11638 // Specifies the algorithm to use to when encrypting the object (e.g., AES256).
10696 SSECustomerAlgorithm *string `location:"header" locationName:"x-amz-server-side-encryption-customer-algorithm" type:"string"` 11639 SSECustomerAlgorithm *string `location:"header" locationName:"x-amz-server-side-encryption-customer-algorithm" type:"string"`
@@ -10746,6 +11689,13 @@ func (s *GetObjectInput) SetBucket(v string) *GetObjectInput {
10746 return s 11689 return s
10747} 11690}
10748 11691
11692func (s *GetObjectInput) getBucket() (v string) {
11693 if s.Bucket == nil {
11694 return v
11695 }
11696 return *s.Bucket
11697}
11698
10749// SetIfMatch sets the IfMatch field's value. 11699// SetIfMatch sets the IfMatch field's value.
10750func (s *GetObjectInput) SetIfMatch(v string) *GetObjectInput { 11700func (s *GetObjectInput) SetIfMatch(v string) *GetObjectInput {
10751 s.IfMatch = &v 11701 s.IfMatch = &v
@@ -10842,6 +11792,13 @@ func (s *GetObjectInput) SetSSECustomerKey(v string) *GetObjectInput {
10842 return s 11792 return s
10843} 11793}
10844 11794
11795func (s *GetObjectInput) getSSECustomerKey() (v string) {
11796 if s.SSECustomerKey == nil {
11797 return v
11798 }
11799 return *s.SSECustomerKey
11800}
11801
10845// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value. 11802// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value.
10846func (s *GetObjectInput) SetSSECustomerKeyMD5(v string) *GetObjectInput { 11803func (s *GetObjectInput) SetSSECustomerKeyMD5(v string) *GetObjectInput {
10847 s.SSECustomerKeyMD5 = &v 11804 s.SSECustomerKeyMD5 = &v
@@ -10854,7 +11811,6 @@ func (s *GetObjectInput) SetVersionId(v string) *GetObjectInput {
10854 return s 11811 return s
10855} 11812}
10856 11813
10857// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectOutput
10858type GetObjectOutput struct { 11814type GetObjectOutput struct {
10859 _ struct{} `type:"structure" payload:"Body"` 11815 _ struct{} `type:"structure" payload:"Body"`
10860 11816
@@ -10904,7 +11860,7 @@ type GetObjectOutput struct {
10904 Expires *string `location:"header" locationName:"Expires" type:"string"` 11860 Expires *string `location:"header" locationName:"Expires" type:"string"`
10905 11861
10906 // Last modified date of the object 11862 // Last modified date of the object
10907 LastModified *time.Time `location:"header" locationName:"Last-Modified" type:"timestamp" timestampFormat:"rfc822"` 11863 LastModified *time.Time `location:"header" locationName:"Last-Modified" type:"timestamp"`
10908 11864
10909 // A map of metadata to store with the object in S3. 11865 // A map of metadata to store with the object in S3.
10910 Metadata map[string]*string `location:"headers" locationName:"x-amz-meta-" type:"map"` 11866 Metadata map[string]*string `location:"headers" locationName:"x-amz-meta-" type:"map"`
@@ -11138,7 +12094,6 @@ func (s *GetObjectOutput) SetWebsiteRedirectLocation(v string) *GetObjectOutput
11138 return s 12094 return s
11139} 12095}
11140 12096
11141// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTaggingRequest
11142type GetObjectTaggingInput struct { 12097type GetObjectTaggingInput struct {
11143 _ struct{} `type:"structure"` 12098 _ struct{} `type:"structure"`
11144 12099
@@ -11186,6 +12141,13 @@ func (s *GetObjectTaggingInput) SetBucket(v string) *GetObjectTaggingInput {
11186 return s 12141 return s
11187} 12142}
11188 12143
12144func (s *GetObjectTaggingInput) getBucket() (v string) {
12145 if s.Bucket == nil {
12146 return v
12147 }
12148 return *s.Bucket
12149}
12150
11189// SetKey sets the Key field's value. 12151// SetKey sets the Key field's value.
11190func (s *GetObjectTaggingInput) SetKey(v string) *GetObjectTaggingInput { 12152func (s *GetObjectTaggingInput) SetKey(v string) *GetObjectTaggingInput {
11191 s.Key = &v 12153 s.Key = &v
@@ -11198,7 +12160,6 @@ func (s *GetObjectTaggingInput) SetVersionId(v string) *GetObjectTaggingInput {
11198 return s 12160 return s
11199} 12161}
11200 12162
11201// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTaggingOutput
11202type GetObjectTaggingOutput struct { 12163type GetObjectTaggingOutput struct {
11203 _ struct{} `type:"structure"` 12164 _ struct{} `type:"structure"`
11204 12165
@@ -11230,7 +12191,6 @@ func (s *GetObjectTaggingOutput) SetVersionId(v string) *GetObjectTaggingOutput
11230 return s 12191 return s
11231} 12192}
11232 12193
11233// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTorrentRequest
11234type GetObjectTorrentInput struct { 12194type GetObjectTorrentInput struct {
11235 _ struct{} `type:"structure"` 12195 _ struct{} `type:"structure"`
11236 12196
@@ -11282,6 +12242,13 @@ func (s *GetObjectTorrentInput) SetBucket(v string) *GetObjectTorrentInput {
11282 return s 12242 return s
11283} 12243}
11284 12244
12245func (s *GetObjectTorrentInput) getBucket() (v string) {
12246 if s.Bucket == nil {
12247 return v
12248 }
12249 return *s.Bucket
12250}
12251
11285// SetKey sets the Key field's value. 12252// SetKey sets the Key field's value.
11286func (s *GetObjectTorrentInput) SetKey(v string) *GetObjectTorrentInput { 12253func (s *GetObjectTorrentInput) SetKey(v string) *GetObjectTorrentInput {
11287 s.Key = &v 12254 s.Key = &v
@@ -11294,7 +12261,6 @@ func (s *GetObjectTorrentInput) SetRequestPayer(v string) *GetObjectTorrentInput
11294 return s 12261 return s
11295} 12262}
11296 12263
11297// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTorrentOutput
11298type GetObjectTorrentOutput struct { 12264type GetObjectTorrentOutput struct {
11299 _ struct{} `type:"structure" payload:"Body"` 12265 _ struct{} `type:"structure" payload:"Body"`
11300 12266
@@ -11327,7 +12293,6 @@ func (s *GetObjectTorrentOutput) SetRequestCharged(v string) *GetObjectTorrentOu
11327 return s 12293 return s
11328} 12294}
11329 12295
11330// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GlacierJobParameters
11331type GlacierJobParameters struct { 12296type GlacierJobParameters struct {
11332 _ struct{} `type:"structure"` 12297 _ struct{} `type:"structure"`
11333 12298
@@ -11366,11 +12331,10 @@ func (s *GlacierJobParameters) SetTier(v string) *GlacierJobParameters {
11366 return s 12331 return s
11367} 12332}
11368 12333
11369// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Grant
11370type Grant struct { 12334type Grant struct {
11371 _ struct{} `type:"structure"` 12335 _ struct{} `type:"structure"`
11372 12336
11373 Grantee *Grantee `type:"structure"` 12337 Grantee *Grantee `type:"structure" xmlPrefix:"xsi" xmlURI:"http://www.w3.org/2001/XMLSchema-instance"`
11374 12338
11375 // Specifies the permission given to the grantee. 12339 // Specifies the permission given to the grantee.
11376 Permission *string `type:"string" enum:"Permission"` 12340 Permission *string `type:"string" enum:"Permission"`
@@ -11413,7 +12377,6 @@ func (s *Grant) SetPermission(v string) *Grant {
11413 return s 12377 return s
11414} 12378}
11415 12379
11416// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Grantee
11417type Grantee struct { 12380type Grantee struct {
11418 _ struct{} `type:"structure" xmlPrefix:"xsi" xmlURI:"http://www.w3.org/2001/XMLSchema-instance"` 12381 _ struct{} `type:"structure" xmlPrefix:"xsi" xmlURI:"http://www.w3.org/2001/XMLSchema-instance"`
11419 12382
@@ -11488,7 +12451,6 @@ func (s *Grantee) SetURI(v string) *Grantee {
11488 return s 12451 return s
11489} 12452}
11490 12453
11491// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadBucketRequest
11492type HeadBucketInput struct { 12454type HeadBucketInput struct {
11493 _ struct{} `type:"structure"` 12455 _ struct{} `type:"structure"`
11494 12456
@@ -11525,7 +12487,13 @@ func (s *HeadBucketInput) SetBucket(v string) *HeadBucketInput {
11525 return s 12487 return s
11526} 12488}
11527 12489
11528// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadBucketOutput 12490func (s *HeadBucketInput) getBucket() (v string) {
12491 if s.Bucket == nil {
12492 return v
12493 }
12494 return *s.Bucket
12495}
12496
11529type HeadBucketOutput struct { 12497type HeadBucketOutput struct {
11530 _ struct{} `type:"structure"` 12498 _ struct{} `type:"structure"`
11531} 12499}
@@ -11540,7 +12508,6 @@ func (s HeadBucketOutput) GoString() string {
11540 return s.String() 12508 return s.String()
11541} 12509}
11542 12510
11543// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadObjectRequest
11544type HeadObjectInput struct { 12511type HeadObjectInput struct {
11545 _ struct{} `type:"structure"` 12512 _ struct{} `type:"structure"`
11546 12513
@@ -11553,7 +12520,7 @@ type HeadObjectInput struct {
11553 12520
11554 // Return the object only if it has been modified since the specified time, 12521 // Return the object only if it has been modified since the specified time,
11555 // otherwise return a 304 (not modified). 12522 // otherwise return a 304 (not modified).
11556 IfModifiedSince *time.Time `location:"header" locationName:"If-Modified-Since" type:"timestamp" timestampFormat:"rfc822"` 12523 IfModifiedSince *time.Time `location:"header" locationName:"If-Modified-Since" type:"timestamp"`
11557 12524
11558 // Return the object only if its entity tag (ETag) is different from the one 12525 // Return the object only if its entity tag (ETag) is different from the one
11559 // specified, otherwise return a 304 (not modified). 12526 // specified, otherwise return a 304 (not modified).
@@ -11561,7 +12528,7 @@ type HeadObjectInput struct {
11561 12528
11562 // Return the object only if it has not been modified since the specified time, 12529 // Return the object only if it has not been modified since the specified time,
11563 // otherwise return a 412 (precondition failed). 12530 // otherwise return a 412 (precondition failed).
11564 IfUnmodifiedSince *time.Time `location:"header" locationName:"If-Unmodified-Since" type:"timestamp" timestampFormat:"rfc822"` 12531 IfUnmodifiedSince *time.Time `location:"header" locationName:"If-Unmodified-Since" type:"timestamp"`
11565 12532
11566 // Key is a required field 12533 // Key is a required field
11567 Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` 12534 Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"`
@@ -11636,6 +12603,13 @@ func (s *HeadObjectInput) SetBucket(v string) *HeadObjectInput {
11636 return s 12603 return s
11637} 12604}
11638 12605
12606func (s *HeadObjectInput) getBucket() (v string) {
12607 if s.Bucket == nil {
12608 return v
12609 }
12610 return *s.Bucket
12611}
12612
11639// SetIfMatch sets the IfMatch field's value. 12613// SetIfMatch sets the IfMatch field's value.
11640func (s *HeadObjectInput) SetIfMatch(v string) *HeadObjectInput { 12614func (s *HeadObjectInput) SetIfMatch(v string) *HeadObjectInput {
11641 s.IfMatch = &v 12615 s.IfMatch = &v
@@ -11696,6 +12670,13 @@ func (s *HeadObjectInput) SetSSECustomerKey(v string) *HeadObjectInput {
11696 return s 12670 return s
11697} 12671}
11698 12672
12673func (s *HeadObjectInput) getSSECustomerKey() (v string) {
12674 if s.SSECustomerKey == nil {
12675 return v
12676 }
12677 return *s.SSECustomerKey
12678}
12679
11699// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value. 12680// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value.
11700func (s *HeadObjectInput) SetSSECustomerKeyMD5(v string) *HeadObjectInput { 12681func (s *HeadObjectInput) SetSSECustomerKeyMD5(v string) *HeadObjectInput {
11701 s.SSECustomerKeyMD5 = &v 12682 s.SSECustomerKeyMD5 = &v
@@ -11708,7 +12689,6 @@ func (s *HeadObjectInput) SetVersionId(v string) *HeadObjectInput {
11708 return s 12689 return s
11709} 12690}
11710 12691
11711// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadObjectOutput
11712type HeadObjectOutput struct { 12692type HeadObjectOutput struct {
11713 _ struct{} `type:"structure"` 12693 _ struct{} `type:"structure"`
11714 12694
@@ -11752,7 +12732,7 @@ type HeadObjectOutput struct {
11752 Expires *string `location:"header" locationName:"Expires" type:"string"` 12732 Expires *string `location:"header" locationName:"Expires" type:"string"`
11753 12733
11754 // Last modified date of the object 12734 // Last modified date of the object
11755 LastModified *time.Time `location:"header" locationName:"Last-Modified" type:"timestamp" timestampFormat:"rfc822"` 12735 LastModified *time.Time `location:"header" locationName:"Last-Modified" type:"timestamp"`
11756 12736
11757 // A map of metadata to store with the object in S3. 12737 // A map of metadata to store with the object in S3.
11758 Metadata map[string]*string `location:"headers" locationName:"x-amz-meta-" type:"map"` 12738 Metadata map[string]*string `location:"headers" locationName:"x-amz-meta-" type:"map"`
@@ -11965,7 +12945,6 @@ func (s *HeadObjectOutput) SetWebsiteRedirectLocation(v string) *HeadObjectOutpu
11965 return s 12945 return s
11966} 12946}
11967 12947
11968// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/IndexDocument
11969type IndexDocument struct { 12948type IndexDocument struct {
11970 _ struct{} `type:"structure"` 12949 _ struct{} `type:"structure"`
11971 12950
@@ -12007,7 +12986,6 @@ func (s *IndexDocument) SetSuffix(v string) *IndexDocument {
12007 return s 12986 return s
12008} 12987}
12009 12988
12010// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Initiator
12011type Initiator struct { 12989type Initiator struct {
12012 _ struct{} `type:"structure"` 12990 _ struct{} `type:"structure"`
12013 12991
@@ -12041,7 +13019,49 @@ func (s *Initiator) SetID(v string) *Initiator {
12041 return s 13019 return s
12042} 13020}
12043 13021
12044// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventoryConfiguration 13022// Describes the serialization format of the object.
13023type InputSerialization struct {
13024 _ struct{} `type:"structure"`
13025
13026 // Describes the serialization of a CSV-encoded object.
13027 CSV *CSVInput `type:"structure"`
13028
13029 // Specifies object's compression format. Valid values: NONE, GZIP, BZIP2. Default
13030 // Value: NONE.
13031 CompressionType *string `type:"string" enum:"CompressionType"`
13032
13033 // Specifies JSON as object's input serialization format.
13034 JSON *JSONInput `type:"structure"`
13035}
13036
13037// String returns the string representation
13038func (s InputSerialization) String() string {
13039 return awsutil.Prettify(s)
13040}
13041
13042// GoString returns the string representation
13043func (s InputSerialization) GoString() string {
13044 return s.String()
13045}
13046
13047// SetCSV sets the CSV field's value.
13048func (s *InputSerialization) SetCSV(v *CSVInput) *InputSerialization {
13049 s.CSV = v
13050 return s
13051}
13052
13053// SetCompressionType sets the CompressionType field's value.
13054func (s *InputSerialization) SetCompressionType(v string) *InputSerialization {
13055 s.CompressionType = &v
13056 return s
13057}
13058
13059// SetJSON sets the JSON field's value.
13060func (s *InputSerialization) SetJSON(v *JSONInput) *InputSerialization {
13061 s.JSON = v
13062 return s
13063}
13064
12045type InventoryConfiguration struct { 13065type InventoryConfiguration struct {
12046 _ struct{} `type:"structure"` 13066 _ struct{} `type:"structure"`
12047 13067
@@ -12170,7 +13190,6 @@ func (s *InventoryConfiguration) SetSchedule(v *InventorySchedule) *InventoryCon
12170 return s 13190 return s
12171} 13191}
12172 13192
12173// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventoryDestination
12174type InventoryDestination struct { 13193type InventoryDestination struct {
12175 _ struct{} `type:"structure"` 13194 _ struct{} `type:"structure"`
12176 13195
@@ -12215,7 +13234,55 @@ func (s *InventoryDestination) SetS3BucketDestination(v *InventoryS3BucketDestin
12215 return s 13234 return s
12216} 13235}
12217 13236
12218// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventoryFilter 13237// Contains the type of server-side encryption used to encrypt the inventory
13238// results.
13239type InventoryEncryption struct {
13240 _ struct{} `type:"structure"`
13241
13242 // Specifies the use of SSE-KMS to encrypt delievered Inventory reports.
13243 SSEKMS *SSEKMS `locationName:"SSE-KMS" type:"structure"`
13244
13245 // Specifies the use of SSE-S3 to encrypt delievered Inventory reports.
13246 SSES3 *SSES3 `locationName:"SSE-S3" type:"structure"`
13247}
13248
13249// String returns the string representation
13250func (s InventoryEncryption) String() string {
13251 return awsutil.Prettify(s)
13252}
13253
13254// GoString returns the string representation
13255func (s InventoryEncryption) GoString() string {
13256 return s.String()
13257}
13258
13259// Validate inspects the fields of the type to determine if they are valid.
13260func (s *InventoryEncryption) Validate() error {
13261 invalidParams := request.ErrInvalidParams{Context: "InventoryEncryption"}
13262 if s.SSEKMS != nil {
13263 if err := s.SSEKMS.Validate(); err != nil {
13264 invalidParams.AddNested("SSEKMS", err.(request.ErrInvalidParams))
13265 }
13266 }
13267
13268 if invalidParams.Len() > 0 {
13269 return invalidParams
13270 }
13271 return nil
13272}
13273
13274// SetSSEKMS sets the SSEKMS field's value.
13275func (s *InventoryEncryption) SetSSEKMS(v *SSEKMS) *InventoryEncryption {
13276 s.SSEKMS = v
13277 return s
13278}
13279
13280// SetSSES3 sets the SSES3 field's value.
13281func (s *InventoryEncryption) SetSSES3(v *SSES3) *InventoryEncryption {
13282 s.SSES3 = v
13283 return s
13284}
13285
12219type InventoryFilter struct { 13286type InventoryFilter struct {
12220 _ struct{} `type:"structure"` 13287 _ struct{} `type:"structure"`
12221 13288
@@ -12254,7 +13321,6 @@ func (s *InventoryFilter) SetPrefix(v string) *InventoryFilter {
12254 return s 13321 return s
12255} 13322}
12256 13323
12257// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventoryS3BucketDestination
12258type InventoryS3BucketDestination struct { 13324type InventoryS3BucketDestination struct {
12259 _ struct{} `type:"structure"` 13325 _ struct{} `type:"structure"`
12260 13326
@@ -12267,6 +13333,10 @@ type InventoryS3BucketDestination struct {
12267 // Bucket is a required field 13333 // Bucket is a required field
12268 Bucket *string `type:"string" required:"true"` 13334 Bucket *string `type:"string" required:"true"`
12269 13335
13336 // Contains the type of server-side encryption used to encrypt the inventory
13337 // results.
13338 Encryption *InventoryEncryption `type:"structure"`
13339
12270 // Specifies the output format of the inventory results. 13340 // Specifies the output format of the inventory results.
12271 // 13341 //
12272 // Format is a required field 13342 // Format is a required field
@@ -12295,6 +13365,11 @@ func (s *InventoryS3BucketDestination) Validate() error {
12295 if s.Format == nil { 13365 if s.Format == nil {
12296 invalidParams.Add(request.NewErrParamRequired("Format")) 13366 invalidParams.Add(request.NewErrParamRequired("Format"))
12297 } 13367 }
13368 if s.Encryption != nil {
13369 if err := s.Encryption.Validate(); err != nil {
13370 invalidParams.AddNested("Encryption", err.(request.ErrInvalidParams))
13371 }
13372 }
12298 13373
12299 if invalidParams.Len() > 0 { 13374 if invalidParams.Len() > 0 {
12300 return invalidParams 13375 return invalidParams
@@ -12314,6 +13389,19 @@ func (s *InventoryS3BucketDestination) SetBucket(v string) *InventoryS3BucketDes
12314 return s 13389 return s
12315} 13390}
12316 13391
13392func (s *InventoryS3BucketDestination) getBucket() (v string) {
13393 if s.Bucket == nil {
13394 return v
13395 }
13396 return *s.Bucket
13397}
13398
13399// SetEncryption sets the Encryption field's value.
13400func (s *InventoryS3BucketDestination) SetEncryption(v *InventoryEncryption) *InventoryS3BucketDestination {
13401 s.Encryption = v
13402 return s
13403}
13404
12317// SetFormat sets the Format field's value. 13405// SetFormat sets the Format field's value.
12318func (s *InventoryS3BucketDestination) SetFormat(v string) *InventoryS3BucketDestination { 13406func (s *InventoryS3BucketDestination) SetFormat(v string) *InventoryS3BucketDestination {
12319 s.Format = &v 13407 s.Format = &v
@@ -12326,7 +13414,6 @@ func (s *InventoryS3BucketDestination) SetPrefix(v string) *InventoryS3BucketDes
12326 return s 13414 return s
12327} 13415}
12328 13416
12329// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventorySchedule
12330type InventorySchedule struct { 13417type InventorySchedule struct {
12331 _ struct{} `type:"structure"` 13418 _ struct{} `type:"structure"`
12332 13419
@@ -12365,8 +13452,53 @@ func (s *InventorySchedule) SetFrequency(v string) *InventorySchedule {
12365 return s 13452 return s
12366} 13453}
12367 13454
13455type JSONInput struct {
13456 _ struct{} `type:"structure"`
13457
13458 // The type of JSON. Valid values: Document, Lines.
13459 Type *string `type:"string" enum:"JSONType"`
13460}
13461
13462// String returns the string representation
13463func (s JSONInput) String() string {
13464 return awsutil.Prettify(s)
13465}
13466
13467// GoString returns the string representation
13468func (s JSONInput) GoString() string {
13469 return s.String()
13470}
13471
13472// SetType sets the Type field's value.
13473func (s *JSONInput) SetType(v string) *JSONInput {
13474 s.Type = &v
13475 return s
13476}
13477
13478type JSONOutput struct {
13479 _ struct{} `type:"structure"`
13480
13481 // The value used to separate individual records in the output.
13482 RecordDelimiter *string `type:"string"`
13483}
13484
13485// String returns the string representation
13486func (s JSONOutput) String() string {
13487 return awsutil.Prettify(s)
13488}
13489
13490// GoString returns the string representation
13491func (s JSONOutput) GoString() string {
13492 return s.String()
13493}
13494
13495// SetRecordDelimiter sets the RecordDelimiter field's value.
13496func (s *JSONOutput) SetRecordDelimiter(v string) *JSONOutput {
13497 s.RecordDelimiter = &v
13498 return s
13499}
13500
12368// Container for object key name prefix and suffix filtering rules. 13501// Container for object key name prefix and suffix filtering rules.
12369// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/S3KeyFilter
12370type KeyFilter struct { 13502type KeyFilter struct {
12371 _ struct{} `type:"structure"` 13503 _ struct{} `type:"structure"`
12372 13504
@@ -12392,7 +13524,6 @@ func (s *KeyFilter) SetFilterRules(v []*FilterRule) *KeyFilter {
12392} 13524}
12393 13525
12394// Container for specifying the AWS Lambda notification configuration. 13526// Container for specifying the AWS Lambda notification configuration.
12395// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LambdaFunctionConfiguration
12396type LambdaFunctionConfiguration struct { 13527type LambdaFunctionConfiguration struct {
12397 _ struct{} `type:"structure"` 13528 _ struct{} `type:"structure"`
12398 13529
@@ -12401,6 +13532,7 @@ type LambdaFunctionConfiguration struct {
12401 13532
12402 // Container for object key name filtering rules. For information about key 13533 // Container for object key name filtering rules. For information about key
12403 // name filtering, go to Configuring Event Notifications (http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html) 13534 // name filtering, go to Configuring Event Notifications (http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html)
13535 // in the Amazon Simple Storage Service Developer Guide.
12404 Filter *NotificationConfigurationFilter `type:"structure"` 13536 Filter *NotificationConfigurationFilter `type:"structure"`
12405 13537
12406 // Optional unique identifier for configurations in a notification configuration. 13538 // Optional unique identifier for configurations in a notification configuration.
@@ -12464,7 +13596,6 @@ func (s *LambdaFunctionConfiguration) SetLambdaFunctionArn(v string) *LambdaFunc
12464 return s 13596 return s
12465} 13597}
12466 13598
12467// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleConfiguration
12468type LifecycleConfiguration struct { 13599type LifecycleConfiguration struct {
12469 _ struct{} `type:"structure"` 13600 _ struct{} `type:"structure"`
12470 13601
@@ -12511,7 +13642,6 @@ func (s *LifecycleConfiguration) SetRules(v []*Rule) *LifecycleConfiguration {
12511 return s 13642 return s
12512} 13643}
12513 13644
12514// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleExpiration
12515type LifecycleExpiration struct { 13645type LifecycleExpiration struct {
12516 _ struct{} `type:"structure"` 13646 _ struct{} `type:"structure"`
12517 13647
@@ -12558,7 +13688,6 @@ func (s *LifecycleExpiration) SetExpiredObjectDeleteMarker(v bool) *LifecycleExp
12558 return s 13688 return s
12559} 13689}
12560 13690
12561// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleRule
12562type LifecycleRule struct { 13691type LifecycleRule struct {
12563 _ struct{} `type:"structure"` 13692 _ struct{} `type:"structure"`
12564 13693
@@ -12682,7 +13811,6 @@ func (s *LifecycleRule) SetTransitions(v []*Transition) *LifecycleRule {
12682// This is used in a Lifecycle Rule Filter to apply a logical AND to two or 13811// This is used in a Lifecycle Rule Filter to apply a logical AND to two or
12683// more predicates. The Lifecycle Rule will apply to any object matching all 13812// more predicates. The Lifecycle Rule will apply to any object matching all
12684// of the predicates configured inside the And operator. 13813// of the predicates configured inside the And operator.
12685// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleRuleAndOperator
12686type LifecycleRuleAndOperator struct { 13814type LifecycleRuleAndOperator struct {
12687 _ struct{} `type:"structure"` 13815 _ struct{} `type:"structure"`
12688 13816
@@ -12737,7 +13865,6 @@ func (s *LifecycleRuleAndOperator) SetTags(v []*Tag) *LifecycleRuleAndOperator {
12737 13865
12738// The Filter is used to identify objects that a Lifecycle Rule applies to. 13866// The Filter is used to identify objects that a Lifecycle Rule applies to.
12739// A Filter must have exactly one of Prefix, Tag, or And specified. 13867// A Filter must have exactly one of Prefix, Tag, or And specified.
12740// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleRuleFilter
12741type LifecycleRuleFilter struct { 13868type LifecycleRuleFilter struct {
12742 _ struct{} `type:"structure"` 13869 _ struct{} `type:"structure"`
12743 13870
@@ -12801,7 +13928,6 @@ func (s *LifecycleRuleFilter) SetTag(v *Tag) *LifecycleRuleFilter {
12801 return s 13928 return s
12802} 13929}
12803 13930
12804// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketAnalyticsConfigurationsRequest
12805type ListBucketAnalyticsConfigurationsInput struct { 13931type ListBucketAnalyticsConfigurationsInput struct {
12806 _ struct{} `type:"structure"` 13932 _ struct{} `type:"structure"`
12807 13933
@@ -12844,13 +13970,19 @@ func (s *ListBucketAnalyticsConfigurationsInput) SetBucket(v string) *ListBucket
12844 return s 13970 return s
12845} 13971}
12846 13972
13973func (s *ListBucketAnalyticsConfigurationsInput) getBucket() (v string) {
13974 if s.Bucket == nil {
13975 return v
13976 }
13977 return *s.Bucket
13978}
13979
12847// SetContinuationToken sets the ContinuationToken field's value. 13980// SetContinuationToken sets the ContinuationToken field's value.
12848func (s *ListBucketAnalyticsConfigurationsInput) SetContinuationToken(v string) *ListBucketAnalyticsConfigurationsInput { 13981func (s *ListBucketAnalyticsConfigurationsInput) SetContinuationToken(v string) *ListBucketAnalyticsConfigurationsInput {
12849 s.ContinuationToken = &v 13982 s.ContinuationToken = &v
12850 return s 13983 return s
12851} 13984}
12852 13985
12853// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketAnalyticsConfigurationsOutput
12854type ListBucketAnalyticsConfigurationsOutput struct { 13986type ListBucketAnalyticsConfigurationsOutput struct {
12855 _ struct{} `type:"structure"` 13987 _ struct{} `type:"structure"`
12856 13988
@@ -12905,7 +14037,6 @@ func (s *ListBucketAnalyticsConfigurationsOutput) SetNextContinuationToken(v str
12905 return s 14037 return s
12906} 14038}
12907 14039
12908// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketInventoryConfigurationsRequest
12909type ListBucketInventoryConfigurationsInput struct { 14040type ListBucketInventoryConfigurationsInput struct {
12910 _ struct{} `type:"structure"` 14041 _ struct{} `type:"structure"`
12911 14042
@@ -12950,13 +14081,19 @@ func (s *ListBucketInventoryConfigurationsInput) SetBucket(v string) *ListBucket
12950 return s 14081 return s
12951} 14082}
12952 14083
14084func (s *ListBucketInventoryConfigurationsInput) getBucket() (v string) {
14085 if s.Bucket == nil {
14086 return v
14087 }
14088 return *s.Bucket
14089}
14090
12953// SetContinuationToken sets the ContinuationToken field's value. 14091// SetContinuationToken sets the ContinuationToken field's value.
12954func (s *ListBucketInventoryConfigurationsInput) SetContinuationToken(v string) *ListBucketInventoryConfigurationsInput { 14092func (s *ListBucketInventoryConfigurationsInput) SetContinuationToken(v string) *ListBucketInventoryConfigurationsInput {
12955 s.ContinuationToken = &v 14093 s.ContinuationToken = &v
12956 return s 14094 return s
12957} 14095}
12958 14096
12959// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketInventoryConfigurationsOutput
12960type ListBucketInventoryConfigurationsOutput struct { 14097type ListBucketInventoryConfigurationsOutput struct {
12961 _ struct{} `type:"structure"` 14098 _ struct{} `type:"structure"`
12962 14099
@@ -13011,7 +14148,6 @@ func (s *ListBucketInventoryConfigurationsOutput) SetNextContinuationToken(v str
13011 return s 14148 return s
13012} 14149}
13013 14150
13014// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketMetricsConfigurationsRequest
13015type ListBucketMetricsConfigurationsInput struct { 14151type ListBucketMetricsConfigurationsInput struct {
13016 _ struct{} `type:"structure"` 14152 _ struct{} `type:"structure"`
13017 14153
@@ -13056,13 +14192,19 @@ func (s *ListBucketMetricsConfigurationsInput) SetBucket(v string) *ListBucketMe
13056 return s 14192 return s
13057} 14193}
13058 14194
14195func (s *ListBucketMetricsConfigurationsInput) getBucket() (v string) {
14196 if s.Bucket == nil {
14197 return v
14198 }
14199 return *s.Bucket
14200}
14201
13059// SetContinuationToken sets the ContinuationToken field's value. 14202// SetContinuationToken sets the ContinuationToken field's value.
13060func (s *ListBucketMetricsConfigurationsInput) SetContinuationToken(v string) *ListBucketMetricsConfigurationsInput { 14203func (s *ListBucketMetricsConfigurationsInput) SetContinuationToken(v string) *ListBucketMetricsConfigurationsInput {
13061 s.ContinuationToken = &v 14204 s.ContinuationToken = &v
13062 return s 14205 return s
13063} 14206}
13064 14207
13065// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketMetricsConfigurationsOutput
13066type ListBucketMetricsConfigurationsOutput struct { 14208type ListBucketMetricsConfigurationsOutput struct {
13067 _ struct{} `type:"structure"` 14209 _ struct{} `type:"structure"`
13068 14210
@@ -13119,7 +14261,6 @@ func (s *ListBucketMetricsConfigurationsOutput) SetNextContinuationToken(v strin
13119 return s 14261 return s
13120} 14262}
13121 14263
13122// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketsInput
13123type ListBucketsInput struct { 14264type ListBucketsInput struct {
13124 _ struct{} `type:"structure"` 14265 _ struct{} `type:"structure"`
13125} 14266}
@@ -13134,7 +14275,6 @@ func (s ListBucketsInput) GoString() string {
13134 return s.String() 14275 return s.String()
13135} 14276}
13136 14277
13137// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketsOutput
13138type ListBucketsOutput struct { 14278type ListBucketsOutput struct {
13139 _ struct{} `type:"structure"` 14279 _ struct{} `type:"structure"`
13140 14280
@@ -13165,7 +14305,6 @@ func (s *ListBucketsOutput) SetOwner(v *Owner) *ListBucketsOutput {
13165 return s 14305 return s
13166} 14306}
13167 14307
13168// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListMultipartUploadsRequest
13169type ListMultipartUploadsInput struct { 14308type ListMultipartUploadsInput struct {
13170 _ struct{} `type:"structure"` 14309 _ struct{} `type:"structure"`
13171 14310
@@ -13231,6 +14370,13 @@ func (s *ListMultipartUploadsInput) SetBucket(v string) *ListMultipartUploadsInp
13231 return s 14370 return s
13232} 14371}
13233 14372
14373func (s *ListMultipartUploadsInput) getBucket() (v string) {
14374 if s.Bucket == nil {
14375 return v
14376 }
14377 return *s.Bucket
14378}
14379
13234// SetDelimiter sets the Delimiter field's value. 14380// SetDelimiter sets the Delimiter field's value.
13235func (s *ListMultipartUploadsInput) SetDelimiter(v string) *ListMultipartUploadsInput { 14381func (s *ListMultipartUploadsInput) SetDelimiter(v string) *ListMultipartUploadsInput {
13236 s.Delimiter = &v 14382 s.Delimiter = &v
@@ -13267,7 +14413,6 @@ func (s *ListMultipartUploadsInput) SetUploadIdMarker(v string) *ListMultipartUp
13267 return s 14413 return s
13268} 14414}
13269 14415
13270// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListMultipartUploadsOutput
13271type ListMultipartUploadsOutput struct { 14416type ListMultipartUploadsOutput struct {
13272 _ struct{} `type:"structure"` 14417 _ struct{} `type:"structure"`
13273 14418
@@ -13328,6 +14473,13 @@ func (s *ListMultipartUploadsOutput) SetBucket(v string) *ListMultipartUploadsOu
13328 return s 14473 return s
13329} 14474}
13330 14475
14476func (s *ListMultipartUploadsOutput) getBucket() (v string) {
14477 if s.Bucket == nil {
14478 return v
14479 }
14480 return *s.Bucket
14481}
14482
13331// SetCommonPrefixes sets the CommonPrefixes field's value. 14483// SetCommonPrefixes sets the CommonPrefixes field's value.
13332func (s *ListMultipartUploadsOutput) SetCommonPrefixes(v []*CommonPrefix) *ListMultipartUploadsOutput { 14484func (s *ListMultipartUploadsOutput) SetCommonPrefixes(v []*CommonPrefix) *ListMultipartUploadsOutput {
13333 s.CommonPrefixes = v 14485 s.CommonPrefixes = v
@@ -13394,7 +14546,6 @@ func (s *ListMultipartUploadsOutput) SetUploads(v []*MultipartUpload) *ListMulti
13394 return s 14546 return s
13395} 14547}
13396 14548
13397// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectVersionsRequest
13398type ListObjectVersionsInput struct { 14549type ListObjectVersionsInput struct {
13399 _ struct{} `type:"structure"` 14550 _ struct{} `type:"structure"`
13400 14551
@@ -13455,6 +14606,13 @@ func (s *ListObjectVersionsInput) SetBucket(v string) *ListObjectVersionsInput {
13455 return s 14606 return s
13456} 14607}
13457 14608
14609func (s *ListObjectVersionsInput) getBucket() (v string) {
14610 if s.Bucket == nil {
14611 return v
14612 }
14613 return *s.Bucket
14614}
14615
13458// SetDelimiter sets the Delimiter field's value. 14616// SetDelimiter sets the Delimiter field's value.
13459func (s *ListObjectVersionsInput) SetDelimiter(v string) *ListObjectVersionsInput { 14617func (s *ListObjectVersionsInput) SetDelimiter(v string) *ListObjectVersionsInput {
13460 s.Delimiter = &v 14618 s.Delimiter = &v
@@ -13491,7 +14649,6 @@ func (s *ListObjectVersionsInput) SetVersionIdMarker(v string) *ListObjectVersio
13491 return s 14649 return s
13492} 14650}
13493 14651
13494// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectVersionsOutput
13495type ListObjectVersionsOutput struct { 14652type ListObjectVersionsOutput struct {
13496 _ struct{} `type:"structure"` 14653 _ struct{} `type:"structure"`
13497 14654
@@ -13619,7 +14776,6 @@ func (s *ListObjectVersionsOutput) SetVersions(v []*ObjectVersion) *ListObjectVe
13619 return s 14776 return s
13620} 14777}
13621 14778
13622// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsRequest
13623type ListObjectsInput struct { 14779type ListObjectsInput struct {
13624 _ struct{} `type:"structure"` 14780 _ struct{} `type:"structure"`
13625 14781
@@ -13682,6 +14838,13 @@ func (s *ListObjectsInput) SetBucket(v string) *ListObjectsInput {
13682 return s 14838 return s
13683} 14839}
13684 14840
14841func (s *ListObjectsInput) getBucket() (v string) {
14842 if s.Bucket == nil {
14843 return v
14844 }
14845 return *s.Bucket
14846}
14847
13685// SetDelimiter sets the Delimiter field's value. 14848// SetDelimiter sets the Delimiter field's value.
13686func (s *ListObjectsInput) SetDelimiter(v string) *ListObjectsInput { 14849func (s *ListObjectsInput) SetDelimiter(v string) *ListObjectsInput {
13687 s.Delimiter = &v 14850 s.Delimiter = &v
@@ -13718,7 +14881,6 @@ func (s *ListObjectsInput) SetRequestPayer(v string) *ListObjectsInput {
13718 return s 14881 return s
13719} 14882}
13720 14883
13721// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsOutput
13722type ListObjectsOutput struct { 14884type ListObjectsOutput struct {
13723 _ struct{} `type:"structure"` 14885 _ struct{} `type:"structure"`
13724 14886
@@ -13823,7 +14985,6 @@ func (s *ListObjectsOutput) SetPrefix(v string) *ListObjectsOutput {
13823 return s 14985 return s
13824} 14986}
13825 14987
13826// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsV2Request
13827type ListObjectsV2Input struct { 14988type ListObjectsV2Input struct {
13828 _ struct{} `type:"structure"` 14989 _ struct{} `type:"structure"`
13829 14990
@@ -13894,6 +15055,13 @@ func (s *ListObjectsV2Input) SetBucket(v string) *ListObjectsV2Input {
13894 return s 15055 return s
13895} 15056}
13896 15057
15058func (s *ListObjectsV2Input) getBucket() (v string) {
15059 if s.Bucket == nil {
15060 return v
15061 }
15062 return *s.Bucket
15063}
15064
13897// SetContinuationToken sets the ContinuationToken field's value. 15065// SetContinuationToken sets the ContinuationToken field's value.
13898func (s *ListObjectsV2Input) SetContinuationToken(v string) *ListObjectsV2Input { 15066func (s *ListObjectsV2Input) SetContinuationToken(v string) *ListObjectsV2Input {
13899 s.ContinuationToken = &v 15067 s.ContinuationToken = &v
@@ -13942,7 +15110,6 @@ func (s *ListObjectsV2Input) SetStartAfter(v string) *ListObjectsV2Input {
13942 return s 15110 return s
13943} 15111}
13944 15112
13945// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsV2Output
13946type ListObjectsV2Output struct { 15113type ListObjectsV2Output struct {
13947 _ struct{} `type:"structure"` 15114 _ struct{} `type:"structure"`
13948 15115
@@ -14076,7 +15243,6 @@ func (s *ListObjectsV2Output) SetStartAfter(v string) *ListObjectsV2Output {
14076 return s 15243 return s
14077} 15244}
14078 15245
14079// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListPartsRequest
14080type ListPartsInput struct { 15246type ListPartsInput struct {
14081 _ struct{} `type:"structure"` 15247 _ struct{} `type:"structure"`
14082 15248
@@ -14143,6 +15309,13 @@ func (s *ListPartsInput) SetBucket(v string) *ListPartsInput {
14143 return s 15309 return s
14144} 15310}
14145 15311
15312func (s *ListPartsInput) getBucket() (v string) {
15313 if s.Bucket == nil {
15314 return v
15315 }
15316 return *s.Bucket
15317}
15318
14146// SetKey sets the Key field's value. 15319// SetKey sets the Key field's value.
14147func (s *ListPartsInput) SetKey(v string) *ListPartsInput { 15320func (s *ListPartsInput) SetKey(v string) *ListPartsInput {
14148 s.Key = &v 15321 s.Key = &v
@@ -14173,12 +15346,11 @@ func (s *ListPartsInput) SetUploadId(v string) *ListPartsInput {
14173 return s 15346 return s
14174} 15347}
14175 15348
14176// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListPartsOutput
14177type ListPartsOutput struct { 15349type ListPartsOutput struct {
14178 _ struct{} `type:"structure"` 15350 _ struct{} `type:"structure"`
14179 15351
14180 // Date when multipart upload will become eligible for abort operation by lifecycle. 15352 // Date when multipart upload will become eligible for abort operation by lifecycle.
14181 AbortDate *time.Time `location:"header" locationName:"x-amz-abort-date" type:"timestamp" timestampFormat:"rfc822"` 15353 AbortDate *time.Time `location:"header" locationName:"x-amz-abort-date" type:"timestamp"`
14182 15354
14183 // Id of the lifecycle rule that makes a multipart upload eligible for abort 15355 // Id of the lifecycle rule that makes a multipart upload eligible for abort
14184 // operation. 15356 // operation.
@@ -14250,6 +15422,13 @@ func (s *ListPartsOutput) SetBucket(v string) *ListPartsOutput {
14250 return s 15422 return s
14251} 15423}
14252 15424
15425func (s *ListPartsOutput) getBucket() (v string) {
15426 if s.Bucket == nil {
15427 return v
15428 }
15429 return *s.Bucket
15430}
15431
14253// SetInitiator sets the Initiator field's value. 15432// SetInitiator sets the Initiator field's value.
14254func (s *ListPartsOutput) SetInitiator(v *Initiator) *ListPartsOutput { 15433func (s *ListPartsOutput) SetInitiator(v *Initiator) *ListPartsOutput {
14255 s.Initiator = v 15434 s.Initiator = v
@@ -14316,7 +15495,137 @@ func (s *ListPartsOutput) SetUploadId(v string) *ListPartsOutput {
14316 return s 15495 return s
14317} 15496}
14318 15497
14319// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LoggingEnabled 15498// Describes an S3 location that will receive the results of the restore request.
15499type Location struct {
15500 _ struct{} `type:"structure"`
15501
15502 // A list of grants that control access to the staged results.
15503 AccessControlList []*Grant `locationNameList:"Grant" type:"list"`
15504
15505 // The name of the bucket where the restore results will be placed.
15506 //
15507 // BucketName is a required field
15508 BucketName *string `type:"string" required:"true"`
15509
15510 // The canned ACL to apply to the restore results.
15511 CannedACL *string `type:"string" enum:"ObjectCannedACL"`
15512
15513 // Describes the server-side encryption that will be applied to the restore
15514 // results.
15515 Encryption *Encryption `type:"structure"`
15516
15517 // The prefix that is prepended to the restore results for this request.
15518 //
15519 // Prefix is a required field
15520 Prefix *string `type:"string" required:"true"`
15521
15522 // The class of storage used to store the restore results.
15523 StorageClass *string `type:"string" enum:"StorageClass"`
15524
15525 // The tag-set that is applied to the restore results.
15526 Tagging *Tagging `type:"structure"`
15527
15528 // A list of metadata to store with the restore results in S3.
15529 UserMetadata []*MetadataEntry `locationNameList:"MetadataEntry" type:"list"`
15530}
15531
15532// String returns the string representation
15533func (s Location) String() string {
15534 return awsutil.Prettify(s)
15535}
15536
15537// GoString returns the string representation
15538func (s Location) GoString() string {
15539 return s.String()
15540}
15541
15542// Validate inspects the fields of the type to determine if they are valid.
15543func (s *Location) Validate() error {
15544 invalidParams := request.ErrInvalidParams{Context: "Location"}
15545 if s.BucketName == nil {
15546 invalidParams.Add(request.NewErrParamRequired("BucketName"))
15547 }
15548 if s.Prefix == nil {
15549 invalidParams.Add(request.NewErrParamRequired("Prefix"))
15550 }
15551 if s.AccessControlList != nil {
15552 for i, v := range s.AccessControlList {
15553 if v == nil {
15554 continue
15555 }
15556 if err := v.Validate(); err != nil {
15557 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "AccessControlList", i), err.(request.ErrInvalidParams))
15558 }
15559 }
15560 }
15561 if s.Encryption != nil {
15562 if err := s.Encryption.Validate(); err != nil {
15563 invalidParams.AddNested("Encryption", err.(request.ErrInvalidParams))
15564 }
15565 }
15566 if s.Tagging != nil {
15567 if err := s.Tagging.Validate(); err != nil {
15568 invalidParams.AddNested("Tagging", err.(request.ErrInvalidParams))
15569 }
15570 }
15571
15572 if invalidParams.Len() > 0 {
15573 return invalidParams
15574 }
15575 return nil
15576}
15577
15578// SetAccessControlList sets the AccessControlList field's value.
15579func (s *Location) SetAccessControlList(v []*Grant) *Location {
15580 s.AccessControlList = v
15581 return s
15582}
15583
15584// SetBucketName sets the BucketName field's value.
15585func (s *Location) SetBucketName(v string) *Location {
15586 s.BucketName = &v
15587 return s
15588}
15589
15590// SetCannedACL sets the CannedACL field's value.
15591func (s *Location) SetCannedACL(v string) *Location {
15592 s.CannedACL = &v
15593 return s
15594}
15595
15596// SetEncryption sets the Encryption field's value.
15597func (s *Location) SetEncryption(v *Encryption) *Location {
15598 s.Encryption = v
15599 return s
15600}
15601
15602// SetPrefix sets the Prefix field's value.
15603func (s *Location) SetPrefix(v string) *Location {
15604 s.Prefix = &v
15605 return s
15606}
15607
15608// SetStorageClass sets the StorageClass field's value.
15609func (s *Location) SetStorageClass(v string) *Location {
15610 s.StorageClass = &v
15611 return s
15612}
15613
15614// SetTagging sets the Tagging field's value.
15615func (s *Location) SetTagging(v *Tagging) *Location {
15616 s.Tagging = v
15617 return s
15618}
15619
15620// SetUserMetadata sets the UserMetadata field's value.
15621func (s *Location) SetUserMetadata(v []*MetadataEntry) *Location {
15622 s.UserMetadata = v
15623 return s
15624}
15625
15626// Container for logging information. Presence of this element indicates that
15627// logging is enabled. Parameters TargetBucket and TargetPrefix are required
15628// in this case.
14320type LoggingEnabled struct { 15629type LoggingEnabled struct {
14321 _ struct{} `type:"structure"` 15630 _ struct{} `type:"structure"`
14322 15631
@@ -14326,13 +15635,17 @@ type LoggingEnabled struct {
14326 // to deliver their logs to the same target bucket. In this case you should 15635 // to deliver their logs to the same target bucket. In this case you should
14327 // choose a different TargetPrefix for each source bucket so that the delivered 15636 // choose a different TargetPrefix for each source bucket so that the delivered
14328 // log files can be distinguished by key. 15637 // log files can be distinguished by key.
14329 TargetBucket *string `type:"string"` 15638 //
15639 // TargetBucket is a required field
15640 TargetBucket *string `type:"string" required:"true"`
14330 15641
14331 TargetGrants []*TargetGrant `locationNameList:"Grant" type:"list"` 15642 TargetGrants []*TargetGrant `locationNameList:"Grant" type:"list"`
14332 15643
14333 // This element lets you specify a prefix for the keys that the log files will 15644 // This element lets you specify a prefix for the keys that the log files will
14334 // be stored under. 15645 // be stored under.
14335 TargetPrefix *string `type:"string"` 15646 //
15647 // TargetPrefix is a required field
15648 TargetPrefix *string `type:"string" required:"true"`
14336} 15649}
14337 15650
14338// String returns the string representation 15651// String returns the string representation
@@ -14348,6 +15661,12 @@ func (s LoggingEnabled) GoString() string {
14348// Validate inspects the fields of the type to determine if they are valid. 15661// Validate inspects the fields of the type to determine if they are valid.
14349func (s *LoggingEnabled) Validate() error { 15662func (s *LoggingEnabled) Validate() error {
14350 invalidParams := request.ErrInvalidParams{Context: "LoggingEnabled"} 15663 invalidParams := request.ErrInvalidParams{Context: "LoggingEnabled"}
15664 if s.TargetBucket == nil {
15665 invalidParams.Add(request.NewErrParamRequired("TargetBucket"))
15666 }
15667 if s.TargetPrefix == nil {
15668 invalidParams.Add(request.NewErrParamRequired("TargetPrefix"))
15669 }
14351 if s.TargetGrants != nil { 15670 if s.TargetGrants != nil {
14352 for i, v := range s.TargetGrants { 15671 for i, v := range s.TargetGrants {
14353 if v == nil { 15672 if v == nil {
@@ -14383,7 +15702,37 @@ func (s *LoggingEnabled) SetTargetPrefix(v string) *LoggingEnabled {
14383 return s 15702 return s
14384} 15703}
14385 15704
14386// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetricsAndOperator 15705// A metadata key-value pair to store with an object.
15706type MetadataEntry struct {
15707 _ struct{} `type:"structure"`
15708
15709 Name *string `type:"string"`
15710
15711 Value *string `type:"string"`
15712}
15713
15714// String returns the string representation
15715func (s MetadataEntry) String() string {
15716 return awsutil.Prettify(s)
15717}
15718
15719// GoString returns the string representation
15720func (s MetadataEntry) GoString() string {
15721 return s.String()
15722}
15723
15724// SetName sets the Name field's value.
15725func (s *MetadataEntry) SetName(v string) *MetadataEntry {
15726 s.Name = &v
15727 return s
15728}
15729
15730// SetValue sets the Value field's value.
15731func (s *MetadataEntry) SetValue(v string) *MetadataEntry {
15732 s.Value = &v
15733 return s
15734}
15735
14387type MetricsAndOperator struct { 15736type MetricsAndOperator struct {
14388 _ struct{} `type:"structure"` 15737 _ struct{} `type:"structure"`
14389 15738
@@ -14436,7 +15785,6 @@ func (s *MetricsAndOperator) SetTags(v []*Tag) *MetricsAndOperator {
14436 return s 15785 return s
14437} 15786}
14438 15787
14439// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetricsConfiguration
14440type MetricsConfiguration struct { 15788type MetricsConfiguration struct {
14441 _ struct{} `type:"structure"` 15789 _ struct{} `type:"structure"`
14442 15790
@@ -14491,7 +15839,6 @@ func (s *MetricsConfiguration) SetId(v string) *MetricsConfiguration {
14491 return s 15839 return s
14492} 15840}
14493 15841
14494// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetricsFilter
14495type MetricsFilter struct { 15842type MetricsFilter struct {
14496 _ struct{} `type:"structure"` 15843 _ struct{} `type:"structure"`
14497 15844
@@ -14555,12 +15902,11 @@ func (s *MetricsFilter) SetTag(v *Tag) *MetricsFilter {
14555 return s 15902 return s
14556} 15903}
14557 15904
14558// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MultipartUpload
14559type MultipartUpload struct { 15905type MultipartUpload struct {
14560 _ struct{} `type:"structure"` 15906 _ struct{} `type:"structure"`
14561 15907
14562 // Date and time at which the multipart upload was initiated. 15908 // Date and time at which the multipart upload was initiated.
14563 Initiated *time.Time `type:"timestamp" timestampFormat:"iso8601"` 15909 Initiated *time.Time `type:"timestamp"`
14564 15910
14565 // Identifies who initiated the multipart upload. 15911 // Identifies who initiated the multipart upload.
14566 Initiator *Initiator `type:"structure"` 15912 Initiator *Initiator `type:"structure"`
@@ -14628,14 +15974,14 @@ func (s *MultipartUpload) SetUploadId(v string) *MultipartUpload {
14628// configuration action on a bucket that has versioning enabled (or suspended) 15974// configuration action on a bucket that has versioning enabled (or suspended)
14629// to request that Amazon S3 delete noncurrent object versions at a specific 15975// to request that Amazon S3 delete noncurrent object versions at a specific
14630// period in the object's lifetime. 15976// period in the object's lifetime.
14631// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NoncurrentVersionExpiration
14632type NoncurrentVersionExpiration struct { 15977type NoncurrentVersionExpiration struct {
14633 _ struct{} `type:"structure"` 15978 _ struct{} `type:"structure"`
14634 15979
14635 // Specifies the number of days an object is noncurrent before Amazon S3 can 15980 // Specifies the number of days an object is noncurrent before Amazon S3 can
14636 // perform the associated action. For information about the noncurrent days 15981 // perform the associated action. For information about the noncurrent days
14637 // calculations, see How Amazon S3 Calculates When an Object Became Noncurrent 15982 // calculations, see How Amazon S3 Calculates When an Object Became Noncurrent
14638 // (http://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html) 15983 // (http://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html) in
15984 // the Amazon Simple Storage Service Developer Guide.
14639 NoncurrentDays *int64 `type:"integer"` 15985 NoncurrentDays *int64 `type:"integer"`
14640} 15986}
14641 15987
@@ -14656,18 +16002,19 @@ func (s *NoncurrentVersionExpiration) SetNoncurrentDays(v int64) *NoncurrentVers
14656} 16002}
14657 16003
14658// Container for the transition rule that describes when noncurrent objects 16004// Container for the transition rule that describes when noncurrent objects
14659// transition to the STANDARD_IA or GLACIER storage class. If your bucket is 16005// transition to the STANDARD_IA, ONEZONE_IA or GLACIER storage class. If your
14660// versioning-enabled (or versioning is suspended), you can set this action 16006// bucket is versioning-enabled (or versioning is suspended), you can set this
14661// to request that Amazon S3 transition noncurrent object versions to the STANDARD_IA 16007// action to request that Amazon S3 transition noncurrent object versions to
14662// or GLACIER storage class at a specific period in the object's lifetime. 16008// the STANDARD_IA, ONEZONE_IA or GLACIER storage class at a specific period
14663// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NoncurrentVersionTransition 16009// in the object's lifetime.
14664type NoncurrentVersionTransition struct { 16010type NoncurrentVersionTransition struct {
14665 _ struct{} `type:"structure"` 16011 _ struct{} `type:"structure"`
14666 16012
14667 // Specifies the number of days an object is noncurrent before Amazon S3 can 16013 // Specifies the number of days an object is noncurrent before Amazon S3 can
14668 // perform the associated action. For information about the noncurrent days 16014 // perform the associated action. For information about the noncurrent days
14669 // calculations, see How Amazon S3 Calculates When an Object Became Noncurrent 16015 // calculations, see How Amazon S3 Calculates When an Object Became Noncurrent
14670 // (http://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html) 16016 // (http://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html) in
16017 // the Amazon Simple Storage Service Developer Guide.
14671 NoncurrentDays *int64 `type:"integer"` 16018 NoncurrentDays *int64 `type:"integer"`
14672 16019
14673 // The class of storage used to store the object. 16020 // The class of storage used to store the object.
@@ -14698,7 +16045,6 @@ func (s *NoncurrentVersionTransition) SetStorageClass(v string) *NoncurrentVersi
14698 16045
14699// Container for specifying the notification configuration of the bucket. If 16046// Container for specifying the notification configuration of the bucket. If
14700// this element is empty, notifications are turned off on the bucket. 16047// this element is empty, notifications are turned off on the bucket.
14701// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NotificationConfiguration
14702type NotificationConfiguration struct { 16048type NotificationConfiguration struct {
14703 _ struct{} `type:"structure"` 16049 _ struct{} `type:"structure"`
14704 16050
@@ -14777,7 +16123,6 @@ func (s *NotificationConfiguration) SetTopicConfigurations(v []*TopicConfigurati
14777 return s 16123 return s
14778} 16124}
14779 16125
14780// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NotificationConfigurationDeprecated
14781type NotificationConfigurationDeprecated struct { 16126type NotificationConfigurationDeprecated struct {
14782 _ struct{} `type:"structure"` 16127 _ struct{} `type:"structure"`
14783 16128
@@ -14818,7 +16163,7 @@ func (s *NotificationConfigurationDeprecated) SetTopicConfiguration(v *TopicConf
14818 16163
14819// Container for object key name filtering rules. For information about key 16164// Container for object key name filtering rules. For information about key
14820// name filtering, go to Configuring Event Notifications (http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html) 16165// name filtering, go to Configuring Event Notifications (http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html)
14821// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NotificationConfigurationFilter 16166// in the Amazon Simple Storage Service Developer Guide.
14822type NotificationConfigurationFilter struct { 16167type NotificationConfigurationFilter struct {
14823 _ struct{} `type:"structure"` 16168 _ struct{} `type:"structure"`
14824 16169
@@ -14842,7 +16187,6 @@ func (s *NotificationConfigurationFilter) SetKey(v *KeyFilter) *NotificationConf
14842 return s 16187 return s
14843} 16188}
14844 16189
14845// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Object
14846type Object struct { 16190type Object struct {
14847 _ struct{} `type:"structure"` 16191 _ struct{} `type:"structure"`
14848 16192
@@ -14850,7 +16194,7 @@ type Object struct {
14850 16194
14851 Key *string `min:"1" type:"string"` 16195 Key *string `min:"1" type:"string"`
14852 16196
14853 LastModified *time.Time `type:"timestamp" timestampFormat:"iso8601"` 16197 LastModified *time.Time `type:"timestamp"`
14854 16198
14855 Owner *Owner `type:"structure"` 16199 Owner *Owner `type:"structure"`
14856 16200
@@ -14906,7 +16250,6 @@ func (s *Object) SetStorageClass(v string) *Object {
14906 return s 16250 return s
14907} 16251}
14908 16252
14909// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectIdentifier
14910type ObjectIdentifier struct { 16253type ObjectIdentifier struct {
14911 _ struct{} `type:"structure"` 16254 _ struct{} `type:"structure"`
14912 16255
@@ -14957,7 +16300,6 @@ func (s *ObjectIdentifier) SetVersionId(v string) *ObjectIdentifier {
14957 return s 16300 return s
14958} 16301}
14959 16302
14960// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectVersion
14961type ObjectVersion struct { 16303type ObjectVersion struct {
14962 _ struct{} `type:"structure"` 16304 _ struct{} `type:"structure"`
14963 16305
@@ -14971,7 +16313,7 @@ type ObjectVersion struct {
14971 Key *string `min:"1" type:"string"` 16313 Key *string `min:"1" type:"string"`
14972 16314
14973 // Date and time the object was last modified. 16315 // Date and time the object was last modified.
14974 LastModified *time.Time `type:"timestamp" timestampFormat:"iso8601"` 16316 LastModified *time.Time `type:"timestamp"`
14975 16317
14976 Owner *Owner `type:"structure"` 16318 Owner *Owner `type:"structure"`
14977 16319
@@ -15043,7 +16385,78 @@ func (s *ObjectVersion) SetVersionId(v string) *ObjectVersion {
15043 return s 16385 return s
15044} 16386}
15045 16387
15046// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Owner 16388// Describes the location where the restore job's output is stored.
16389type OutputLocation struct {
16390 _ struct{} `type:"structure"`
16391
16392 // Describes an S3 location that will receive the results of the restore request.
16393 S3 *Location `type:"structure"`
16394}
16395
16396// String returns the string representation
16397func (s OutputLocation) String() string {
16398 return awsutil.Prettify(s)
16399}
16400
16401// GoString returns the string representation
16402func (s OutputLocation) GoString() string {
16403 return s.String()
16404}
16405
16406// Validate inspects the fields of the type to determine if they are valid.
16407func (s *OutputLocation) Validate() error {
16408 invalidParams := request.ErrInvalidParams{Context: "OutputLocation"}
16409 if s.S3 != nil {
16410 if err := s.S3.Validate(); err != nil {
16411 invalidParams.AddNested("S3", err.(request.ErrInvalidParams))
16412 }
16413 }
16414
16415 if invalidParams.Len() > 0 {
16416 return invalidParams
16417 }
16418 return nil
16419}
16420
16421// SetS3 sets the S3 field's value.
16422func (s *OutputLocation) SetS3(v *Location) *OutputLocation {
16423 s.S3 = v
16424 return s
16425}
16426
16427// Describes how results of the Select job are serialized.
16428type OutputSerialization struct {
16429 _ struct{} `type:"structure"`
16430
16431 // Describes the serialization of CSV-encoded Select results.
16432 CSV *CSVOutput `type:"structure"`
16433
16434 // Specifies JSON as request's output serialization format.
16435 JSON *JSONOutput `type:"structure"`
16436}
16437
16438// String returns the string representation
16439func (s OutputSerialization) String() string {
16440 return awsutil.Prettify(s)
16441}
16442
16443// GoString returns the string representation
16444func (s OutputSerialization) GoString() string {
16445 return s.String()
16446}
16447
16448// SetCSV sets the CSV field's value.
16449func (s *OutputSerialization) SetCSV(v *CSVOutput) *OutputSerialization {
16450 s.CSV = v
16451 return s
16452}
16453
16454// SetJSON sets the JSON field's value.
16455func (s *OutputSerialization) SetJSON(v *JSONOutput) *OutputSerialization {
16456 s.JSON = v
16457 return s
16458}
16459
15047type Owner struct { 16460type Owner struct {
15048 _ struct{} `type:"structure"` 16461 _ struct{} `type:"structure"`
15049 16462
@@ -15074,7 +16487,6 @@ func (s *Owner) SetID(v string) *Owner {
15074 return s 16487 return s
15075} 16488}
15076 16489
15077// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Part
15078type Part struct { 16490type Part struct {
15079 _ struct{} `type:"structure"` 16491 _ struct{} `type:"structure"`
15080 16492
@@ -15082,7 +16494,7 @@ type Part struct {
15082 ETag *string `type:"string"` 16494 ETag *string `type:"string"`
15083 16495
15084 // Date and time at which the part was uploaded. 16496 // Date and time at which the part was uploaded.
15085 LastModified *time.Time `type:"timestamp" timestampFormat:"iso8601"` 16497 LastModified *time.Time `type:"timestamp"`
15086 16498
15087 // Part number identifying the part. This is a positive integer between 1 and 16499 // Part number identifying the part. This is a positive integer between 1 and
15088 // 10,000. 16500 // 10,000.
@@ -15126,14 +16538,94 @@ func (s *Part) SetSize(v int64) *Part {
15126 return s 16538 return s
15127} 16539}
15128 16540
15129// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAccelerateConfigurationRequest 16541type Progress struct {
16542 _ struct{} `type:"structure"`
16543
16544 // Current number of uncompressed object bytes processed.
16545 BytesProcessed *int64 `type:"long"`
16546
16547 // Current number of bytes of records payload data returned.
16548 BytesReturned *int64 `type:"long"`
16549
16550 // Current number of object bytes scanned.
16551 BytesScanned *int64 `type:"long"`
16552}
16553
16554// String returns the string representation
16555func (s Progress) String() string {
16556 return awsutil.Prettify(s)
16557}
16558
16559// GoString returns the string representation
16560func (s Progress) GoString() string {
16561 return s.String()
16562}
16563
16564// SetBytesProcessed sets the BytesProcessed field's value.
16565func (s *Progress) SetBytesProcessed(v int64) *Progress {
16566 s.BytesProcessed = &v
16567 return s
16568}
16569
16570// SetBytesReturned sets the BytesReturned field's value.
16571func (s *Progress) SetBytesReturned(v int64) *Progress {
16572 s.BytesReturned = &v
16573 return s
16574}
16575
16576// SetBytesScanned sets the BytesScanned field's value.
16577func (s *Progress) SetBytesScanned(v int64) *Progress {
16578 s.BytesScanned = &v
16579 return s
16580}
16581
16582type ProgressEvent struct {
16583 _ struct{} `locationName:"ProgressEvent" type:"structure" payload:"Details"`
16584
16585 // The Progress event details.
16586 Details *Progress `locationName:"Details" type:"structure"`
16587}
16588
16589// String returns the string representation
16590func (s ProgressEvent) String() string {
16591 return awsutil.Prettify(s)
16592}
16593
16594// GoString returns the string representation
16595func (s ProgressEvent) GoString() string {
16596 return s.String()
16597}
16598
16599// SetDetails sets the Details field's value.
16600func (s *ProgressEvent) SetDetails(v *Progress) *ProgressEvent {
16601 s.Details = v
16602 return s
16603}
16604
16605// The ProgressEvent is and event in the SelectObjectContentEventStream group of events.
16606func (s *ProgressEvent) eventSelectObjectContentEventStream() {}
16607
16608// UnmarshalEvent unmarshals the EventStream Message into the ProgressEvent value.
16609// This method is only used internally within the SDK's EventStream handling.
16610func (s *ProgressEvent) UnmarshalEvent(
16611 payloadUnmarshaler protocol.PayloadUnmarshaler,
16612 msg eventstream.Message,
16613) error {
16614 if err := payloadUnmarshaler.UnmarshalPayload(
16615 bytes.NewReader(msg.Payload), s,
16616 ); err != nil {
16617 return err
16618 }
16619 return nil
16620}
16621
15130type PutBucketAccelerateConfigurationInput struct { 16622type PutBucketAccelerateConfigurationInput struct {
15131 _ struct{} `type:"structure" payload:"AccelerateConfiguration"` 16623 _ struct{} `type:"structure" payload:"AccelerateConfiguration"`
15132 16624
15133 // Specifies the Accelerate Configuration you want to set for the bucket. 16625 // Specifies the Accelerate Configuration you want to set for the bucket.
15134 // 16626 //
15135 // AccelerateConfiguration is a required field 16627 // AccelerateConfiguration is a required field
15136 AccelerateConfiguration *AccelerateConfiguration `locationName:"AccelerateConfiguration" type:"structure" required:"true"` 16628 AccelerateConfiguration *AccelerateConfiguration `locationName:"AccelerateConfiguration" type:"structure" required:"true" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"`
15137 16629
15138 // Name of the bucket for which the accelerate configuration is set. 16630 // Name of the bucket for which the accelerate configuration is set.
15139 // 16631 //
@@ -15179,7 +16671,13 @@ func (s *PutBucketAccelerateConfigurationInput) SetBucket(v string) *PutBucketAc
15179 return s 16671 return s
15180} 16672}
15181 16673
15182// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAccelerateConfigurationOutput 16674func (s *PutBucketAccelerateConfigurationInput) getBucket() (v string) {
16675 if s.Bucket == nil {
16676 return v
16677 }
16678 return *s.Bucket
16679}
16680
15183type PutBucketAccelerateConfigurationOutput struct { 16681type PutBucketAccelerateConfigurationOutput struct {
15184 _ struct{} `type:"structure"` 16682 _ struct{} `type:"structure"`
15185} 16683}
@@ -15194,14 +16692,13 @@ func (s PutBucketAccelerateConfigurationOutput) GoString() string {
15194 return s.String() 16692 return s.String()
15195} 16693}
15196 16694
15197// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAclRequest
15198type PutBucketAclInput struct { 16695type PutBucketAclInput struct {
15199 _ struct{} `type:"structure" payload:"AccessControlPolicy"` 16696 _ struct{} `type:"structure" payload:"AccessControlPolicy"`
15200 16697
15201 // The canned ACL to apply to the bucket. 16698 // The canned ACL to apply to the bucket.
15202 ACL *string `location:"header" locationName:"x-amz-acl" type:"string" enum:"BucketCannedACL"` 16699 ACL *string `location:"header" locationName:"x-amz-acl" type:"string" enum:"BucketCannedACL"`
15203 16700
15204 AccessControlPolicy *AccessControlPolicy `locationName:"AccessControlPolicy" type:"structure"` 16701 AccessControlPolicy *AccessControlPolicy `locationName:"AccessControlPolicy" type:"structure" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"`
15205 16702
15206 // Bucket is a required field 16703 // Bucket is a required field
15207 Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` 16704 Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
@@ -15269,6 +16766,13 @@ func (s *PutBucketAclInput) SetBucket(v string) *PutBucketAclInput {
15269 return s 16766 return s
15270} 16767}
15271 16768
16769func (s *PutBucketAclInput) getBucket() (v string) {
16770 if s.Bucket == nil {
16771 return v
16772 }
16773 return *s.Bucket
16774}
16775
15272// SetGrantFullControl sets the GrantFullControl field's value. 16776// SetGrantFullControl sets the GrantFullControl field's value.
15273func (s *PutBucketAclInput) SetGrantFullControl(v string) *PutBucketAclInput { 16777func (s *PutBucketAclInput) SetGrantFullControl(v string) *PutBucketAclInput {
15274 s.GrantFullControl = &v 16778 s.GrantFullControl = &v
@@ -15299,7 +16803,6 @@ func (s *PutBucketAclInput) SetGrantWriteACP(v string) *PutBucketAclInput {
15299 return s 16803 return s
15300} 16804}
15301 16805
15302// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAclOutput
15303type PutBucketAclOutput struct { 16806type PutBucketAclOutput struct {
15304 _ struct{} `type:"structure"` 16807 _ struct{} `type:"structure"`
15305} 16808}
@@ -15314,14 +16817,13 @@ func (s PutBucketAclOutput) GoString() string {
15314 return s.String() 16817 return s.String()
15315} 16818}
15316 16819
15317// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAnalyticsConfigurationRequest
15318type PutBucketAnalyticsConfigurationInput struct { 16820type PutBucketAnalyticsConfigurationInput struct {
15319 _ struct{} `type:"structure" payload:"AnalyticsConfiguration"` 16821 _ struct{} `type:"structure" payload:"AnalyticsConfiguration"`
15320 16822
15321 // The configuration and any analyses for the analytics filter. 16823 // The configuration and any analyses for the analytics filter.
15322 // 16824 //
15323 // AnalyticsConfiguration is a required field 16825 // AnalyticsConfiguration is a required field
15324 AnalyticsConfiguration *AnalyticsConfiguration `locationName:"AnalyticsConfiguration" type:"structure" required:"true"` 16826 AnalyticsConfiguration *AnalyticsConfiguration `locationName:"AnalyticsConfiguration" type:"structure" required:"true" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"`
15325 16827
15326 // The name of the bucket to which an analytics configuration is stored. 16828 // The name of the bucket to which an analytics configuration is stored.
15327 // 16829 //
@@ -15380,13 +16882,19 @@ func (s *PutBucketAnalyticsConfigurationInput) SetBucket(v string) *PutBucketAna
15380 return s 16882 return s
15381} 16883}
15382 16884
16885func (s *PutBucketAnalyticsConfigurationInput) getBucket() (v string) {
16886 if s.Bucket == nil {
16887 return v
16888 }
16889 return *s.Bucket
16890}
16891
15383// SetId sets the Id field's value. 16892// SetId sets the Id field's value.
15384func (s *PutBucketAnalyticsConfigurationInput) SetId(v string) *PutBucketAnalyticsConfigurationInput { 16893func (s *PutBucketAnalyticsConfigurationInput) SetId(v string) *PutBucketAnalyticsConfigurationInput {
15385 s.Id = &v 16894 s.Id = &v
15386 return s 16895 return s
15387} 16896}
15388 16897
15389// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAnalyticsConfigurationOutput
15390type PutBucketAnalyticsConfigurationOutput struct { 16898type PutBucketAnalyticsConfigurationOutput struct {
15391 _ struct{} `type:"structure"` 16899 _ struct{} `type:"structure"`
15392} 16900}
@@ -15401,7 +16909,6 @@ func (s PutBucketAnalyticsConfigurationOutput) GoString() string {
15401 return s.String() 16909 return s.String()
15402} 16910}
15403 16911
15404// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketCorsRequest
15405type PutBucketCorsInput struct { 16912type PutBucketCorsInput struct {
15406 _ struct{} `type:"structure" payload:"CORSConfiguration"` 16913 _ struct{} `type:"structure" payload:"CORSConfiguration"`
15407 16914
@@ -15409,7 +16916,7 @@ type PutBucketCorsInput struct {
15409 Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` 16916 Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
15410 16917
15411 // CORSConfiguration is a required field 16918 // CORSConfiguration is a required field
15412 CORSConfiguration *CORSConfiguration `locationName:"CORSConfiguration" type:"structure" required:"true"` 16919 CORSConfiguration *CORSConfiguration `locationName:"CORSConfiguration" type:"structure" required:"true" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"`
15413} 16920}
15414 16921
15415// String returns the string representation 16922// String returns the string representation
@@ -15449,13 +16956,19 @@ func (s *PutBucketCorsInput) SetBucket(v string) *PutBucketCorsInput {
15449 return s 16956 return s
15450} 16957}
15451 16958
16959func (s *PutBucketCorsInput) getBucket() (v string) {
16960 if s.Bucket == nil {
16961 return v
16962 }
16963 return *s.Bucket
16964}
16965
15452// SetCORSConfiguration sets the CORSConfiguration field's value. 16966// SetCORSConfiguration sets the CORSConfiguration field's value.
15453func (s *PutBucketCorsInput) SetCORSConfiguration(v *CORSConfiguration) *PutBucketCorsInput { 16967func (s *PutBucketCorsInput) SetCORSConfiguration(v *CORSConfiguration) *PutBucketCorsInput {
15454 s.CORSConfiguration = v 16968 s.CORSConfiguration = v
15455 return s 16969 return s
15456} 16970}
15457 16971
15458// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketCorsOutput
15459type PutBucketCorsOutput struct { 16972type PutBucketCorsOutput struct {
15460 _ struct{} `type:"structure"` 16973 _ struct{} `type:"structure"`
15461} 16974}
@@ -15470,7 +16983,86 @@ func (s PutBucketCorsOutput) GoString() string {
15470 return s.String() 16983 return s.String()
15471} 16984}
15472 16985
15473// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketInventoryConfigurationRequest 16986type PutBucketEncryptionInput struct {
16987 _ struct{} `type:"structure" payload:"ServerSideEncryptionConfiguration"`
16988
16989 // The name of the bucket for which the server-side encryption configuration
16990 // is set.
16991 //
16992 // Bucket is a required field
16993 Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
16994
16995 // Container for server-side encryption configuration rules. Currently S3 supports
16996 // one rule only.
16997 //
16998 // ServerSideEncryptionConfiguration is a required field
16999 ServerSideEncryptionConfiguration *ServerSideEncryptionConfiguration `locationName:"ServerSideEncryptionConfiguration" type:"structure" required:"true" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"`
17000}
17001
17002// String returns the string representation
17003func (s PutBucketEncryptionInput) String() string {
17004 return awsutil.Prettify(s)
17005}
17006
17007// GoString returns the string representation
17008func (s PutBucketEncryptionInput) GoString() string {
17009 return s.String()
17010}
17011
17012// Validate inspects the fields of the type to determine if they are valid.
17013func (s *PutBucketEncryptionInput) Validate() error {
17014 invalidParams := request.ErrInvalidParams{Context: "PutBucketEncryptionInput"}
17015 if s.Bucket == nil {
17016 invalidParams.Add(request.NewErrParamRequired("Bucket"))
17017 }
17018 if s.ServerSideEncryptionConfiguration == nil {
17019 invalidParams.Add(request.NewErrParamRequired("ServerSideEncryptionConfiguration"))
17020 }
17021 if s.ServerSideEncryptionConfiguration != nil {
17022 if err := s.ServerSideEncryptionConfiguration.Validate(); err != nil {
17023 invalidParams.AddNested("ServerSideEncryptionConfiguration", err.(request.ErrInvalidParams))
17024 }
17025 }
17026
17027 if invalidParams.Len() > 0 {
17028 return invalidParams
17029 }
17030 return nil
17031}
17032
17033// SetBucket sets the Bucket field's value.
17034func (s *PutBucketEncryptionInput) SetBucket(v string) *PutBucketEncryptionInput {
17035 s.Bucket = &v
17036 return s
17037}
17038
17039func (s *PutBucketEncryptionInput) getBucket() (v string) {
17040 if s.Bucket == nil {
17041 return v
17042 }
17043 return *s.Bucket
17044}
17045
17046// SetServerSideEncryptionConfiguration sets the ServerSideEncryptionConfiguration field's value.
17047func (s *PutBucketEncryptionInput) SetServerSideEncryptionConfiguration(v *ServerSideEncryptionConfiguration) *PutBucketEncryptionInput {
17048 s.ServerSideEncryptionConfiguration = v
17049 return s
17050}
17051
17052type PutBucketEncryptionOutput struct {
17053 _ struct{} `type:"structure"`
17054}
17055
17056// String returns the string representation
17057func (s PutBucketEncryptionOutput) String() string {
17058 return awsutil.Prettify(s)
17059}
17060
17061// GoString returns the string representation
17062func (s PutBucketEncryptionOutput) GoString() string {
17063 return s.String()
17064}
17065
15474type PutBucketInventoryConfigurationInput struct { 17066type PutBucketInventoryConfigurationInput struct {
15475 _ struct{} `type:"structure" payload:"InventoryConfiguration"` 17067 _ struct{} `type:"structure" payload:"InventoryConfiguration"`
15476 17068
@@ -15487,7 +17079,7 @@ type PutBucketInventoryConfigurationInput struct {
15487 // Specifies the inventory configuration. 17079 // Specifies the inventory configuration.
15488 // 17080 //
15489 // InventoryConfiguration is a required field 17081 // InventoryConfiguration is a required field
15490 InventoryConfiguration *InventoryConfiguration `locationName:"InventoryConfiguration" type:"structure" required:"true"` 17082 InventoryConfiguration *InventoryConfiguration `locationName:"InventoryConfiguration" type:"structure" required:"true" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"`
15491} 17083}
15492 17084
15493// String returns the string representation 17085// String returns the string representation
@@ -15530,6 +17122,13 @@ func (s *PutBucketInventoryConfigurationInput) SetBucket(v string) *PutBucketInv
15530 return s 17122 return s
15531} 17123}
15532 17124
17125func (s *PutBucketInventoryConfigurationInput) getBucket() (v string) {
17126 if s.Bucket == nil {
17127 return v
17128 }
17129 return *s.Bucket
17130}
17131
15533// SetId sets the Id field's value. 17132// SetId sets the Id field's value.
15534func (s *PutBucketInventoryConfigurationInput) SetId(v string) *PutBucketInventoryConfigurationInput { 17133func (s *PutBucketInventoryConfigurationInput) SetId(v string) *PutBucketInventoryConfigurationInput {
15535 s.Id = &v 17134 s.Id = &v
@@ -15542,7 +17141,6 @@ func (s *PutBucketInventoryConfigurationInput) SetInventoryConfiguration(v *Inve
15542 return s 17141 return s
15543} 17142}
15544 17143
15545// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketInventoryConfigurationOutput
15546type PutBucketInventoryConfigurationOutput struct { 17144type PutBucketInventoryConfigurationOutput struct {
15547 _ struct{} `type:"structure"` 17145 _ struct{} `type:"structure"`
15548} 17146}
@@ -15557,14 +17155,13 @@ func (s PutBucketInventoryConfigurationOutput) GoString() string {
15557 return s.String() 17155 return s.String()
15558} 17156}
15559 17157
15560// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleConfigurationRequest
15561type PutBucketLifecycleConfigurationInput struct { 17158type PutBucketLifecycleConfigurationInput struct {
15562 _ struct{} `type:"structure" payload:"LifecycleConfiguration"` 17159 _ struct{} `type:"structure" payload:"LifecycleConfiguration"`
15563 17160
15564 // Bucket is a required field 17161 // Bucket is a required field
15565 Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` 17162 Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
15566 17163
15567 LifecycleConfiguration *BucketLifecycleConfiguration `locationName:"LifecycleConfiguration" type:"structure"` 17164 LifecycleConfiguration *BucketLifecycleConfiguration `locationName:"LifecycleConfiguration" type:"structure" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"`
15568} 17165}
15569 17166
15570// String returns the string representation 17167// String returns the string representation
@@ -15601,13 +17198,19 @@ func (s *PutBucketLifecycleConfigurationInput) SetBucket(v string) *PutBucketLif
15601 return s 17198 return s
15602} 17199}
15603 17200
17201func (s *PutBucketLifecycleConfigurationInput) getBucket() (v string) {
17202 if s.Bucket == nil {
17203 return v
17204 }
17205 return *s.Bucket
17206}
17207
15604// SetLifecycleConfiguration sets the LifecycleConfiguration field's value. 17208// SetLifecycleConfiguration sets the LifecycleConfiguration field's value.
15605func (s *PutBucketLifecycleConfigurationInput) SetLifecycleConfiguration(v *BucketLifecycleConfiguration) *PutBucketLifecycleConfigurationInput { 17209func (s *PutBucketLifecycleConfigurationInput) SetLifecycleConfiguration(v *BucketLifecycleConfiguration) *PutBucketLifecycleConfigurationInput {
15606 s.LifecycleConfiguration = v 17210 s.LifecycleConfiguration = v
15607 return s 17211 return s
15608} 17212}
15609 17213
15610// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleConfigurationOutput
15611type PutBucketLifecycleConfigurationOutput struct { 17214type PutBucketLifecycleConfigurationOutput struct {
15612 _ struct{} `type:"structure"` 17215 _ struct{} `type:"structure"`
15613} 17216}
@@ -15622,14 +17225,13 @@ func (s PutBucketLifecycleConfigurationOutput) GoString() string {
15622 return s.String() 17225 return s.String()
15623} 17226}
15624 17227
15625// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleRequest
15626type PutBucketLifecycleInput struct { 17228type PutBucketLifecycleInput struct {
15627 _ struct{} `type:"structure" payload:"LifecycleConfiguration"` 17229 _ struct{} `type:"structure" payload:"LifecycleConfiguration"`
15628 17230
15629 // Bucket is a required field 17231 // Bucket is a required field
15630 Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` 17232 Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
15631 17233
15632 LifecycleConfiguration *LifecycleConfiguration `locationName:"LifecycleConfiguration" type:"structure"` 17234 LifecycleConfiguration *LifecycleConfiguration `locationName:"LifecycleConfiguration" type:"structure" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"`
15633} 17235}
15634 17236
15635// String returns the string representation 17237// String returns the string representation
@@ -15666,13 +17268,19 @@ func (s *PutBucketLifecycleInput) SetBucket(v string) *PutBucketLifecycleInput {
15666 return s 17268 return s
15667} 17269}
15668 17270
17271func (s *PutBucketLifecycleInput) getBucket() (v string) {
17272 if s.Bucket == nil {
17273 return v
17274 }
17275 return *s.Bucket
17276}
17277
15669// SetLifecycleConfiguration sets the LifecycleConfiguration field's value. 17278// SetLifecycleConfiguration sets the LifecycleConfiguration field's value.
15670func (s *PutBucketLifecycleInput) SetLifecycleConfiguration(v *LifecycleConfiguration) *PutBucketLifecycleInput { 17279func (s *PutBucketLifecycleInput) SetLifecycleConfiguration(v *LifecycleConfiguration) *PutBucketLifecycleInput {
15671 s.LifecycleConfiguration = v 17280 s.LifecycleConfiguration = v
15672 return s 17281 return s
15673} 17282}
15674 17283
15675// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleOutput
15676type PutBucketLifecycleOutput struct { 17284type PutBucketLifecycleOutput struct {
15677 _ struct{} `type:"structure"` 17285 _ struct{} `type:"structure"`
15678} 17286}
@@ -15687,7 +17295,6 @@ func (s PutBucketLifecycleOutput) GoString() string {
15687 return s.String() 17295 return s.String()
15688} 17296}
15689 17297
15690// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLoggingRequest
15691type PutBucketLoggingInput struct { 17298type PutBucketLoggingInput struct {
15692 _ struct{} `type:"structure" payload:"BucketLoggingStatus"` 17299 _ struct{} `type:"structure" payload:"BucketLoggingStatus"`
15693 17300
@@ -15695,7 +17302,7 @@ type PutBucketLoggingInput struct {
15695 Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` 17302 Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
15696 17303
15697 // BucketLoggingStatus is a required field 17304 // BucketLoggingStatus is a required field
15698 BucketLoggingStatus *BucketLoggingStatus `locationName:"BucketLoggingStatus" type:"structure" required:"true"` 17305 BucketLoggingStatus *BucketLoggingStatus `locationName:"BucketLoggingStatus" type:"structure" required:"true" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"`
15699} 17306}
15700 17307
15701// String returns the string representation 17308// String returns the string representation
@@ -15735,13 +17342,19 @@ func (s *PutBucketLoggingInput) SetBucket(v string) *PutBucketLoggingInput {
15735 return s 17342 return s
15736} 17343}
15737 17344
17345func (s *PutBucketLoggingInput) getBucket() (v string) {
17346 if s.Bucket == nil {
17347 return v
17348 }
17349 return *s.Bucket
17350}
17351
15738// SetBucketLoggingStatus sets the BucketLoggingStatus field's value. 17352// SetBucketLoggingStatus sets the BucketLoggingStatus field's value.
15739func (s *PutBucketLoggingInput) SetBucketLoggingStatus(v *BucketLoggingStatus) *PutBucketLoggingInput { 17353func (s *PutBucketLoggingInput) SetBucketLoggingStatus(v *BucketLoggingStatus) *PutBucketLoggingInput {
15740 s.BucketLoggingStatus = v 17354 s.BucketLoggingStatus = v
15741 return s 17355 return s
15742} 17356}
15743 17357
15744// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLoggingOutput
15745type PutBucketLoggingOutput struct { 17358type PutBucketLoggingOutput struct {
15746 _ struct{} `type:"structure"` 17359 _ struct{} `type:"structure"`
15747} 17360}
@@ -15756,7 +17369,6 @@ func (s PutBucketLoggingOutput) GoString() string {
15756 return s.String() 17369 return s.String()
15757} 17370}
15758 17371
15759// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketMetricsConfigurationRequest
15760type PutBucketMetricsConfigurationInput struct { 17372type PutBucketMetricsConfigurationInput struct {
15761 _ struct{} `type:"structure" payload:"MetricsConfiguration"` 17373 _ struct{} `type:"structure" payload:"MetricsConfiguration"`
15762 17374
@@ -15773,7 +17385,7 @@ type PutBucketMetricsConfigurationInput struct {
15773 // Specifies the metrics configuration. 17385 // Specifies the metrics configuration.
15774 // 17386 //
15775 // MetricsConfiguration is a required field 17387 // MetricsConfiguration is a required field
15776 MetricsConfiguration *MetricsConfiguration `locationName:"MetricsConfiguration" type:"structure" required:"true"` 17388 MetricsConfiguration *MetricsConfiguration `locationName:"MetricsConfiguration" type:"structure" required:"true" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"`
15777} 17389}
15778 17390
15779// String returns the string representation 17391// String returns the string representation
@@ -15816,6 +17428,13 @@ func (s *PutBucketMetricsConfigurationInput) SetBucket(v string) *PutBucketMetri
15816 return s 17428 return s
15817} 17429}
15818 17430
17431func (s *PutBucketMetricsConfigurationInput) getBucket() (v string) {
17432 if s.Bucket == nil {
17433 return v
17434 }
17435 return *s.Bucket
17436}
17437
15819// SetId sets the Id field's value. 17438// SetId sets the Id field's value.
15820func (s *PutBucketMetricsConfigurationInput) SetId(v string) *PutBucketMetricsConfigurationInput { 17439func (s *PutBucketMetricsConfigurationInput) SetId(v string) *PutBucketMetricsConfigurationInput {
15821 s.Id = &v 17440 s.Id = &v
@@ -15828,7 +17447,6 @@ func (s *PutBucketMetricsConfigurationInput) SetMetricsConfiguration(v *MetricsC
15828 return s 17447 return s
15829} 17448}
15830 17449
15831// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketMetricsConfigurationOutput
15832type PutBucketMetricsConfigurationOutput struct { 17450type PutBucketMetricsConfigurationOutput struct {
15833 _ struct{} `type:"structure"` 17451 _ struct{} `type:"structure"`
15834} 17452}
@@ -15843,7 +17461,6 @@ func (s PutBucketMetricsConfigurationOutput) GoString() string {
15843 return s.String() 17461 return s.String()
15844} 17462}
15845 17463
15846// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotificationConfigurationRequest
15847type PutBucketNotificationConfigurationInput struct { 17464type PutBucketNotificationConfigurationInput struct {
15848 _ struct{} `type:"structure" payload:"NotificationConfiguration"` 17465 _ struct{} `type:"structure" payload:"NotificationConfiguration"`
15849 17466
@@ -15854,7 +17471,7 @@ type PutBucketNotificationConfigurationInput struct {
15854 // this element is empty, notifications are turned off on the bucket. 17471 // this element is empty, notifications are turned off on the bucket.
15855 // 17472 //
15856 // NotificationConfiguration is a required field 17473 // NotificationConfiguration is a required field
15857 NotificationConfiguration *NotificationConfiguration `locationName:"NotificationConfiguration" type:"structure" required:"true"` 17474 NotificationConfiguration *NotificationConfiguration `locationName:"NotificationConfiguration" type:"structure" required:"true" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"`
15858} 17475}
15859 17476
15860// String returns the string representation 17477// String returns the string representation
@@ -15894,13 +17511,19 @@ func (s *PutBucketNotificationConfigurationInput) SetBucket(v string) *PutBucket
15894 return s 17511 return s
15895} 17512}
15896 17513
17514func (s *PutBucketNotificationConfigurationInput) getBucket() (v string) {
17515 if s.Bucket == nil {
17516 return v
17517 }
17518 return *s.Bucket
17519}
17520
15897// SetNotificationConfiguration sets the NotificationConfiguration field's value. 17521// SetNotificationConfiguration sets the NotificationConfiguration field's value.
15898func (s *PutBucketNotificationConfigurationInput) SetNotificationConfiguration(v *NotificationConfiguration) *PutBucketNotificationConfigurationInput { 17522func (s *PutBucketNotificationConfigurationInput) SetNotificationConfiguration(v *NotificationConfiguration) *PutBucketNotificationConfigurationInput {
15899 s.NotificationConfiguration = v 17523 s.NotificationConfiguration = v
15900 return s 17524 return s
15901} 17525}
15902 17526
15903// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotificationConfigurationOutput
15904type PutBucketNotificationConfigurationOutput struct { 17527type PutBucketNotificationConfigurationOutput struct {
15905 _ struct{} `type:"structure"` 17528 _ struct{} `type:"structure"`
15906} 17529}
@@ -15915,7 +17538,6 @@ func (s PutBucketNotificationConfigurationOutput) GoString() string {
15915 return s.String() 17538 return s.String()
15916} 17539}
15917 17540
15918// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotificationRequest
15919type PutBucketNotificationInput struct { 17541type PutBucketNotificationInput struct {
15920 _ struct{} `type:"structure" payload:"NotificationConfiguration"` 17542 _ struct{} `type:"structure" payload:"NotificationConfiguration"`
15921 17543
@@ -15923,7 +17545,7 @@ type PutBucketNotificationInput struct {
15923 Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` 17545 Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
15924 17546
15925 // NotificationConfiguration is a required field 17547 // NotificationConfiguration is a required field
15926 NotificationConfiguration *NotificationConfigurationDeprecated `locationName:"NotificationConfiguration" type:"structure" required:"true"` 17548 NotificationConfiguration *NotificationConfigurationDeprecated `locationName:"NotificationConfiguration" type:"structure" required:"true" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"`
15927} 17549}
15928 17550
15929// String returns the string representation 17551// String returns the string representation
@@ -15958,13 +17580,19 @@ func (s *PutBucketNotificationInput) SetBucket(v string) *PutBucketNotificationI
15958 return s 17580 return s
15959} 17581}
15960 17582
17583func (s *PutBucketNotificationInput) getBucket() (v string) {
17584 if s.Bucket == nil {
17585 return v
17586 }
17587 return *s.Bucket
17588}
17589
15961// SetNotificationConfiguration sets the NotificationConfiguration field's value. 17590// SetNotificationConfiguration sets the NotificationConfiguration field's value.
15962func (s *PutBucketNotificationInput) SetNotificationConfiguration(v *NotificationConfigurationDeprecated) *PutBucketNotificationInput { 17591func (s *PutBucketNotificationInput) SetNotificationConfiguration(v *NotificationConfigurationDeprecated) *PutBucketNotificationInput {
15963 s.NotificationConfiguration = v 17592 s.NotificationConfiguration = v
15964 return s 17593 return s
15965} 17594}
15966 17595
15967// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotificationOutput
15968type PutBucketNotificationOutput struct { 17596type PutBucketNotificationOutput struct {
15969 _ struct{} `type:"structure"` 17597 _ struct{} `type:"structure"`
15970} 17598}
@@ -15979,13 +17607,16 @@ func (s PutBucketNotificationOutput) GoString() string {
15979 return s.String() 17607 return s.String()
15980} 17608}
15981 17609
15982// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketPolicyRequest
15983type PutBucketPolicyInput struct { 17610type PutBucketPolicyInput struct {
15984 _ struct{} `type:"structure" payload:"Policy"` 17611 _ struct{} `type:"structure" payload:"Policy"`
15985 17612
15986 // Bucket is a required field 17613 // Bucket is a required field
15987 Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` 17614 Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
15988 17615
17616 // Set this parameter to true to confirm that you want to remove your permissions
17617 // to change this bucket policy in the future.
17618 ConfirmRemoveSelfBucketAccess *bool `location:"header" locationName:"x-amz-confirm-remove-self-bucket-access" type:"boolean"`
17619
15989 // The bucket policy as a JSON document. 17620 // The bucket policy as a JSON document.
15990 // 17621 //
15991 // Policy is a required field 17622 // Policy is a required field
@@ -16024,13 +17655,25 @@ func (s *PutBucketPolicyInput) SetBucket(v string) *PutBucketPolicyInput {
16024 return s 17655 return s
16025} 17656}
16026 17657
17658func (s *PutBucketPolicyInput) getBucket() (v string) {
17659 if s.Bucket == nil {
17660 return v
17661 }
17662 return *s.Bucket
17663}
17664
17665// SetConfirmRemoveSelfBucketAccess sets the ConfirmRemoveSelfBucketAccess field's value.
17666func (s *PutBucketPolicyInput) SetConfirmRemoveSelfBucketAccess(v bool) *PutBucketPolicyInput {
17667 s.ConfirmRemoveSelfBucketAccess = &v
17668 return s
17669}
17670
16027// SetPolicy sets the Policy field's value. 17671// SetPolicy sets the Policy field's value.
16028func (s *PutBucketPolicyInput) SetPolicy(v string) *PutBucketPolicyInput { 17672func (s *PutBucketPolicyInput) SetPolicy(v string) *PutBucketPolicyInput {
16029 s.Policy = &v 17673 s.Policy = &v
16030 return s 17674 return s
16031} 17675}
16032 17676
16033// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketPolicyOutput
16034type PutBucketPolicyOutput struct { 17677type PutBucketPolicyOutput struct {
16035 _ struct{} `type:"structure"` 17678 _ struct{} `type:"structure"`
16036} 17679}
@@ -16045,7 +17688,6 @@ func (s PutBucketPolicyOutput) GoString() string {
16045 return s.String() 17688 return s.String()
16046} 17689}
16047 17690
16048// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketReplicationRequest
16049type PutBucketReplicationInput struct { 17691type PutBucketReplicationInput struct {
16050 _ struct{} `type:"structure" payload:"ReplicationConfiguration"` 17692 _ struct{} `type:"structure" payload:"ReplicationConfiguration"`
16051 17693
@@ -16056,7 +17698,7 @@ type PutBucketReplicationInput struct {
16056 // replication configuration size can be up to 2 MB. 17698 // replication configuration size can be up to 2 MB.
16057 // 17699 //
16058 // ReplicationConfiguration is a required field 17700 // ReplicationConfiguration is a required field
16059 ReplicationConfiguration *ReplicationConfiguration `locationName:"ReplicationConfiguration" type:"structure" required:"true"` 17701 ReplicationConfiguration *ReplicationConfiguration `locationName:"ReplicationConfiguration" type:"structure" required:"true" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"`
16060} 17702}
16061 17703
16062// String returns the string representation 17704// String returns the string representation
@@ -16096,13 +17738,19 @@ func (s *PutBucketReplicationInput) SetBucket(v string) *PutBucketReplicationInp
16096 return s 17738 return s
16097} 17739}
16098 17740
17741func (s *PutBucketReplicationInput) getBucket() (v string) {
17742 if s.Bucket == nil {
17743 return v
17744 }
17745 return *s.Bucket
17746}
17747
16099// SetReplicationConfiguration sets the ReplicationConfiguration field's value. 17748// SetReplicationConfiguration sets the ReplicationConfiguration field's value.
16100func (s *PutBucketReplicationInput) SetReplicationConfiguration(v *ReplicationConfiguration) *PutBucketReplicationInput { 17749func (s *PutBucketReplicationInput) SetReplicationConfiguration(v *ReplicationConfiguration) *PutBucketReplicationInput {
16101 s.ReplicationConfiguration = v 17750 s.ReplicationConfiguration = v
16102 return s 17751 return s
16103} 17752}
16104 17753
16105// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketReplicationOutput
16106type PutBucketReplicationOutput struct { 17754type PutBucketReplicationOutput struct {
16107 _ struct{} `type:"structure"` 17755 _ struct{} `type:"structure"`
16108} 17756}
@@ -16117,7 +17765,6 @@ func (s PutBucketReplicationOutput) GoString() string {
16117 return s.String() 17765 return s.String()
16118} 17766}
16119 17767
16120// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketRequestPaymentRequest
16121type PutBucketRequestPaymentInput struct { 17768type PutBucketRequestPaymentInput struct {
16122 _ struct{} `type:"structure" payload:"RequestPaymentConfiguration"` 17769 _ struct{} `type:"structure" payload:"RequestPaymentConfiguration"`
16123 17770
@@ -16125,7 +17772,7 @@ type PutBucketRequestPaymentInput struct {
16125 Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` 17772 Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
16126 17773
16127 // RequestPaymentConfiguration is a required field 17774 // RequestPaymentConfiguration is a required field
16128 RequestPaymentConfiguration *RequestPaymentConfiguration `locationName:"RequestPaymentConfiguration" type:"structure" required:"true"` 17775 RequestPaymentConfiguration *RequestPaymentConfiguration `locationName:"RequestPaymentConfiguration" type:"structure" required:"true" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"`
16129} 17776}
16130 17777
16131// String returns the string representation 17778// String returns the string representation
@@ -16165,13 +17812,19 @@ func (s *PutBucketRequestPaymentInput) SetBucket(v string) *PutBucketRequestPaym
16165 return s 17812 return s
16166} 17813}
16167 17814
17815func (s *PutBucketRequestPaymentInput) getBucket() (v string) {
17816 if s.Bucket == nil {
17817 return v
17818 }
17819 return *s.Bucket
17820}
17821
16168// SetRequestPaymentConfiguration sets the RequestPaymentConfiguration field's value. 17822// SetRequestPaymentConfiguration sets the RequestPaymentConfiguration field's value.
16169func (s *PutBucketRequestPaymentInput) SetRequestPaymentConfiguration(v *RequestPaymentConfiguration) *PutBucketRequestPaymentInput { 17823func (s *PutBucketRequestPaymentInput) SetRequestPaymentConfiguration(v *RequestPaymentConfiguration) *PutBucketRequestPaymentInput {
16170 s.RequestPaymentConfiguration = v 17824 s.RequestPaymentConfiguration = v
16171 return s 17825 return s
16172} 17826}
16173 17827
16174// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketRequestPaymentOutput
16175type PutBucketRequestPaymentOutput struct { 17828type PutBucketRequestPaymentOutput struct {
16176 _ struct{} `type:"structure"` 17829 _ struct{} `type:"structure"`
16177} 17830}
@@ -16186,7 +17839,6 @@ func (s PutBucketRequestPaymentOutput) GoString() string {
16186 return s.String() 17839 return s.String()
16187} 17840}
16188 17841
16189// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketTaggingRequest
16190type PutBucketTaggingInput struct { 17842type PutBucketTaggingInput struct {
16191 _ struct{} `type:"structure" payload:"Tagging"` 17843 _ struct{} `type:"structure" payload:"Tagging"`
16192 17844
@@ -16194,7 +17846,7 @@ type PutBucketTaggingInput struct {
16194 Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` 17846 Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
16195 17847
16196 // Tagging is a required field 17848 // Tagging is a required field
16197 Tagging *Tagging `locationName:"Tagging" type:"structure" required:"true"` 17849 Tagging *Tagging `locationName:"Tagging" type:"structure" required:"true" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"`
16198} 17850}
16199 17851
16200// String returns the string representation 17852// String returns the string representation
@@ -16234,13 +17886,19 @@ func (s *PutBucketTaggingInput) SetBucket(v string) *PutBucketTaggingInput {
16234 return s 17886 return s
16235} 17887}
16236 17888
17889func (s *PutBucketTaggingInput) getBucket() (v string) {
17890 if s.Bucket == nil {
17891 return v
17892 }
17893 return *s.Bucket
17894}
17895
16237// SetTagging sets the Tagging field's value. 17896// SetTagging sets the Tagging field's value.
16238func (s *PutBucketTaggingInput) SetTagging(v *Tagging) *PutBucketTaggingInput { 17897func (s *PutBucketTaggingInput) SetTagging(v *Tagging) *PutBucketTaggingInput {
16239 s.Tagging = v 17898 s.Tagging = v
16240 return s 17899 return s
16241} 17900}
16242 17901
16243// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketTaggingOutput
16244type PutBucketTaggingOutput struct { 17902type PutBucketTaggingOutput struct {
16245 _ struct{} `type:"structure"` 17903 _ struct{} `type:"structure"`
16246} 17904}
@@ -16255,7 +17913,6 @@ func (s PutBucketTaggingOutput) GoString() string {
16255 return s.String() 17913 return s.String()
16256} 17914}
16257 17915
16258// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketVersioningRequest
16259type PutBucketVersioningInput struct { 17916type PutBucketVersioningInput struct {
16260 _ struct{} `type:"structure" payload:"VersioningConfiguration"` 17917 _ struct{} `type:"structure" payload:"VersioningConfiguration"`
16261 17918
@@ -16267,7 +17924,7 @@ type PutBucketVersioningInput struct {
16267 MFA *string `location:"header" locationName:"x-amz-mfa" type:"string"` 17924 MFA *string `location:"header" locationName:"x-amz-mfa" type:"string"`
16268 17925
16269 // VersioningConfiguration is a required field 17926 // VersioningConfiguration is a required field
16270 VersioningConfiguration *VersioningConfiguration `locationName:"VersioningConfiguration" type:"structure" required:"true"` 17927 VersioningConfiguration *VersioningConfiguration `locationName:"VersioningConfiguration" type:"structure" required:"true" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"`
16271} 17928}
16272 17929
16273// String returns the string representation 17930// String returns the string representation
@@ -16302,6 +17959,13 @@ func (s *PutBucketVersioningInput) SetBucket(v string) *PutBucketVersioningInput
16302 return s 17959 return s
16303} 17960}
16304 17961
17962func (s *PutBucketVersioningInput) getBucket() (v string) {
17963 if s.Bucket == nil {
17964 return v
17965 }
17966 return *s.Bucket
17967}
17968
16305// SetMFA sets the MFA field's value. 17969// SetMFA sets the MFA field's value.
16306func (s *PutBucketVersioningInput) SetMFA(v string) *PutBucketVersioningInput { 17970func (s *PutBucketVersioningInput) SetMFA(v string) *PutBucketVersioningInput {
16307 s.MFA = &v 17971 s.MFA = &v
@@ -16314,7 +17978,6 @@ func (s *PutBucketVersioningInput) SetVersioningConfiguration(v *VersioningConfi
16314 return s 17978 return s
16315} 17979}
16316 17980
16317// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketVersioningOutput
16318type PutBucketVersioningOutput struct { 17981type PutBucketVersioningOutput struct {
16319 _ struct{} `type:"structure"` 17982 _ struct{} `type:"structure"`
16320} 17983}
@@ -16329,7 +17992,6 @@ func (s PutBucketVersioningOutput) GoString() string {
16329 return s.String() 17992 return s.String()
16330} 17993}
16331 17994
16332// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketWebsiteRequest
16333type PutBucketWebsiteInput struct { 17995type PutBucketWebsiteInput struct {
16334 _ struct{} `type:"structure" payload:"WebsiteConfiguration"` 17996 _ struct{} `type:"structure" payload:"WebsiteConfiguration"`
16335 17997
@@ -16337,7 +17999,7 @@ type PutBucketWebsiteInput struct {
16337 Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` 17999 Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
16338 18000
16339 // WebsiteConfiguration is a required field 18001 // WebsiteConfiguration is a required field
16340 WebsiteConfiguration *WebsiteConfiguration `locationName:"WebsiteConfiguration" type:"structure" required:"true"` 18002 WebsiteConfiguration *WebsiteConfiguration `locationName:"WebsiteConfiguration" type:"structure" required:"true" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"`
16341} 18003}
16342 18004
16343// String returns the string representation 18005// String returns the string representation
@@ -16377,13 +18039,19 @@ func (s *PutBucketWebsiteInput) SetBucket(v string) *PutBucketWebsiteInput {
16377 return s 18039 return s
16378} 18040}
16379 18041
18042func (s *PutBucketWebsiteInput) getBucket() (v string) {
18043 if s.Bucket == nil {
18044 return v
18045 }
18046 return *s.Bucket
18047}
18048
16380// SetWebsiteConfiguration sets the WebsiteConfiguration field's value. 18049// SetWebsiteConfiguration sets the WebsiteConfiguration field's value.
16381func (s *PutBucketWebsiteInput) SetWebsiteConfiguration(v *WebsiteConfiguration) *PutBucketWebsiteInput { 18050func (s *PutBucketWebsiteInput) SetWebsiteConfiguration(v *WebsiteConfiguration) *PutBucketWebsiteInput {
16382 s.WebsiteConfiguration = v 18051 s.WebsiteConfiguration = v
16383 return s 18052 return s
16384} 18053}
16385 18054
16386// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketWebsiteOutput
16387type PutBucketWebsiteOutput struct { 18055type PutBucketWebsiteOutput struct {
16388 _ struct{} `type:"structure"` 18056 _ struct{} `type:"structure"`
16389} 18057}
@@ -16398,14 +18066,13 @@ func (s PutBucketWebsiteOutput) GoString() string {
16398 return s.String() 18066 return s.String()
16399} 18067}
16400 18068
16401// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectAclRequest
16402type PutObjectAclInput struct { 18069type PutObjectAclInput struct {
16403 _ struct{} `type:"structure" payload:"AccessControlPolicy"` 18070 _ struct{} `type:"structure" payload:"AccessControlPolicy"`
16404 18071
16405 // The canned ACL to apply to the object. 18072 // The canned ACL to apply to the object.
16406 ACL *string `location:"header" locationName:"x-amz-acl" type:"string" enum:"ObjectCannedACL"` 18073 ACL *string `location:"header" locationName:"x-amz-acl" type:"string" enum:"ObjectCannedACL"`
16407 18074
16408 AccessControlPolicy *AccessControlPolicy `locationName:"AccessControlPolicy" type:"structure"` 18075 AccessControlPolicy *AccessControlPolicy `locationName:"AccessControlPolicy" type:"structure" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"`
16409 18076
16410 // Bucket is a required field 18077 // Bucket is a required field
16411 Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` 18078 Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
@@ -16491,6 +18158,13 @@ func (s *PutObjectAclInput) SetBucket(v string) *PutObjectAclInput {
16491 return s 18158 return s
16492} 18159}
16493 18160
18161func (s *PutObjectAclInput) getBucket() (v string) {
18162 if s.Bucket == nil {
18163 return v
18164 }
18165 return *s.Bucket
18166}
18167
16494// SetGrantFullControl sets the GrantFullControl field's value. 18168// SetGrantFullControl sets the GrantFullControl field's value.
16495func (s *PutObjectAclInput) SetGrantFullControl(v string) *PutObjectAclInput { 18169func (s *PutObjectAclInput) SetGrantFullControl(v string) *PutObjectAclInput {
16496 s.GrantFullControl = &v 18170 s.GrantFullControl = &v
@@ -16539,7 +18213,6 @@ func (s *PutObjectAclInput) SetVersionId(v string) *PutObjectAclInput {
16539 return s 18213 return s
16540} 18214}
16541 18215
16542// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectAclOutput
16543type PutObjectAclOutput struct { 18216type PutObjectAclOutput struct {
16544 _ struct{} `type:"structure"` 18217 _ struct{} `type:"structure"`
16545 18218
@@ -16564,7 +18237,6 @@ func (s *PutObjectAclOutput) SetRequestCharged(v string) *PutObjectAclOutput {
16564 return s 18237 return s
16565} 18238}
16566 18239
16567// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectRequest
16568type PutObjectInput struct { 18240type PutObjectInput struct {
16569 _ struct{} `type:"structure" payload:"Body"` 18241 _ struct{} `type:"structure" payload:"Body"`
16570 18242
@@ -16597,11 +18269,14 @@ type PutObjectInput struct {
16597 // body cannot be determined automatically. 18269 // body cannot be determined automatically.
16598 ContentLength *int64 `location:"header" locationName:"Content-Length" type:"long"` 18270 ContentLength *int64 `location:"header" locationName:"Content-Length" type:"long"`
16599 18271
18272 // The base64-encoded 128-bit MD5 digest of the part data.
18273 ContentMD5 *string `location:"header" locationName:"Content-MD5" type:"string"`
18274
16600 // A standard MIME type describing the format of the object data. 18275 // A standard MIME type describing the format of the object data.
16601 ContentType *string `location:"header" locationName:"Content-Type" type:"string"` 18276 ContentType *string `location:"header" locationName:"Content-Type" type:"string"`
16602 18277
16603 // The date and time at which the object is no longer cacheable. 18278 // The date and time at which the object is no longer cacheable.
16604 Expires *time.Time `location:"header" locationName:"Expires" type:"timestamp" timestampFormat:"rfc822"` 18279 Expires *time.Time `location:"header" locationName:"Expires" type:"timestamp"`
16605 18280
16606 // Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object. 18281 // Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.
16607 GrantFullControl *string `location:"header" locationName:"x-amz-grant-full-control" type:"string"` 18282 GrantFullControl *string `location:"header" locationName:"x-amz-grant-full-control" type:"string"`
@@ -16713,6 +18388,13 @@ func (s *PutObjectInput) SetBucket(v string) *PutObjectInput {
16713 return s 18388 return s
16714} 18389}
16715 18390
18391func (s *PutObjectInput) getBucket() (v string) {
18392 if s.Bucket == nil {
18393 return v
18394 }
18395 return *s.Bucket
18396}
18397
16716// SetCacheControl sets the CacheControl field's value. 18398// SetCacheControl sets the CacheControl field's value.
16717func (s *PutObjectInput) SetCacheControl(v string) *PutObjectInput { 18399func (s *PutObjectInput) SetCacheControl(v string) *PutObjectInput {
16718 s.CacheControl = &v 18400 s.CacheControl = &v
@@ -16743,6 +18425,12 @@ func (s *PutObjectInput) SetContentLength(v int64) *PutObjectInput {
16743 return s 18425 return s
16744} 18426}
16745 18427
18428// SetContentMD5 sets the ContentMD5 field's value.
18429func (s *PutObjectInput) SetContentMD5(v string) *PutObjectInput {
18430 s.ContentMD5 = &v
18431 return s
18432}
18433
16746// SetContentType sets the ContentType field's value. 18434// SetContentType sets the ContentType field's value.
16747func (s *PutObjectInput) SetContentType(v string) *PutObjectInput { 18435func (s *PutObjectInput) SetContentType(v string) *PutObjectInput {
16748 s.ContentType = &v 18436 s.ContentType = &v
@@ -16809,6 +18497,13 @@ func (s *PutObjectInput) SetSSECustomerKey(v string) *PutObjectInput {
16809 return s 18497 return s
16810} 18498}
16811 18499
18500func (s *PutObjectInput) getSSECustomerKey() (v string) {
18501 if s.SSECustomerKey == nil {
18502 return v
18503 }
18504 return *s.SSECustomerKey
18505}
18506
16812// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value. 18507// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value.
16813func (s *PutObjectInput) SetSSECustomerKeyMD5(v string) *PutObjectInput { 18508func (s *PutObjectInput) SetSSECustomerKeyMD5(v string) *PutObjectInput {
16814 s.SSECustomerKeyMD5 = &v 18509 s.SSECustomerKeyMD5 = &v
@@ -16845,7 +18540,6 @@ func (s *PutObjectInput) SetWebsiteRedirectLocation(v string) *PutObjectInput {
16845 return s 18540 return s
16846} 18541}
16847 18542
16848// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectOutput
16849type PutObjectOutput struct { 18543type PutObjectOutput struct {
16850 _ struct{} `type:"structure"` 18544 _ struct{} `type:"structure"`
16851 18545
@@ -16940,7 +18634,6 @@ func (s *PutObjectOutput) SetVersionId(v string) *PutObjectOutput {
16940 return s 18634 return s
16941} 18635}
16942 18636
16943// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectTaggingRequest
16944type PutObjectTaggingInput struct { 18637type PutObjectTaggingInput struct {
16945 _ struct{} `type:"structure" payload:"Tagging"` 18638 _ struct{} `type:"structure" payload:"Tagging"`
16946 18639
@@ -16951,7 +18644,7 @@ type PutObjectTaggingInput struct {
16951 Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` 18644 Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"`
16952 18645
16953 // Tagging is a required field 18646 // Tagging is a required field
16954 Tagging *Tagging `locationName:"Tagging" type:"structure" required:"true"` 18647 Tagging *Tagging `locationName:"Tagging" type:"structure" required:"true" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"`
16955 18648
16956 VersionId *string `location:"querystring" locationName:"versionId" type:"string"` 18649 VersionId *string `location:"querystring" locationName:"versionId" type:"string"`
16957} 18650}
@@ -16999,6 +18692,13 @@ func (s *PutObjectTaggingInput) SetBucket(v string) *PutObjectTaggingInput {
16999 return s 18692 return s
17000} 18693}
17001 18694
18695func (s *PutObjectTaggingInput) getBucket() (v string) {
18696 if s.Bucket == nil {
18697 return v
18698 }
18699 return *s.Bucket
18700}
18701
17002// SetKey sets the Key field's value. 18702// SetKey sets the Key field's value.
17003func (s *PutObjectTaggingInput) SetKey(v string) *PutObjectTaggingInput { 18703func (s *PutObjectTaggingInput) SetKey(v string) *PutObjectTaggingInput {
17004 s.Key = &v 18704 s.Key = &v
@@ -17017,7 +18717,6 @@ func (s *PutObjectTaggingInput) SetVersionId(v string) *PutObjectTaggingInput {
17017 return s 18717 return s
17018} 18718}
17019 18719
17020// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectTaggingOutput
17021type PutObjectTaggingOutput struct { 18720type PutObjectTaggingOutput struct {
17022 _ struct{} `type:"structure"` 18721 _ struct{} `type:"structure"`
17023 18722
@@ -17042,7 +18741,6 @@ func (s *PutObjectTaggingOutput) SetVersionId(v string) *PutObjectTaggingOutput
17042 18741
17043// Container for specifying an configuration when you want Amazon S3 to publish 18742// Container for specifying an configuration when you want Amazon S3 to publish
17044// events to an Amazon Simple Queue Service (Amazon SQS) queue. 18743// events to an Amazon Simple Queue Service (Amazon SQS) queue.
17045// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/QueueConfiguration
17046type QueueConfiguration struct { 18744type QueueConfiguration struct {
17047 _ struct{} `type:"structure"` 18745 _ struct{} `type:"structure"`
17048 18746
@@ -17051,6 +18749,7 @@ type QueueConfiguration struct {
17051 18749
17052 // Container for object key name filtering rules. For information about key 18750 // Container for object key name filtering rules. For information about key
17053 // name filtering, go to Configuring Event Notifications (http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html) 18751 // name filtering, go to Configuring Event Notifications (http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html)
18752 // in the Amazon Simple Storage Service Developer Guide.
17054 Filter *NotificationConfigurationFilter `type:"structure"` 18753 Filter *NotificationConfigurationFilter `type:"structure"`
17055 18754
17056 // Optional unique identifier for configurations in a notification configuration. 18755 // Optional unique identifier for configurations in a notification configuration.
@@ -17114,7 +18813,6 @@ func (s *QueueConfiguration) SetQueueArn(v string) *QueueConfiguration {
17114 return s 18813 return s
17115} 18814}
17116 18815
17117// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/QueueConfigurationDeprecated
17118type QueueConfigurationDeprecated struct { 18816type QueueConfigurationDeprecated struct {
17119 _ struct{} `type:"structure"` 18817 _ struct{} `type:"structure"`
17120 18818
@@ -17164,7 +18862,45 @@ func (s *QueueConfigurationDeprecated) SetQueue(v string) *QueueConfigurationDep
17164 return s 18862 return s
17165} 18863}
17166 18864
17167// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Redirect 18865type RecordsEvent struct {
18866 _ struct{} `locationName:"RecordsEvent" type:"structure" payload:"Payload"`
18867
18868 // The byte array of partial, one or more result records.
18869 //
18870 // Payload is automatically base64 encoded/decoded by the SDK.
18871 Payload []byte `type:"blob"`
18872}
18873
18874// String returns the string representation
18875func (s RecordsEvent) String() string {
18876 return awsutil.Prettify(s)
18877}
18878
18879// GoString returns the string representation
18880func (s RecordsEvent) GoString() string {
18881 return s.String()
18882}
18883
18884// SetPayload sets the Payload field's value.
18885func (s *RecordsEvent) SetPayload(v []byte) *RecordsEvent {
18886 s.Payload = v
18887 return s
18888}
18889
18890// The RecordsEvent is and event in the SelectObjectContentEventStream group of events.
18891func (s *RecordsEvent) eventSelectObjectContentEventStream() {}
18892
18893// UnmarshalEvent unmarshals the EventStream Message into the RecordsEvent value.
18894// This method is only used internally within the SDK's EventStream handling.
18895func (s *RecordsEvent) UnmarshalEvent(
18896 payloadUnmarshaler protocol.PayloadUnmarshaler,
18897 msg eventstream.Message,
18898) error {
18899 s.Payload = make([]byte, len(msg.Payload))
18900 copy(s.Payload, msg.Payload)
18901 return nil
18902}
18903
17168type Redirect struct { 18904type Redirect struct {
17169 _ struct{} `type:"structure"` 18905 _ struct{} `type:"structure"`
17170 18906
@@ -17233,7 +18969,6 @@ func (s *Redirect) SetReplaceKeyWith(v string) *Redirect {
17233 return s 18969 return s
17234} 18970}
17235 18971
17236// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RedirectAllRequestsTo
17237type RedirectAllRequestsTo struct { 18972type RedirectAllRequestsTo struct {
17238 _ struct{} `type:"structure"` 18973 _ struct{} `type:"structure"`
17239 18974
@@ -17284,7 +19019,6 @@ func (s *RedirectAllRequestsTo) SetProtocol(v string) *RedirectAllRequestsTo {
17284 19019
17285// Container for replication rules. You can add as many as 1,000 rules. Total 19020// Container for replication rules. You can add as many as 1,000 rules. Total
17286// replication configuration size can be up to 2 MB. 19021// replication configuration size can be up to 2 MB.
17287// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ReplicationConfiguration
17288type ReplicationConfiguration struct { 19022type ReplicationConfiguration struct {
17289 _ struct{} `type:"structure"` 19023 _ struct{} `type:"structure"`
17290 19024
@@ -17349,10 +19083,12 @@ func (s *ReplicationConfiguration) SetRules(v []*ReplicationRule) *ReplicationCo
17349 return s 19083 return s
17350} 19084}
17351 19085
17352// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ReplicationRule 19086// Container for information about a particular replication rule.
17353type ReplicationRule struct { 19087type ReplicationRule struct {
17354 _ struct{} `type:"structure"` 19088 _ struct{} `type:"structure"`
17355 19089
19090 // Container for replication destination information.
19091 //
17356 // Destination is a required field 19092 // Destination is a required field
17357 Destination *Destination `type:"structure" required:"true"` 19093 Destination *Destination `type:"structure" required:"true"`
17358 19094
@@ -17366,6 +19102,9 @@ type ReplicationRule struct {
17366 // Prefix is a required field 19102 // Prefix is a required field
17367 Prefix *string `type:"string" required:"true"` 19103 Prefix *string `type:"string" required:"true"`
17368 19104
19105 // Container for filters that define which source objects should be replicated.
19106 SourceSelectionCriteria *SourceSelectionCriteria `type:"structure"`
19107
17369 // The rule is ignored if status is not Enabled. 19108 // The rule is ignored if status is not Enabled.
17370 // 19109 //
17371 // Status is a required field 19110 // Status is a required field
@@ -17399,6 +19138,11 @@ func (s *ReplicationRule) Validate() error {
17399 invalidParams.AddNested("Destination", err.(request.ErrInvalidParams)) 19138 invalidParams.AddNested("Destination", err.(request.ErrInvalidParams))
17400 } 19139 }
17401 } 19140 }
19141 if s.SourceSelectionCriteria != nil {
19142 if err := s.SourceSelectionCriteria.Validate(); err != nil {
19143 invalidParams.AddNested("SourceSelectionCriteria", err.(request.ErrInvalidParams))
19144 }
19145 }
17402 19146
17403 if invalidParams.Len() > 0 { 19147 if invalidParams.Len() > 0 {
17404 return invalidParams 19148 return invalidParams
@@ -17424,13 +19168,18 @@ func (s *ReplicationRule) SetPrefix(v string) *ReplicationRule {
17424 return s 19168 return s
17425} 19169}
17426 19170
19171// SetSourceSelectionCriteria sets the SourceSelectionCriteria field's value.
19172func (s *ReplicationRule) SetSourceSelectionCriteria(v *SourceSelectionCriteria) *ReplicationRule {
19173 s.SourceSelectionCriteria = v
19174 return s
19175}
19176
17427// SetStatus sets the Status field's value. 19177// SetStatus sets the Status field's value.
17428func (s *ReplicationRule) SetStatus(v string) *ReplicationRule { 19178func (s *ReplicationRule) SetStatus(v string) *ReplicationRule {
17429 s.Status = &v 19179 s.Status = &v
17430 return s 19180 return s
17431} 19181}
17432 19182
17433// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RequestPaymentConfiguration
17434type RequestPaymentConfiguration struct { 19183type RequestPaymentConfiguration struct {
17435 _ struct{} `type:"structure"` 19184 _ struct{} `type:"structure"`
17436 19185
@@ -17469,7 +19218,30 @@ func (s *RequestPaymentConfiguration) SetPayer(v string) *RequestPaymentConfigur
17469 return s 19218 return s
17470} 19219}
17471 19220
17472// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RestoreObjectRequest 19221type RequestProgress struct {
19222 _ struct{} `type:"structure"`
19223
19224 // Specifies whether periodic QueryProgress frames should be sent. Valid values:
19225 // TRUE, FALSE. Default value: FALSE.
19226 Enabled *bool `type:"boolean"`
19227}
19228
19229// String returns the string representation
19230func (s RequestProgress) String() string {
19231 return awsutil.Prettify(s)
19232}
19233
19234// GoString returns the string representation
19235func (s RequestProgress) GoString() string {
19236 return s.String()
19237}
19238
19239// SetEnabled sets the Enabled field's value.
19240func (s *RequestProgress) SetEnabled(v bool) *RequestProgress {
19241 s.Enabled = &v
19242 return s
19243}
19244
17473type RestoreObjectInput struct { 19245type RestoreObjectInput struct {
17474 _ struct{} `type:"structure" payload:"RestoreRequest"` 19246 _ struct{} `type:"structure" payload:"RestoreRequest"`
17475 19247
@@ -17485,7 +19257,8 @@ type RestoreObjectInput struct {
17485 // at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html 19257 // at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
17486 RequestPayer *string `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"RequestPayer"` 19258 RequestPayer *string `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"RequestPayer"`
17487 19259
17488 RestoreRequest *RestoreRequest `locationName:"RestoreRequest" type:"structure"` 19260 // Container for restore job parameters.
19261 RestoreRequest *RestoreRequest `locationName:"RestoreRequest" type:"structure" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"`
17489 19262
17490 VersionId *string `location:"querystring" locationName:"versionId" type:"string"` 19263 VersionId *string `location:"querystring" locationName:"versionId" type:"string"`
17491} 19264}
@@ -17530,6 +19303,13 @@ func (s *RestoreObjectInput) SetBucket(v string) *RestoreObjectInput {
17530 return s 19303 return s
17531} 19304}
17532 19305
19306func (s *RestoreObjectInput) getBucket() (v string) {
19307 if s.Bucket == nil {
19308 return v
19309 }
19310 return *s.Bucket
19311}
19312
17533// SetKey sets the Key field's value. 19313// SetKey sets the Key field's value.
17534func (s *RestoreObjectInput) SetKey(v string) *RestoreObjectInput { 19314func (s *RestoreObjectInput) SetKey(v string) *RestoreObjectInput {
17535 s.Key = &v 19315 s.Key = &v
@@ -17554,13 +19334,16 @@ func (s *RestoreObjectInput) SetVersionId(v string) *RestoreObjectInput {
17554 return s 19334 return s
17555} 19335}
17556 19336
17557// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RestoreObjectOutput
17558type RestoreObjectOutput struct { 19337type RestoreObjectOutput struct {
17559 _ struct{} `type:"structure"` 19338 _ struct{} `type:"structure"`
17560 19339
17561 // If present, indicates that the requester was successfully charged for the 19340 // If present, indicates that the requester was successfully charged for the
17562 // request. 19341 // request.
17563 RequestCharged *string `location:"header" locationName:"x-amz-request-charged" type:"string" enum:"RequestCharged"` 19342 RequestCharged *string `location:"header" locationName:"x-amz-request-charged" type:"string" enum:"RequestCharged"`
19343
19344 // Indicates the path in the provided S3 output location where Select results
19345 // will be restored to.
19346 RestoreOutputPath *string `location:"header" locationName:"x-amz-restore-output-path" type:"string"`
17564} 19347}
17565 19348
17566// String returns the string representation 19349// String returns the string representation
@@ -17579,17 +19362,38 @@ func (s *RestoreObjectOutput) SetRequestCharged(v string) *RestoreObjectOutput {
17579 return s 19362 return s
17580} 19363}
17581 19364
17582// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RestoreRequest 19365// SetRestoreOutputPath sets the RestoreOutputPath field's value.
19366func (s *RestoreObjectOutput) SetRestoreOutputPath(v string) *RestoreObjectOutput {
19367 s.RestoreOutputPath = &v
19368 return s
19369}
19370
19371// Container for restore job parameters.
17583type RestoreRequest struct { 19372type RestoreRequest struct {
17584 _ struct{} `type:"structure"` 19373 _ struct{} `type:"structure"`
17585 19374
17586 // Lifetime of the active copy in days 19375 // Lifetime of the active copy in days. Do not use with restores that specify
17587 // 19376 // OutputLocation.
17588 // Days is a required field 19377 Days *int64 `type:"integer"`
17589 Days *int64 `type:"integer" required:"true"` 19378
19379 // The optional description for the job.
19380 Description *string `type:"string"`
17590 19381
17591 // Glacier related prameters pertaining to this job. 19382 // Glacier related parameters pertaining to this job. Do not use with restores
19383 // that specify OutputLocation.
17592 GlacierJobParameters *GlacierJobParameters `type:"structure"` 19384 GlacierJobParameters *GlacierJobParameters `type:"structure"`
19385
19386 // Describes the location where the restore job's output is stored.
19387 OutputLocation *OutputLocation `type:"structure"`
19388
19389 // Describes the parameters for Select job types.
19390 SelectParameters *SelectParameters `type:"structure"`
19391
19392 // Glacier retrieval tier at which the restore will be processed.
19393 Tier *string `type:"string" enum:"Tier"`
19394
19395 // Type of restore request.
19396 Type *string `type:"string" enum:"RestoreRequestType"`
17593} 19397}
17594 19398
17595// String returns the string representation 19399// String returns the string representation
@@ -17605,14 +19409,21 @@ func (s RestoreRequest) GoString() string {
17605// Validate inspects the fields of the type to determine if they are valid. 19409// Validate inspects the fields of the type to determine if they are valid.
17606func (s *RestoreRequest) Validate() error { 19410func (s *RestoreRequest) Validate() error {
17607 invalidParams := request.ErrInvalidParams{Context: "RestoreRequest"} 19411 invalidParams := request.ErrInvalidParams{Context: "RestoreRequest"}
17608 if s.Days == nil {
17609 invalidParams.Add(request.NewErrParamRequired("Days"))
17610 }
17611 if s.GlacierJobParameters != nil { 19412 if s.GlacierJobParameters != nil {
17612 if err := s.GlacierJobParameters.Validate(); err != nil { 19413 if err := s.GlacierJobParameters.Validate(); err != nil {
17613 invalidParams.AddNested("GlacierJobParameters", err.(request.ErrInvalidParams)) 19414 invalidParams.AddNested("GlacierJobParameters", err.(request.ErrInvalidParams))
17614 } 19415 }
17615 } 19416 }
19417 if s.OutputLocation != nil {
19418 if err := s.OutputLocation.Validate(); err != nil {
19419 invalidParams.AddNested("OutputLocation", err.(request.ErrInvalidParams))
19420 }
19421 }
19422 if s.SelectParameters != nil {
19423 if err := s.SelectParameters.Validate(); err != nil {
19424 invalidParams.AddNested("SelectParameters", err.(request.ErrInvalidParams))
19425 }
19426 }
17616 19427
17617 if invalidParams.Len() > 0 { 19428 if invalidParams.Len() > 0 {
17618 return invalidParams 19429 return invalidParams
@@ -17626,13 +19437,42 @@ func (s *RestoreRequest) SetDays(v int64) *RestoreRequest {
17626 return s 19437 return s
17627} 19438}
17628 19439
19440// SetDescription sets the Description field's value.
19441func (s *RestoreRequest) SetDescription(v string) *RestoreRequest {
19442 s.Description = &v
19443 return s
19444}
19445
17629// SetGlacierJobParameters sets the GlacierJobParameters field's value. 19446// SetGlacierJobParameters sets the GlacierJobParameters field's value.
17630func (s *RestoreRequest) SetGlacierJobParameters(v *GlacierJobParameters) *RestoreRequest { 19447func (s *RestoreRequest) SetGlacierJobParameters(v *GlacierJobParameters) *RestoreRequest {
17631 s.GlacierJobParameters = v 19448 s.GlacierJobParameters = v
17632 return s 19449 return s
17633} 19450}
17634 19451
17635// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RoutingRule 19452// SetOutputLocation sets the OutputLocation field's value.
19453func (s *RestoreRequest) SetOutputLocation(v *OutputLocation) *RestoreRequest {
19454 s.OutputLocation = v
19455 return s
19456}
19457
19458// SetSelectParameters sets the SelectParameters field's value.
19459func (s *RestoreRequest) SetSelectParameters(v *SelectParameters) *RestoreRequest {
19460 s.SelectParameters = v
19461 return s
19462}
19463
19464// SetTier sets the Tier field's value.
19465func (s *RestoreRequest) SetTier(v string) *RestoreRequest {
19466 s.Tier = &v
19467 return s
19468}
19469
19470// SetType sets the Type field's value.
19471func (s *RestoreRequest) SetType(v string) *RestoreRequest {
19472 s.Type = &v
19473 return s
19474}
19475
17636type RoutingRule struct { 19476type RoutingRule struct {
17637 _ struct{} `type:"structure"` 19477 _ struct{} `type:"structure"`
17638 19478
@@ -17685,7 +19525,6 @@ func (s *RoutingRule) SetRedirect(v *Redirect) *RoutingRule {
17685 return s 19525 return s
17686} 19526}
17687 19527
17688// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Rule
17689type Rule struct { 19528type Rule struct {
17690 _ struct{} `type:"structure"` 19529 _ struct{} `type:"structure"`
17691 19530
@@ -17706,10 +19545,11 @@ type Rule struct {
17706 NoncurrentVersionExpiration *NoncurrentVersionExpiration `type:"structure"` 19545 NoncurrentVersionExpiration *NoncurrentVersionExpiration `type:"structure"`
17707 19546
17708 // Container for the transition rule that describes when noncurrent objects 19547 // Container for the transition rule that describes when noncurrent objects
17709 // transition to the STANDARD_IA or GLACIER storage class. If your bucket is 19548 // transition to the STANDARD_IA, ONEZONE_IA or GLACIER storage class. If your
17710 // versioning-enabled (or versioning is suspended), you can set this action 19549 // bucket is versioning-enabled (or versioning is suspended), you can set this
17711 // to request that Amazon S3 transition noncurrent object versions to the STANDARD_IA 19550 // action to request that Amazon S3 transition noncurrent object versions to
17712 // or GLACIER storage class at a specific period in the object's lifetime. 19551 // the STANDARD_IA, ONEZONE_IA or GLACIER storage class at a specific period
19552 // in the object's lifetime.
17713 NoncurrentVersionTransition *NoncurrentVersionTransition `type:"structure"` 19553 NoncurrentVersionTransition *NoncurrentVersionTransition `type:"structure"`
17714 19554
17715 // Prefix identifying one or more objects to which the rule applies. 19555 // Prefix identifying one or more objects to which the rule applies.
@@ -17800,7 +19640,879 @@ func (s *Rule) SetTransition(v *Transition) *Rule {
17800 return s 19640 return s
17801} 19641}
17802 19642
17803// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/StorageClassAnalysis 19643// Specifies the use of SSE-KMS to encrypt delievered Inventory reports.
19644type SSEKMS struct {
19645 _ struct{} `locationName:"SSE-KMS" type:"structure"`
19646
19647 // Specifies the ID of the AWS Key Management Service (KMS) master encryption
19648 // key to use for encrypting Inventory reports.
19649 //
19650 // KeyId is a required field
19651 KeyId *string `type:"string" required:"true"`
19652}
19653
19654// String returns the string representation
19655func (s SSEKMS) String() string {
19656 return awsutil.Prettify(s)
19657}
19658
19659// GoString returns the string representation
19660func (s SSEKMS) GoString() string {
19661 return s.String()
19662}
19663
19664// Validate inspects the fields of the type to determine if they are valid.
19665func (s *SSEKMS) Validate() error {
19666 invalidParams := request.ErrInvalidParams{Context: "SSEKMS"}
19667 if s.KeyId == nil {
19668 invalidParams.Add(request.NewErrParamRequired("KeyId"))
19669 }
19670
19671 if invalidParams.Len() > 0 {
19672 return invalidParams
19673 }
19674 return nil
19675}
19676
19677// SetKeyId sets the KeyId field's value.
19678func (s *SSEKMS) SetKeyId(v string) *SSEKMS {
19679 s.KeyId = &v
19680 return s
19681}
19682
19683// Specifies the use of SSE-S3 to encrypt delievered Inventory reports.
19684type SSES3 struct {
19685 _ struct{} `locationName:"SSE-S3" type:"structure"`
19686}
19687
19688// String returns the string representation
19689func (s SSES3) String() string {
19690 return awsutil.Prettify(s)
19691}
19692
19693// GoString returns the string representation
19694func (s SSES3) GoString() string {
19695 return s.String()
19696}
19697
19698// SelectObjectContentEventStream provides handling of EventStreams for
19699// the SelectObjectContent API.
19700//
19701// Use this type to receive SelectObjectContentEventStream events. The events
19702// can be read from the Events channel member.
19703//
19704// The events that can be received are:
19705//
19706// * ContinuationEvent
19707// * EndEvent
19708// * ProgressEvent
19709// * RecordsEvent
19710// * StatsEvent
19711type SelectObjectContentEventStream struct {
19712 // Reader is the EventStream reader for the SelectObjectContentEventStream
19713 // events. This value is automatically set by the SDK when the API call is made
19714 // Use this member when unit testing your code with the SDK to mock out the
19715 // EventStream Reader.
19716 //
19717 // Must not be nil.
19718 Reader SelectObjectContentEventStreamReader
19719
19720 // StreamCloser is the io.Closer for the EventStream connection. For HTTP
19721 // EventStream this is the response Body. The stream will be closed when
19722 // the Close method of the EventStream is called.
19723 StreamCloser io.Closer
19724}
19725
19726// Close closes the EventStream. This will also cause the Events channel to be
19727// closed. You can use the closing of the Events channel to terminate your
19728// application's read from the API's EventStream.
19729//
19730// Will close the underlying EventStream reader. For EventStream over HTTP
19731// connection this will also close the HTTP connection.
19732//
19733// Close must be called when done using the EventStream API. Not calling Close
19734// may result in resource leaks.
19735func (es *SelectObjectContentEventStream) Close() (err error) {
19736 es.Reader.Close()
19737 return es.Err()
19738}
19739
19740// Err returns any error that occurred while reading EventStream Events from
19741// the service API's response. Returns nil if there were no errors.
19742func (es *SelectObjectContentEventStream) Err() error {
19743 if err := es.Reader.Err(); err != nil {
19744 return err
19745 }
19746 es.StreamCloser.Close()
19747
19748 return nil
19749}
19750
19751// Events returns a channel to read EventStream Events from the
19752// SelectObjectContent API.
19753//
19754// These events are:
19755//
19756// * ContinuationEvent
19757// * EndEvent
19758// * ProgressEvent
19759// * RecordsEvent
19760// * StatsEvent
19761func (es *SelectObjectContentEventStream) Events() <-chan SelectObjectContentEventStreamEvent {
19762 return es.Reader.Events()
19763}
19764
19765// SelectObjectContentEventStreamEvent groups together all EventStream
19766// events read from the SelectObjectContent API.
19767//
19768// These events are:
19769//
19770// * ContinuationEvent
19771// * EndEvent
19772// * ProgressEvent
19773// * RecordsEvent
19774// * StatsEvent
19775type SelectObjectContentEventStreamEvent interface {
19776 eventSelectObjectContentEventStream()
19777}
19778
19779// SelectObjectContentEventStreamReader provides the interface for reading EventStream
19780// Events from the SelectObjectContent API. The
19781// default implementation for this interface will be SelectObjectContentEventStream.
19782//
19783// The reader's Close method must allow multiple concurrent calls.
19784//
19785// These events are:
19786//
19787// * ContinuationEvent
19788// * EndEvent
19789// * ProgressEvent
19790// * RecordsEvent
19791// * StatsEvent
19792type SelectObjectContentEventStreamReader interface {
19793 // Returns a channel of events as they are read from the event stream.
19794 Events() <-chan SelectObjectContentEventStreamEvent
19795
19796 // Close will close the underlying event stream reader. For event stream over
19797 // HTTP this will also close the HTTP connection.
19798 Close() error
19799
19800 // Returns any error that has occured while reading from the event stream.
19801 Err() error
19802}
19803
19804type readSelectObjectContentEventStream struct {
19805 eventReader *eventstreamapi.EventReader
19806 stream chan SelectObjectContentEventStreamEvent
19807 errVal atomic.Value
19808
19809 done chan struct{}
19810 closeOnce sync.Once
19811}
19812
19813func newReadSelectObjectContentEventStream(
19814 reader io.ReadCloser,
19815 unmarshalers request.HandlerList,
19816 logger aws.Logger,
19817 logLevel aws.LogLevelType,
19818) *readSelectObjectContentEventStream {
19819 r := &readSelectObjectContentEventStream{
19820 stream: make(chan SelectObjectContentEventStreamEvent),
19821 done: make(chan struct{}),
19822 }
19823
19824 r.eventReader = eventstreamapi.NewEventReader(
19825 reader,
19826 protocol.HandlerPayloadUnmarshal{
19827 Unmarshalers: unmarshalers,
19828 },
19829 r.unmarshalerForEventType,
19830 )
19831 r.eventReader.UseLogger(logger, logLevel)
19832
19833 return r
19834}
19835
19836// Close will close the underlying event stream reader. For EventStream over
19837// HTTP this will also close the HTTP connection.
19838func (r *readSelectObjectContentEventStream) Close() error {
19839 r.closeOnce.Do(r.safeClose)
19840
19841 return r.Err()
19842}
19843
19844func (r *readSelectObjectContentEventStream) safeClose() {
19845 close(r.done)
19846 err := r.eventReader.Close()
19847 if err != nil {
19848 r.errVal.Store(err)
19849 }
19850}
19851
19852func (r *readSelectObjectContentEventStream) Err() error {
19853 if v := r.errVal.Load(); v != nil {
19854 return v.(error)
19855 }
19856
19857 return nil
19858}
19859
19860func (r *readSelectObjectContentEventStream) Events() <-chan SelectObjectContentEventStreamEvent {
19861 return r.stream
19862}
19863
19864func (r *readSelectObjectContentEventStream) readEventStream() {
19865 defer close(r.stream)
19866
19867 for {
19868 event, err := r.eventReader.ReadEvent()
19869 if err != nil {
19870 if err == io.EOF {
19871 return
19872 }
19873 select {
19874 case <-r.done:
19875 // If closed already ignore the error
19876 return
19877 default:
19878 }
19879 r.errVal.Store(err)
19880 return
19881 }
19882
19883 select {
19884 case r.stream <- event.(SelectObjectContentEventStreamEvent):
19885 case <-r.done:
19886 return
19887 }
19888 }
19889}
19890
19891func (r *readSelectObjectContentEventStream) unmarshalerForEventType(
19892 eventType string,
19893) (eventstreamapi.Unmarshaler, error) {
19894 switch eventType {
19895 case "Cont":
19896 return &ContinuationEvent{}, nil
19897
19898 case "End":
19899 return &EndEvent{}, nil
19900
19901 case "Progress":
19902 return &ProgressEvent{}, nil
19903
19904 case "Records":
19905 return &RecordsEvent{}, nil
19906
19907 case "Stats":
19908 return &StatsEvent{}, nil
19909 default:
19910 return nil, awserr.New(
19911 request.ErrCodeSerialization,
19912 fmt.Sprintf("unknown event type name, %s, for SelectObjectContentEventStream", eventType),
19913 nil,
19914 )
19915 }
19916}
19917
19918// Request to filter the contents of an Amazon S3 object based on a simple Structured
19919// Query Language (SQL) statement. In the request, along with the SQL expression,
19920// you must also specify a data serialization format (JSON or CSV) of the object.
19921// Amazon S3 uses this to parse object data into records, and returns only records
19922// that match the specified SQL expression. You must also specify the data serialization
19923// format for the response. For more information, go to S3Select API Documentation
19924// (http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectSELECTContent.html).
19925type SelectObjectContentInput struct {
19926 _ struct{} `locationName:"SelectObjectContentRequest" type:"structure" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"`
19927
19928 // The S3 Bucket.
19929 //
19930 // Bucket is a required field
19931 Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
19932
19933 // The expression that is used to query the object.
19934 //
19935 // Expression is a required field
19936 Expression *string `type:"string" required:"true"`
19937
19938 // The type of the provided expression (e.g., SQL).
19939 //
19940 // ExpressionType is a required field
19941 ExpressionType *string `type:"string" required:"true" enum:"ExpressionType"`
19942
19943 // Describes the format of the data in the object that is being queried.
19944 //
19945 // InputSerialization is a required field
19946 InputSerialization *InputSerialization `type:"structure" required:"true"`
19947
19948 // The Object Key.
19949 //
19950 // Key is a required field
19951 Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"`
19952
19953 // Describes the format of the data that you want Amazon S3 to return in response.
19954 //
19955 // OutputSerialization is a required field
19956 OutputSerialization *OutputSerialization `type:"structure" required:"true"`
19957
19958 // Specifies if periodic request progress information should be enabled.
19959 RequestProgress *RequestProgress `type:"structure"`
19960
19961 // The SSE Algorithm used to encrypt the object. For more information, go to
19962 // Server-Side Encryption (Using Customer-Provided Encryption Keys (http://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html).
19963 SSECustomerAlgorithm *string `location:"header" locationName:"x-amz-server-side-encryption-customer-algorithm" type:"string"`
19964
19965 // The SSE Customer Key. For more information, go to Server-Side Encryption
19966 // (Using Customer-Provided Encryption Keys (http://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html).
19967 SSECustomerKey *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key" type:"string"`
19968
19969 // The SSE Customer Key MD5. For more information, go to Server-Side Encryption
19970 // (Using Customer-Provided Encryption Keys (http://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html).
19971 SSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key-MD5" type:"string"`
19972}
19973
19974// String returns the string representation
19975func (s SelectObjectContentInput) String() string {
19976 return awsutil.Prettify(s)
19977}
19978
19979// GoString returns the string representation
19980func (s SelectObjectContentInput) GoString() string {
19981 return s.String()
19982}
19983
19984// Validate inspects the fields of the type to determine if they are valid.
19985func (s *SelectObjectContentInput) Validate() error {
19986 invalidParams := request.ErrInvalidParams{Context: "SelectObjectContentInput"}
19987 if s.Bucket == nil {
19988 invalidParams.Add(request.NewErrParamRequired("Bucket"))
19989 }
19990 if s.Expression == nil {
19991 invalidParams.Add(request.NewErrParamRequired("Expression"))
19992 }
19993 if s.ExpressionType == nil {
19994 invalidParams.Add(request.NewErrParamRequired("ExpressionType"))
19995 }
19996 if s.InputSerialization == nil {
19997 invalidParams.Add(request.NewErrParamRequired("InputSerialization"))
19998 }
19999 if s.Key == nil {
20000 invalidParams.Add(request.NewErrParamRequired("Key"))
20001 }
20002 if s.Key != nil && len(*s.Key) < 1 {
20003 invalidParams.Add(request.NewErrParamMinLen("Key", 1))
20004 }
20005 if s.OutputSerialization == nil {
20006 invalidParams.Add(request.NewErrParamRequired("OutputSerialization"))
20007 }
20008
20009 if invalidParams.Len() > 0 {
20010 return invalidParams
20011 }
20012 return nil
20013}
20014
20015// SetBucket sets the Bucket field's value.
20016func (s *SelectObjectContentInput) SetBucket(v string) *SelectObjectContentInput {
20017 s.Bucket = &v
20018 return s
20019}
20020
20021func (s *SelectObjectContentInput) getBucket() (v string) {
20022 if s.Bucket == nil {
20023 return v
20024 }
20025 return *s.Bucket
20026}
20027
20028// SetExpression sets the Expression field's value.
20029func (s *SelectObjectContentInput) SetExpression(v string) *SelectObjectContentInput {
20030 s.Expression = &v
20031 return s
20032}
20033
20034// SetExpressionType sets the ExpressionType field's value.
20035func (s *SelectObjectContentInput) SetExpressionType(v string) *SelectObjectContentInput {
20036 s.ExpressionType = &v
20037 return s
20038}
20039
20040// SetInputSerialization sets the InputSerialization field's value.
20041func (s *SelectObjectContentInput) SetInputSerialization(v *InputSerialization) *SelectObjectContentInput {
20042 s.InputSerialization = v
20043 return s
20044}
20045
20046// SetKey sets the Key field's value.
20047func (s *SelectObjectContentInput) SetKey(v string) *SelectObjectContentInput {
20048 s.Key = &v
20049 return s
20050}
20051
20052// SetOutputSerialization sets the OutputSerialization field's value.
20053func (s *SelectObjectContentInput) SetOutputSerialization(v *OutputSerialization) *SelectObjectContentInput {
20054 s.OutputSerialization = v
20055 return s
20056}
20057
20058// SetRequestProgress sets the RequestProgress field's value.
20059func (s *SelectObjectContentInput) SetRequestProgress(v *RequestProgress) *SelectObjectContentInput {
20060 s.RequestProgress = v
20061 return s
20062}
20063
20064// SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value.
20065func (s *SelectObjectContentInput) SetSSECustomerAlgorithm(v string) *SelectObjectContentInput {
20066 s.SSECustomerAlgorithm = &v
20067 return s
20068}
20069
20070// SetSSECustomerKey sets the SSECustomerKey field's value.
20071func (s *SelectObjectContentInput) SetSSECustomerKey(v string) *SelectObjectContentInput {
20072 s.SSECustomerKey = &v
20073 return s
20074}
20075
20076func (s *SelectObjectContentInput) getSSECustomerKey() (v string) {
20077 if s.SSECustomerKey == nil {
20078 return v
20079 }
20080 return *s.SSECustomerKey
20081}
20082
20083// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value.
20084func (s *SelectObjectContentInput) SetSSECustomerKeyMD5(v string) *SelectObjectContentInput {
20085 s.SSECustomerKeyMD5 = &v
20086 return s
20087}
20088
20089type SelectObjectContentOutput struct {
20090 _ struct{} `type:"structure" payload:"Payload"`
20091
20092 // Use EventStream to use the API's stream.
20093 EventStream *SelectObjectContentEventStream `type:"structure"`
20094}
20095
20096// String returns the string representation
20097func (s SelectObjectContentOutput) String() string {
20098 return awsutil.Prettify(s)
20099}
20100
20101// GoString returns the string representation
20102func (s SelectObjectContentOutput) GoString() string {
20103 return s.String()
20104}
20105
20106// SetEventStream sets the EventStream field's value.
20107func (s *SelectObjectContentOutput) SetEventStream(v *SelectObjectContentEventStream) *SelectObjectContentOutput {
20108 s.EventStream = v
20109 return s
20110}
20111
20112func (s *SelectObjectContentOutput) runEventStreamLoop(r *request.Request) {
20113 if r.Error != nil {
20114 return
20115 }
20116 reader := newReadSelectObjectContentEventStream(
20117 r.HTTPResponse.Body,
20118 r.Handlers.UnmarshalStream,
20119 r.Config.Logger,
20120 r.Config.LogLevel.Value(),
20121 )
20122 go reader.readEventStream()
20123
20124 eventStream := &SelectObjectContentEventStream{
20125 StreamCloser: r.HTTPResponse.Body,
20126 Reader: reader,
20127 }
20128 s.EventStream = eventStream
20129}
20130
20131// Describes the parameters for Select job types.
20132type SelectParameters struct {
20133 _ struct{} `type:"structure"`
20134
20135 // The expression that is used to query the object.
20136 //
20137 // Expression is a required field
20138 Expression *string `type:"string" required:"true"`
20139
20140 // The type of the provided expression (e.g., SQL).
20141 //
20142 // ExpressionType is a required field
20143 ExpressionType *string `type:"string" required:"true" enum:"ExpressionType"`
20144
20145 // Describes the serialization format of the object.
20146 //
20147 // InputSerialization is a required field
20148 InputSerialization *InputSerialization `type:"structure" required:"true"`
20149
20150 // Describes how the results of the Select job are serialized.
20151 //
20152 // OutputSerialization is a required field
20153 OutputSerialization *OutputSerialization `type:"structure" required:"true"`
20154}
20155
20156// String returns the string representation
20157func (s SelectParameters) String() string {
20158 return awsutil.Prettify(s)
20159}
20160
20161// GoString returns the string representation
20162func (s SelectParameters) GoString() string {
20163 return s.String()
20164}
20165
20166// Validate inspects the fields of the type to determine if they are valid.
20167func (s *SelectParameters) Validate() error {
20168 invalidParams := request.ErrInvalidParams{Context: "SelectParameters"}
20169 if s.Expression == nil {
20170 invalidParams.Add(request.NewErrParamRequired("Expression"))
20171 }
20172 if s.ExpressionType == nil {
20173 invalidParams.Add(request.NewErrParamRequired("ExpressionType"))
20174 }
20175 if s.InputSerialization == nil {
20176 invalidParams.Add(request.NewErrParamRequired("InputSerialization"))
20177 }
20178 if s.OutputSerialization == nil {
20179 invalidParams.Add(request.NewErrParamRequired("OutputSerialization"))
20180 }
20181
20182 if invalidParams.Len() > 0 {
20183 return invalidParams
20184 }
20185 return nil
20186}
20187
20188// SetExpression sets the Expression field's value.
20189func (s *SelectParameters) SetExpression(v string) *SelectParameters {
20190 s.Expression = &v
20191 return s
20192}
20193
20194// SetExpressionType sets the ExpressionType field's value.
20195func (s *SelectParameters) SetExpressionType(v string) *SelectParameters {
20196 s.ExpressionType = &v
20197 return s
20198}
20199
20200// SetInputSerialization sets the InputSerialization field's value.
20201func (s *SelectParameters) SetInputSerialization(v *InputSerialization) *SelectParameters {
20202 s.InputSerialization = v
20203 return s
20204}
20205
20206// SetOutputSerialization sets the OutputSerialization field's value.
20207func (s *SelectParameters) SetOutputSerialization(v *OutputSerialization) *SelectParameters {
20208 s.OutputSerialization = v
20209 return s
20210}
20211
20212// Describes the default server-side encryption to apply to new objects in the
20213// bucket. If Put Object request does not specify any server-side encryption,
20214// this default encryption will be applied.
20215type ServerSideEncryptionByDefault struct {
20216 _ struct{} `type:"structure"`
20217
20218 // KMS master key ID to use for the default encryption. This parameter is allowed
20219 // if SSEAlgorithm is aws:kms.
20220 KMSMasterKeyID *string `type:"string"`
20221
20222 // Server-side encryption algorithm to use for the default encryption.
20223 //
20224 // SSEAlgorithm is a required field
20225 SSEAlgorithm *string `type:"string" required:"true" enum:"ServerSideEncryption"`
20226}
20227
20228// String returns the string representation
20229func (s ServerSideEncryptionByDefault) String() string {
20230 return awsutil.Prettify(s)
20231}
20232
20233// GoString returns the string representation
20234func (s ServerSideEncryptionByDefault) GoString() string {
20235 return s.String()
20236}
20237
20238// Validate inspects the fields of the type to determine if they are valid.
20239func (s *ServerSideEncryptionByDefault) Validate() error {
20240 invalidParams := request.ErrInvalidParams{Context: "ServerSideEncryptionByDefault"}
20241 if s.SSEAlgorithm == nil {
20242 invalidParams.Add(request.NewErrParamRequired("SSEAlgorithm"))
20243 }
20244
20245 if invalidParams.Len() > 0 {
20246 return invalidParams
20247 }
20248 return nil
20249}
20250
20251// SetKMSMasterKeyID sets the KMSMasterKeyID field's value.
20252func (s *ServerSideEncryptionByDefault) SetKMSMasterKeyID(v string) *ServerSideEncryptionByDefault {
20253 s.KMSMasterKeyID = &v
20254 return s
20255}
20256
20257// SetSSEAlgorithm sets the SSEAlgorithm field's value.
20258func (s *ServerSideEncryptionByDefault) SetSSEAlgorithm(v string) *ServerSideEncryptionByDefault {
20259 s.SSEAlgorithm = &v
20260 return s
20261}
20262
20263// Container for server-side encryption configuration rules. Currently S3 supports
20264// one rule only.
20265type ServerSideEncryptionConfiguration struct {
20266 _ struct{} `type:"structure"`
20267
20268 // Container for information about a particular server-side encryption configuration
20269 // rule.
20270 //
20271 // Rules is a required field
20272 Rules []*ServerSideEncryptionRule `locationName:"Rule" type:"list" flattened:"true" required:"true"`
20273}
20274
20275// String returns the string representation
20276func (s ServerSideEncryptionConfiguration) String() string {
20277 return awsutil.Prettify(s)
20278}
20279
20280// GoString returns the string representation
20281func (s ServerSideEncryptionConfiguration) GoString() string {
20282 return s.String()
20283}
20284
20285// Validate inspects the fields of the type to determine if they are valid.
20286func (s *ServerSideEncryptionConfiguration) Validate() error {
20287 invalidParams := request.ErrInvalidParams{Context: "ServerSideEncryptionConfiguration"}
20288 if s.Rules == nil {
20289 invalidParams.Add(request.NewErrParamRequired("Rules"))
20290 }
20291 if s.Rules != nil {
20292 for i, v := range s.Rules {
20293 if v == nil {
20294 continue
20295 }
20296 if err := v.Validate(); err != nil {
20297 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Rules", i), err.(request.ErrInvalidParams))
20298 }
20299 }
20300 }
20301
20302 if invalidParams.Len() > 0 {
20303 return invalidParams
20304 }
20305 return nil
20306}
20307
20308// SetRules sets the Rules field's value.
20309func (s *ServerSideEncryptionConfiguration) SetRules(v []*ServerSideEncryptionRule) *ServerSideEncryptionConfiguration {
20310 s.Rules = v
20311 return s
20312}
20313
20314// Container for information about a particular server-side encryption configuration
20315// rule.
20316type ServerSideEncryptionRule struct {
20317 _ struct{} `type:"structure"`
20318
20319 // Describes the default server-side encryption to apply to new objects in the
20320 // bucket. If Put Object request does not specify any server-side encryption,
20321 // this default encryption will be applied.
20322 ApplyServerSideEncryptionByDefault *ServerSideEncryptionByDefault `type:"structure"`
20323}
20324
20325// String returns the string representation
20326func (s ServerSideEncryptionRule) String() string {
20327 return awsutil.Prettify(s)
20328}
20329
20330// GoString returns the string representation
20331func (s ServerSideEncryptionRule) GoString() string {
20332 return s.String()
20333}
20334
20335// Validate inspects the fields of the type to determine if they are valid.
20336func (s *ServerSideEncryptionRule) Validate() error {
20337 invalidParams := request.ErrInvalidParams{Context: "ServerSideEncryptionRule"}
20338 if s.ApplyServerSideEncryptionByDefault != nil {
20339 if err := s.ApplyServerSideEncryptionByDefault.Validate(); err != nil {
20340 invalidParams.AddNested("ApplyServerSideEncryptionByDefault", err.(request.ErrInvalidParams))
20341 }
20342 }
20343
20344 if invalidParams.Len() > 0 {
20345 return invalidParams
20346 }
20347 return nil
20348}
20349
20350// SetApplyServerSideEncryptionByDefault sets the ApplyServerSideEncryptionByDefault field's value.
20351func (s *ServerSideEncryptionRule) SetApplyServerSideEncryptionByDefault(v *ServerSideEncryptionByDefault) *ServerSideEncryptionRule {
20352 s.ApplyServerSideEncryptionByDefault = v
20353 return s
20354}
20355
20356// Container for filters that define which source objects should be replicated.
20357type SourceSelectionCriteria struct {
20358 _ struct{} `type:"structure"`
20359
20360 // Container for filter information of selection of KMS Encrypted S3 objects.
20361 SseKmsEncryptedObjects *SseKmsEncryptedObjects `type:"structure"`
20362}
20363
20364// String returns the string representation
20365func (s SourceSelectionCriteria) String() string {
20366 return awsutil.Prettify(s)
20367}
20368
20369// GoString returns the string representation
20370func (s SourceSelectionCriteria) GoString() string {
20371 return s.String()
20372}
20373
20374// Validate inspects the fields of the type to determine if they are valid.
20375func (s *SourceSelectionCriteria) Validate() error {
20376 invalidParams := request.ErrInvalidParams{Context: "SourceSelectionCriteria"}
20377 if s.SseKmsEncryptedObjects != nil {
20378 if err := s.SseKmsEncryptedObjects.Validate(); err != nil {
20379 invalidParams.AddNested("SseKmsEncryptedObjects", err.(request.ErrInvalidParams))
20380 }
20381 }
20382
20383 if invalidParams.Len() > 0 {
20384 return invalidParams
20385 }
20386 return nil
20387}
20388
20389// SetSseKmsEncryptedObjects sets the SseKmsEncryptedObjects field's value.
20390func (s *SourceSelectionCriteria) SetSseKmsEncryptedObjects(v *SseKmsEncryptedObjects) *SourceSelectionCriteria {
20391 s.SseKmsEncryptedObjects = v
20392 return s
20393}
20394
20395// Container for filter information of selection of KMS Encrypted S3 objects.
20396type SseKmsEncryptedObjects struct {
20397 _ struct{} `type:"structure"`
20398
20399 // The replication for KMS encrypted S3 objects is disabled if status is not
20400 // Enabled.
20401 //
20402 // Status is a required field
20403 Status *string `type:"string" required:"true" enum:"SseKmsEncryptedObjectsStatus"`
20404}
20405
20406// String returns the string representation
20407func (s SseKmsEncryptedObjects) String() string {
20408 return awsutil.Prettify(s)
20409}
20410
20411// GoString returns the string representation
20412func (s SseKmsEncryptedObjects) GoString() string {
20413 return s.String()
20414}
20415
20416// Validate inspects the fields of the type to determine if they are valid.
20417func (s *SseKmsEncryptedObjects) Validate() error {
20418 invalidParams := request.ErrInvalidParams{Context: "SseKmsEncryptedObjects"}
20419 if s.Status == nil {
20420 invalidParams.Add(request.NewErrParamRequired("Status"))
20421 }
20422
20423 if invalidParams.Len() > 0 {
20424 return invalidParams
20425 }
20426 return nil
20427}
20428
20429// SetStatus sets the Status field's value.
20430func (s *SseKmsEncryptedObjects) SetStatus(v string) *SseKmsEncryptedObjects {
20431 s.Status = &v
20432 return s
20433}
20434
20435type Stats struct {
20436 _ struct{} `type:"structure"`
20437
20438 // Total number of uncompressed object bytes processed.
20439 BytesProcessed *int64 `type:"long"`
20440
20441 // Total number of bytes of records payload data returned.
20442 BytesReturned *int64 `type:"long"`
20443
20444 // Total number of object bytes scanned.
20445 BytesScanned *int64 `type:"long"`
20446}
20447
20448// String returns the string representation
20449func (s Stats) String() string {
20450 return awsutil.Prettify(s)
20451}
20452
20453// GoString returns the string representation
20454func (s Stats) GoString() string {
20455 return s.String()
20456}
20457
20458// SetBytesProcessed sets the BytesProcessed field's value.
20459func (s *Stats) SetBytesProcessed(v int64) *Stats {
20460 s.BytesProcessed = &v
20461 return s
20462}
20463
20464// SetBytesReturned sets the BytesReturned field's value.
20465func (s *Stats) SetBytesReturned(v int64) *Stats {
20466 s.BytesReturned = &v
20467 return s
20468}
20469
20470// SetBytesScanned sets the BytesScanned field's value.
20471func (s *Stats) SetBytesScanned(v int64) *Stats {
20472 s.BytesScanned = &v
20473 return s
20474}
20475
20476type StatsEvent struct {
20477 _ struct{} `locationName:"StatsEvent" type:"structure" payload:"Details"`
20478
20479 // The Stats event details.
20480 Details *Stats `locationName:"Details" type:"structure"`
20481}
20482
20483// String returns the string representation
20484func (s StatsEvent) String() string {
20485 return awsutil.Prettify(s)
20486}
20487
20488// GoString returns the string representation
20489func (s StatsEvent) GoString() string {
20490 return s.String()
20491}
20492
20493// SetDetails sets the Details field's value.
20494func (s *StatsEvent) SetDetails(v *Stats) *StatsEvent {
20495 s.Details = v
20496 return s
20497}
20498
20499// The StatsEvent is and event in the SelectObjectContentEventStream group of events.
20500func (s *StatsEvent) eventSelectObjectContentEventStream() {}
20501
20502// UnmarshalEvent unmarshals the EventStream Message into the StatsEvent value.
20503// This method is only used internally within the SDK's EventStream handling.
20504func (s *StatsEvent) UnmarshalEvent(
20505 payloadUnmarshaler protocol.PayloadUnmarshaler,
20506 msg eventstream.Message,
20507) error {
20508 if err := payloadUnmarshaler.UnmarshalPayload(
20509 bytes.NewReader(msg.Payload), s,
20510 ); err != nil {
20511 return err
20512 }
20513 return nil
20514}
20515
17804type StorageClassAnalysis struct { 20516type StorageClassAnalysis struct {
17805 _ struct{} `type:"structure"` 20517 _ struct{} `type:"structure"`
17806 20518
@@ -17840,7 +20552,6 @@ func (s *StorageClassAnalysis) SetDataExport(v *StorageClassAnalysisDataExport)
17840 return s 20552 return s
17841} 20553}
17842 20554
17843// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/StorageClassAnalysisDataExport
17844type StorageClassAnalysisDataExport struct { 20555type StorageClassAnalysisDataExport struct {
17845 _ struct{} `type:"structure"` 20556 _ struct{} `type:"structure"`
17846 20557
@@ -17898,7 +20609,6 @@ func (s *StorageClassAnalysisDataExport) SetOutputSchemaVersion(v string) *Stora
17898 return s 20609 return s
17899} 20610}
17900 20611
17901// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Tag
17902type Tag struct { 20612type Tag struct {
17903 _ struct{} `type:"structure"` 20613 _ struct{} `type:"structure"`
17904 20614
@@ -17954,7 +20664,6 @@ func (s *Tag) SetValue(v string) *Tag {
17954 return s 20664 return s
17955} 20665}
17956 20666
17957// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Tagging
17958type Tagging struct { 20667type Tagging struct {
17959 _ struct{} `type:"structure"` 20668 _ struct{} `type:"structure"`
17960 20669
@@ -18001,11 +20710,10 @@ func (s *Tagging) SetTagSet(v []*Tag) *Tagging {
18001 return s 20710 return s
18002} 20711}
18003 20712
18004// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/TargetGrant
18005type TargetGrant struct { 20713type TargetGrant struct {
18006 _ struct{} `type:"structure"` 20714 _ struct{} `type:"structure"`
18007 20715
18008 Grantee *Grantee `type:"structure"` 20716 Grantee *Grantee `type:"structure" xmlPrefix:"xsi" xmlURI:"http://www.w3.org/2001/XMLSchema-instance"`
18009 20717
18010 // Logging permissions assigned to the Grantee for the bucket. 20718 // Logging permissions assigned to the Grantee for the bucket.
18011 Permission *string `type:"string" enum:"BucketLogsPermission"` 20719 Permission *string `type:"string" enum:"BucketLogsPermission"`
@@ -18050,7 +20758,6 @@ func (s *TargetGrant) SetPermission(v string) *TargetGrant {
18050 20758
18051// Container for specifying the configuration when you want Amazon S3 to publish 20759// Container for specifying the configuration when you want Amazon S3 to publish
18052// events to an Amazon Simple Notification Service (Amazon SNS) topic. 20760// events to an Amazon Simple Notification Service (Amazon SNS) topic.
18053// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/TopicConfiguration
18054type TopicConfiguration struct { 20761type TopicConfiguration struct {
18055 _ struct{} `type:"structure"` 20762 _ struct{} `type:"structure"`
18056 20763
@@ -18059,6 +20766,7 @@ type TopicConfiguration struct {
18059 20766
18060 // Container for object key name filtering rules. For information about key 20767 // Container for object key name filtering rules. For information about key
18061 // name filtering, go to Configuring Event Notifications (http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html) 20768 // name filtering, go to Configuring Event Notifications (http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html)
20769 // in the Amazon Simple Storage Service Developer Guide.
18062 Filter *NotificationConfigurationFilter `type:"structure"` 20770 Filter *NotificationConfigurationFilter `type:"structure"`
18063 20771
18064 // Optional unique identifier for configurations in a notification configuration. 20772 // Optional unique identifier for configurations in a notification configuration.
@@ -18122,7 +20830,6 @@ func (s *TopicConfiguration) SetTopicArn(v string) *TopicConfiguration {
18122 return s 20830 return s
18123} 20831}
18124 20832
18125// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/TopicConfigurationDeprecated
18126type TopicConfigurationDeprecated struct { 20833type TopicConfigurationDeprecated struct {
18127 _ struct{} `type:"structure"` 20834 _ struct{} `type:"structure"`
18128 20835
@@ -18174,7 +20881,6 @@ func (s *TopicConfigurationDeprecated) SetTopic(v string) *TopicConfigurationDep
18174 return s 20881 return s
18175} 20882}
18176 20883
18177// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Transition
18178type Transition struct { 20884type Transition struct {
18179 _ struct{} `type:"structure"` 20885 _ struct{} `type:"structure"`
18180 20886
@@ -18218,7 +20924,6 @@ func (s *Transition) SetStorageClass(v string) *Transition {
18218 return s 20924 return s
18219} 20925}
18220 20926
18221// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartCopyRequest
18222type UploadPartCopyInput struct { 20927type UploadPartCopyInput struct {
18223 _ struct{} `type:"structure"` 20928 _ struct{} `type:"structure"`
18224 20929
@@ -18235,14 +20940,14 @@ type UploadPartCopyInput struct {
18235 CopySourceIfMatch *string `location:"header" locationName:"x-amz-copy-source-if-match" type:"string"` 20940 CopySourceIfMatch *string `location:"header" locationName:"x-amz-copy-source-if-match" type:"string"`
18236 20941
18237 // Copies the object if it has been modified since the specified time. 20942 // Copies the object if it has been modified since the specified time.
18238 CopySourceIfModifiedSince *time.Time `location:"header" locationName:"x-amz-copy-source-if-modified-since" type:"timestamp" timestampFormat:"rfc822"` 20943 CopySourceIfModifiedSince *time.Time `location:"header" locationName:"x-amz-copy-source-if-modified-since" type:"timestamp"`
18239 20944
18240 // Copies the object if its entity tag (ETag) is different than the specified 20945 // Copies the object if its entity tag (ETag) is different than the specified
18241 // ETag. 20946 // ETag.
18242 CopySourceIfNoneMatch *string `location:"header" locationName:"x-amz-copy-source-if-none-match" type:"string"` 20947 CopySourceIfNoneMatch *string `location:"header" locationName:"x-amz-copy-source-if-none-match" type:"string"`
18243 20948
18244 // Copies the object if it hasn't been modified since the specified time. 20949 // Copies the object if it hasn't been modified since the specified time.
18245 CopySourceIfUnmodifiedSince *time.Time `location:"header" locationName:"x-amz-copy-source-if-unmodified-since" type:"timestamp" timestampFormat:"rfc822"` 20950 CopySourceIfUnmodifiedSince *time.Time `location:"header" locationName:"x-amz-copy-source-if-unmodified-since" type:"timestamp"`
18246 20951
18247 // The range of bytes to copy from the source object. The range value must use 20952 // The range of bytes to copy from the source object. The range value must use
18248 // the form bytes=first-last, where the first and last are the zero-based byte 20953 // the form bytes=first-last, where the first and last are the zero-based byte
@@ -18345,6 +21050,13 @@ func (s *UploadPartCopyInput) SetBucket(v string) *UploadPartCopyInput {
18345 return s 21050 return s
18346} 21051}
18347 21052
21053func (s *UploadPartCopyInput) getBucket() (v string) {
21054 if s.Bucket == nil {
21055 return v
21056 }
21057 return *s.Bucket
21058}
21059
18348// SetCopySource sets the CopySource field's value. 21060// SetCopySource sets the CopySource field's value.
18349func (s *UploadPartCopyInput) SetCopySource(v string) *UploadPartCopyInput { 21061func (s *UploadPartCopyInput) SetCopySource(v string) *UploadPartCopyInput {
18350 s.CopySource = &v 21062 s.CopySource = &v
@@ -18393,6 +21105,13 @@ func (s *UploadPartCopyInput) SetCopySourceSSECustomerKey(v string) *UploadPartC
18393 return s 21105 return s
18394} 21106}
18395 21107
21108func (s *UploadPartCopyInput) getCopySourceSSECustomerKey() (v string) {
21109 if s.CopySourceSSECustomerKey == nil {
21110 return v
21111 }
21112 return *s.CopySourceSSECustomerKey
21113}
21114
18396// SetCopySourceSSECustomerKeyMD5 sets the CopySourceSSECustomerKeyMD5 field's value. 21115// SetCopySourceSSECustomerKeyMD5 sets the CopySourceSSECustomerKeyMD5 field's value.
18397func (s *UploadPartCopyInput) SetCopySourceSSECustomerKeyMD5(v string) *UploadPartCopyInput { 21116func (s *UploadPartCopyInput) SetCopySourceSSECustomerKeyMD5(v string) *UploadPartCopyInput {
18398 s.CopySourceSSECustomerKeyMD5 = &v 21117 s.CopySourceSSECustomerKeyMD5 = &v
@@ -18429,6 +21148,13 @@ func (s *UploadPartCopyInput) SetSSECustomerKey(v string) *UploadPartCopyInput {
18429 return s 21148 return s
18430} 21149}
18431 21150
21151func (s *UploadPartCopyInput) getSSECustomerKey() (v string) {
21152 if s.SSECustomerKey == nil {
21153 return v
21154 }
21155 return *s.SSECustomerKey
21156}
21157
18432// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value. 21158// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value.
18433func (s *UploadPartCopyInput) SetSSECustomerKeyMD5(v string) *UploadPartCopyInput { 21159func (s *UploadPartCopyInput) SetSSECustomerKeyMD5(v string) *UploadPartCopyInput {
18434 s.SSECustomerKeyMD5 = &v 21160 s.SSECustomerKeyMD5 = &v
@@ -18441,7 +21167,6 @@ func (s *UploadPartCopyInput) SetUploadId(v string) *UploadPartCopyInput {
18441 return s 21167 return s
18442} 21168}
18443 21169
18444// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartCopyOutput
18445type UploadPartCopyOutput struct { 21170type UploadPartCopyOutput struct {
18446 _ struct{} `type:"structure" payload:"CopyPartResult"` 21171 _ struct{} `type:"structure" payload:"CopyPartResult"`
18447 21172
@@ -18526,7 +21251,6 @@ func (s *UploadPartCopyOutput) SetServerSideEncryption(v string) *UploadPartCopy
18526 return s 21251 return s
18527} 21252}
18528 21253
18529// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartRequest
18530type UploadPartInput struct { 21254type UploadPartInput struct {
18531 _ struct{} `type:"structure" payload:"Body"` 21255 _ struct{} `type:"structure" payload:"Body"`
18532 21256
@@ -18542,6 +21266,9 @@ type UploadPartInput struct {
18542 // body cannot be determined automatically. 21266 // body cannot be determined automatically.
18543 ContentLength *int64 `location:"header" locationName:"Content-Length" type:"long"` 21267 ContentLength *int64 `location:"header" locationName:"Content-Length" type:"long"`
18544 21268
21269 // The base64-encoded 128-bit MD5 digest of the part data.
21270 ContentMD5 *string `location:"header" locationName:"Content-MD5" type:"string"`
21271
18545 // Object key for which the multipart upload was initiated. 21272 // Object key for which the multipart upload was initiated.
18546 // 21273 //
18547 // Key is a required field 21274 // Key is a required field
@@ -18628,12 +21355,25 @@ func (s *UploadPartInput) SetBucket(v string) *UploadPartInput {
18628 return s 21355 return s
18629} 21356}
18630 21357
21358func (s *UploadPartInput) getBucket() (v string) {
21359 if s.Bucket == nil {
21360 return v
21361 }
21362 return *s.Bucket
21363}
21364
18631// SetContentLength sets the ContentLength field's value. 21365// SetContentLength sets the ContentLength field's value.
18632func (s *UploadPartInput) SetContentLength(v int64) *UploadPartInput { 21366func (s *UploadPartInput) SetContentLength(v int64) *UploadPartInput {
18633 s.ContentLength = &v 21367 s.ContentLength = &v
18634 return s 21368 return s
18635} 21369}
18636 21370
21371// SetContentMD5 sets the ContentMD5 field's value.
21372func (s *UploadPartInput) SetContentMD5(v string) *UploadPartInput {
21373 s.ContentMD5 = &v
21374 return s
21375}
21376
18637// SetKey sets the Key field's value. 21377// SetKey sets the Key field's value.
18638func (s *UploadPartInput) SetKey(v string) *UploadPartInput { 21378func (s *UploadPartInput) SetKey(v string) *UploadPartInput {
18639 s.Key = &v 21379 s.Key = &v
@@ -18664,6 +21404,13 @@ func (s *UploadPartInput) SetSSECustomerKey(v string) *UploadPartInput {
18664 return s 21404 return s
18665} 21405}
18666 21406
21407func (s *UploadPartInput) getSSECustomerKey() (v string) {
21408 if s.SSECustomerKey == nil {
21409 return v
21410 }
21411 return *s.SSECustomerKey
21412}
21413
18667// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value. 21414// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value.
18668func (s *UploadPartInput) SetSSECustomerKeyMD5(v string) *UploadPartInput { 21415func (s *UploadPartInput) SetSSECustomerKeyMD5(v string) *UploadPartInput {
18669 s.SSECustomerKeyMD5 = &v 21416 s.SSECustomerKeyMD5 = &v
@@ -18676,7 +21423,6 @@ func (s *UploadPartInput) SetUploadId(v string) *UploadPartInput {
18676 return s 21423 return s
18677} 21424}
18678 21425
18679// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartOutput
18680type UploadPartOutput struct { 21426type UploadPartOutput struct {
18681 _ struct{} `type:"structure"` 21427 _ struct{} `type:"structure"`
18682 21428
@@ -18752,7 +21498,6 @@ func (s *UploadPartOutput) SetServerSideEncryption(v string) *UploadPartOutput {
18752 return s 21498 return s
18753} 21499}
18754 21500
18755// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/VersioningConfiguration
18756type VersioningConfiguration struct { 21501type VersioningConfiguration struct {
18757 _ struct{} `type:"structure"` 21502 _ struct{} `type:"structure"`
18758 21503
@@ -18787,7 +21532,6 @@ func (s *VersioningConfiguration) SetStatus(v string) *VersioningConfiguration {
18787 return s 21532 return s
18788} 21533}
18789 21534
18790// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/WebsiteConfiguration
18791type WebsiteConfiguration struct { 21535type WebsiteConfiguration struct {
18792 _ struct{} `type:"structure"` 21536 _ struct{} `type:"structure"`
18793 21537
@@ -18950,6 +21694,17 @@ const (
18950 BucketVersioningStatusSuspended = "Suspended" 21694 BucketVersioningStatusSuspended = "Suspended"
18951) 21695)
18952 21696
21697const (
21698 // CompressionTypeNone is a CompressionType enum value
21699 CompressionTypeNone = "NONE"
21700
21701 // CompressionTypeGzip is a CompressionType enum value
21702 CompressionTypeGzip = "GZIP"
21703
21704 // CompressionTypeBzip2 is a CompressionType enum value
21705 CompressionTypeBzip2 = "BZIP2"
21706)
21707
18953// Requests Amazon S3 to encode the object keys in the response and specifies 21708// Requests Amazon S3 to encode the object keys in the response and specifies
18954// the encoding method to use. An object key may contain any Unicode character; 21709// the encoding method to use. An object key may contain any Unicode character;
18955// however, XML 1.0 parser cannot parse some characters, such as characters 21710// however, XML 1.0 parser cannot parse some characters, such as characters
@@ -19000,6 +21755,22 @@ const (
19000) 21755)
19001 21756
19002const ( 21757const (
21758 // ExpressionTypeSql is a ExpressionType enum value
21759 ExpressionTypeSql = "SQL"
21760)
21761
21762const (
21763 // FileHeaderInfoUse is a FileHeaderInfo enum value
21764 FileHeaderInfoUse = "USE"
21765
21766 // FileHeaderInfoIgnore is a FileHeaderInfo enum value
21767 FileHeaderInfoIgnore = "IGNORE"
21768
21769 // FileHeaderInfoNone is a FileHeaderInfo enum value
21770 FileHeaderInfoNone = "NONE"
21771)
21772
21773const (
19003 // FilterRuleNamePrefix is a FilterRuleName enum value 21774 // FilterRuleNamePrefix is a FilterRuleName enum value
19004 FilterRuleNamePrefix = "prefix" 21775 FilterRuleNamePrefix = "prefix"
19005 21776
@@ -19010,6 +21781,9 @@ const (
19010const ( 21781const (
19011 // InventoryFormatCsv is a InventoryFormat enum value 21782 // InventoryFormatCsv is a InventoryFormat enum value
19012 InventoryFormatCsv = "CSV" 21783 InventoryFormatCsv = "CSV"
21784
21785 // InventoryFormatOrc is a InventoryFormat enum value
21786 InventoryFormatOrc = "ORC"
19013) 21787)
19014 21788
19015const ( 21789const (
@@ -19046,6 +21820,17 @@ const (
19046 21820
19047 // InventoryOptionalFieldReplicationStatus is a InventoryOptionalField enum value 21821 // InventoryOptionalFieldReplicationStatus is a InventoryOptionalField enum value
19048 InventoryOptionalFieldReplicationStatus = "ReplicationStatus" 21822 InventoryOptionalFieldReplicationStatus = "ReplicationStatus"
21823
21824 // InventoryOptionalFieldEncryptionStatus is a InventoryOptionalField enum value
21825 InventoryOptionalFieldEncryptionStatus = "EncryptionStatus"
21826)
21827
21828const (
21829 // JSONTypeDocument is a JSONType enum value
21830 JSONTypeDocument = "DOCUMENT"
21831
21832 // JSONTypeLines is a JSONType enum value
21833 JSONTypeLines = "LINES"
19049) 21834)
19050 21835
19051const ( 21836const (
@@ -19104,6 +21889,12 @@ const (
19104 21889
19105 // ObjectStorageClassGlacier is a ObjectStorageClass enum value 21890 // ObjectStorageClassGlacier is a ObjectStorageClass enum value
19106 ObjectStorageClassGlacier = "GLACIER" 21891 ObjectStorageClassGlacier = "GLACIER"
21892
21893 // ObjectStorageClassStandardIa is a ObjectStorageClass enum value
21894 ObjectStorageClassStandardIa = "STANDARD_IA"
21895
21896 // ObjectStorageClassOnezoneIa is a ObjectStorageClass enum value
21897 ObjectStorageClassOnezoneIa = "ONEZONE_IA"
19107) 21898)
19108 21899
19109const ( 21900const (
@@ -19112,6 +21903,11 @@ const (
19112) 21903)
19113 21904
19114const ( 21905const (
21906 // OwnerOverrideDestination is a OwnerOverride enum value
21907 OwnerOverrideDestination = "Destination"
21908)
21909
21910const (
19115 // PayerRequester is a Payer enum value 21911 // PayerRequester is a Payer enum value
19116 PayerRequester = "Requester" 21912 PayerRequester = "Requester"
19117 21913
@@ -19145,6 +21941,14 @@ const (
19145) 21941)
19146 21942
19147const ( 21943const (
21944 // QuoteFieldsAlways is a QuoteFields enum value
21945 QuoteFieldsAlways = "ALWAYS"
21946
21947 // QuoteFieldsAsneeded is a QuoteFields enum value
21948 QuoteFieldsAsneeded = "ASNEEDED"
21949)
21950
21951const (
19148 // ReplicationRuleStatusEnabled is a ReplicationRuleStatus enum value 21952 // ReplicationRuleStatusEnabled is a ReplicationRuleStatus enum value
19149 ReplicationRuleStatusEnabled = "Enabled" 21953 ReplicationRuleStatusEnabled = "Enabled"
19150 21954
@@ -19183,6 +21987,11 @@ const (
19183) 21987)
19184 21988
19185const ( 21989const (
21990 // RestoreRequestTypeSelect is a RestoreRequestType enum value
21991 RestoreRequestTypeSelect = "SELECT"
21992)
21993
21994const (
19186 // ServerSideEncryptionAes256 is a ServerSideEncryption enum value 21995 // ServerSideEncryptionAes256 is a ServerSideEncryption enum value
19187 ServerSideEncryptionAes256 = "AES256" 21996 ServerSideEncryptionAes256 = "AES256"
19188 21997
@@ -19191,6 +22000,14 @@ const (
19191) 22000)
19192 22001
19193const ( 22002const (
22003 // SseKmsEncryptedObjectsStatusEnabled is a SseKmsEncryptedObjectsStatus enum value
22004 SseKmsEncryptedObjectsStatusEnabled = "Enabled"
22005
22006 // SseKmsEncryptedObjectsStatusDisabled is a SseKmsEncryptedObjectsStatus enum value
22007 SseKmsEncryptedObjectsStatusDisabled = "Disabled"
22008)
22009
22010const (
19194 // StorageClassStandard is a StorageClass enum value 22011 // StorageClassStandard is a StorageClass enum value
19195 StorageClassStandard = "STANDARD" 22012 StorageClassStandard = "STANDARD"
19196 22013
@@ -19199,6 +22016,9 @@ const (
19199 22016
19200 // StorageClassStandardIa is a StorageClass enum value 22017 // StorageClassStandardIa is a StorageClass enum value
19201 StorageClassStandardIa = "STANDARD_IA" 22018 StorageClassStandardIa = "STANDARD_IA"
22019
22020 // StorageClassOnezoneIa is a StorageClass enum value
22021 StorageClassOnezoneIa = "ONEZONE_IA"
19202) 22022)
19203 22023
19204const ( 22024const (
@@ -19231,6 +22051,9 @@ const (
19231 22051
19232 // TransitionStorageClassStandardIa is a TransitionStorageClass enum value 22052 // TransitionStorageClassStandardIa is a TransitionStorageClass enum value
19233 TransitionStorageClassStandardIa = "STANDARD_IA" 22053 TransitionStorageClassStandardIa = "STANDARD_IA"
22054
22055 // TransitionStorageClassOnezoneIa is a TransitionStorageClass enum value
22056 TransitionStorageClassOnezoneIa = "ONEZONE_IA"
19234) 22057)
19235 22058
19236const ( 22059const (
diff --git a/vendor/github.com/aws/aws-sdk-go/service/s3/body_hash.go b/vendor/github.com/aws/aws-sdk-go/service/s3/body_hash.go
new file mode 100644
index 0000000..5c8ce5c
--- /dev/null
+++ b/vendor/github.com/aws/aws-sdk-go/service/s3/body_hash.go
@@ -0,0 +1,249 @@
1package s3
2
3import (
4 "bytes"
5 "crypto/md5"
6 "crypto/sha256"
7 "encoding/base64"
8 "encoding/hex"
9 "fmt"
10 "hash"
11 "io"
12
13 "github.com/aws/aws-sdk-go/aws"
14 "github.com/aws/aws-sdk-go/aws/awserr"
15 "github.com/aws/aws-sdk-go/aws/request"
16 "github.com/aws/aws-sdk-go/internal/sdkio"
17)
18
19const (
20 contentMD5Header = "Content-Md5"
21 contentSha256Header = "X-Amz-Content-Sha256"
22 amzTeHeader = "X-Amz-Te"
23 amzTxEncodingHeader = "X-Amz-Transfer-Encoding"
24
25 appendMD5TxEncoding = "append-md5"
26)
27
28// contentMD5 computes and sets the HTTP Content-MD5 header for requests that
29// require it.
30func contentMD5(r *request.Request) {
31 h := md5.New()
32
33 if !aws.IsReaderSeekable(r.Body) {
34 if r.Config.Logger != nil {
35 r.Config.Logger.Log(fmt.Sprintf(
36 "Unable to compute Content-MD5 for unseekable body, S3.%s",
37 r.Operation.Name))
38 }
39 return
40 }
41
42 if _, err := copySeekableBody(h, r.Body); err != nil {
43 r.Error = awserr.New("ContentMD5", "failed to compute body MD5", err)
44 return
45 }
46
47 // encode the md5 checksum in base64 and set the request header.
48 v := base64.StdEncoding.EncodeToString(h.Sum(nil))
49 r.HTTPRequest.Header.Set(contentMD5Header, v)
50}
51
52// computeBodyHashes will add Content MD5 and Content Sha256 hashes to the
53// request. If the body is not seekable or S3DisableContentMD5Validation set
54// this handler will be ignored.
55func computeBodyHashes(r *request.Request) {
56 if aws.BoolValue(r.Config.S3DisableContentMD5Validation) {
57 return
58 }
59 if r.IsPresigned() {
60 return
61 }
62 if r.Error != nil || !aws.IsReaderSeekable(r.Body) {
63 return
64 }
65
66 var md5Hash, sha256Hash hash.Hash
67 hashers := make([]io.Writer, 0, 2)
68
69 // Determine upfront which hashes can be set without overriding user
70 // provide header data.
71 if v := r.HTTPRequest.Header.Get(contentMD5Header); len(v) == 0 {
72 md5Hash = md5.New()
73 hashers = append(hashers, md5Hash)
74 }
75
76 if v := r.HTTPRequest.Header.Get(contentSha256Header); len(v) == 0 {
77 sha256Hash = sha256.New()
78 hashers = append(hashers, sha256Hash)
79 }
80
81 // Create the destination writer based on the hashes that are not already
82 // provided by the user.
83 var dst io.Writer
84 switch len(hashers) {
85 case 0:
86 return
87 case 1:
88 dst = hashers[0]
89 default:
90 dst = io.MultiWriter(hashers...)
91 }
92
93 if _, err := copySeekableBody(dst, r.Body); err != nil {
94 r.Error = awserr.New("BodyHashError", "failed to compute body hashes", err)
95 return
96 }
97
98 // For the hashes created, set the associated headers that the user did not
99 // already provide.
100 if md5Hash != nil {
101 sum := make([]byte, md5.Size)
102 encoded := make([]byte, md5Base64EncLen)
103
104 base64.StdEncoding.Encode(encoded, md5Hash.Sum(sum[0:0]))
105 r.HTTPRequest.Header[contentMD5Header] = []string{string(encoded)}
106 }
107
108 if sha256Hash != nil {
109 encoded := make([]byte, sha256HexEncLen)
110 sum := make([]byte, sha256.Size)
111
112 hex.Encode(encoded, sha256Hash.Sum(sum[0:0]))
113 r.HTTPRequest.Header[contentSha256Header] = []string{string(encoded)}
114 }
115}
116
117const (
118 md5Base64EncLen = (md5.Size + 2) / 3 * 4 // base64.StdEncoding.EncodedLen
119 sha256HexEncLen = sha256.Size * 2 // hex.EncodedLen
120)
121
122func copySeekableBody(dst io.Writer, src io.ReadSeeker) (int64, error) {
123 curPos, err := src.Seek(0, sdkio.SeekCurrent)
124 if err != nil {
125 return 0, err
126 }
127
128 // hash the body. seek back to the first position after reading to reset
129 // the body for transmission. copy errors may be assumed to be from the
130 // body.
131 n, err := io.Copy(dst, src)
132 if err != nil {
133 return n, err
134 }
135
136 _, err = src.Seek(curPos, sdkio.SeekStart)
137 if err != nil {
138 return n, err
139 }
140
141 return n, nil
142}
143
144// Adds the x-amz-te: append_md5 header to the request. This requests the service
145// responds with a trailing MD5 checksum.
146//
147// Will not ask for append MD5 if disabled, the request is presigned or,
148// or the API operation does not support content MD5 validation.
149func askForTxEncodingAppendMD5(r *request.Request) {
150 if aws.BoolValue(r.Config.S3DisableContentMD5Validation) {
151 return
152 }
153 if r.IsPresigned() {
154 return
155 }
156 r.HTTPRequest.Header.Set(amzTeHeader, appendMD5TxEncoding)
157}
158
159func useMD5ValidationReader(r *request.Request) {
160 if r.Error != nil {
161 return
162 }
163
164 if v := r.HTTPResponse.Header.Get(amzTxEncodingHeader); v != appendMD5TxEncoding {
165 return
166 }
167
168 var bodyReader *io.ReadCloser
169 var contentLen int64
170 switch tv := r.Data.(type) {
171 case *GetObjectOutput:
172 bodyReader = &tv.Body
173 contentLen = aws.Int64Value(tv.ContentLength)
174 // Update ContentLength hiden the trailing MD5 checksum.
175 tv.ContentLength = aws.Int64(contentLen - md5.Size)
176 tv.ContentRange = aws.String(r.HTTPResponse.Header.Get("X-Amz-Content-Range"))
177 default:
178 r.Error = awserr.New("ChecksumValidationError",
179 fmt.Sprintf("%s: %s header received on unsupported API, %s",
180 amzTxEncodingHeader, appendMD5TxEncoding, r.Operation.Name,
181 ), nil)
182 return
183 }
184
185 if contentLen < md5.Size {
186 r.Error = awserr.New("ChecksumValidationError",
187 fmt.Sprintf("invalid Content-Length %d for %s %s",
188 contentLen, appendMD5TxEncoding, amzTxEncodingHeader,
189 ), nil)
190 return
191 }
192
193 // Wrap and swap the response body reader with the validation reader.
194 *bodyReader = newMD5ValidationReader(*bodyReader, contentLen-md5.Size)
195}
196
197type md5ValidationReader struct {
198 rawReader io.ReadCloser
199 payload io.Reader
200 hash hash.Hash
201
202 payloadLen int64
203 read int64
204}
205
206func newMD5ValidationReader(reader io.ReadCloser, payloadLen int64) *md5ValidationReader {
207 h := md5.New()
208 return &md5ValidationReader{
209 rawReader: reader,
210 payload: io.TeeReader(&io.LimitedReader{R: reader, N: payloadLen}, h),
211 hash: h,
212 payloadLen: payloadLen,
213 }
214}
215
216func (v *md5ValidationReader) Read(p []byte) (n int, err error) {
217 n, err = v.payload.Read(p)
218 if err != nil && err != io.EOF {
219 return n, err
220 }
221
222 v.read += int64(n)
223
224 if err == io.EOF {
225 if v.read != v.payloadLen {
226 return n, io.ErrUnexpectedEOF
227 }
228 expectSum := make([]byte, md5.Size)
229 actualSum := make([]byte, md5.Size)
230 if _, sumReadErr := io.ReadFull(v.rawReader, expectSum); sumReadErr != nil {
231 return n, sumReadErr
232 }
233 actualSum = v.hash.Sum(actualSum[0:0])
234 if !bytes.Equal(expectSum, actualSum) {
235 return n, awserr.New("InvalidChecksum",
236 fmt.Sprintf("expected MD5 checksum %s, got %s",
237 hex.EncodeToString(expectSum),
238 hex.EncodeToString(actualSum),
239 ),
240 nil)
241 }
242 }
243
244 return n, err
245}
246
247func (v *md5ValidationReader) Close() error {
248 return v.rawReader.Close()
249}
diff --git a/vendor/github.com/aws/aws-sdk-go/service/s3/content_md5.go b/vendor/github.com/aws/aws-sdk-go/service/s3/content_md5.go
deleted file mode 100644
index 9fc5df9..0000000
--- a/vendor/github.com/aws/aws-sdk-go/service/s3/content_md5.go
+++ /dev/null
@@ -1,36 +0,0 @@
1package s3
2
3import (
4 "crypto/md5"
5 "encoding/base64"
6 "io"
7
8 "github.com/aws/aws-sdk-go/aws/awserr"
9 "github.com/aws/aws-sdk-go/aws/request"
10)
11
12// contentMD5 computes and sets the HTTP Content-MD5 header for requests that
13// require it.
14func contentMD5(r *request.Request) {
15 h := md5.New()
16
17 // hash the body. seek back to the first position after reading to reset
18 // the body for transmission. copy errors may be assumed to be from the
19 // body.
20 _, err := io.Copy(h, r.Body)
21 if err != nil {
22 r.Error = awserr.New("ContentMD5", "failed to read body", err)
23 return
24 }
25 _, err = r.Body.Seek(0, 0)
26 if err != nil {
27 r.Error = awserr.New("ContentMD5", "failed to seek body", err)
28 return
29 }
30
31 // encode the md5 checksum in base64 and set the request header.
32 sum := h.Sum(nil)
33 sum64 := make([]byte, base64.StdEncoding.EncodedLen(len(sum)))
34 base64.StdEncoding.Encode(sum64, sum)
35 r.HTTPRequest.Header.Set("Content-MD5", string(sum64))
36}
diff --git a/vendor/github.com/aws/aws-sdk-go/service/s3/customizations.go b/vendor/github.com/aws/aws-sdk-go/service/s3/customizations.go
index 8463347..a55beab 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/s3/customizations.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/s3/customizations.go
@@ -42,5 +42,29 @@ func defaultInitRequestFn(r *request.Request) {
42 r.Handlers.Validate.PushFront(populateLocationConstraint) 42 r.Handlers.Validate.PushFront(populateLocationConstraint)
43 case opCopyObject, opUploadPartCopy, opCompleteMultipartUpload: 43 case opCopyObject, opUploadPartCopy, opCompleteMultipartUpload:
44 r.Handlers.Unmarshal.PushFront(copyMultipartStatusOKUnmarhsalError) 44 r.Handlers.Unmarshal.PushFront(copyMultipartStatusOKUnmarhsalError)
45 case opPutObject, opUploadPart:
46 r.Handlers.Build.PushBack(computeBodyHashes)
47 // Disabled until #1837 root issue is resolved.
48 // case opGetObject:
49 // r.Handlers.Build.PushBack(askForTxEncodingAppendMD5)
50 // r.Handlers.Unmarshal.PushBack(useMD5ValidationReader)
45 } 51 }
46} 52}
53
54// bucketGetter is an accessor interface to grab the "Bucket" field from
55// an S3 type.
56type bucketGetter interface {
57 getBucket() string
58}
59
60// sseCustomerKeyGetter is an accessor interface to grab the "SSECustomerKey"
61// field from an S3 type.
62type sseCustomerKeyGetter interface {
63 getSSECustomerKey() string
64}
65
66// copySourceSSECustomerKeyGetter is an accessor interface to grab the
67// "CopySourceSSECustomerKey" field from an S3 type.
68type copySourceSSECustomerKeyGetter interface {
69 getCopySourceSSECustomerKey() string
70}
diff --git a/vendor/github.com/aws/aws-sdk-go/service/s3/doc.go b/vendor/github.com/aws/aws-sdk-go/service/s3/doc.go
index f045fd0..0def022 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/s3/doc.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/s3/doc.go
@@ -10,69 +10,17 @@
10// 10//
11// Using the Client 11// Using the Client
12// 12//
13// To use the client for Amazon Simple Storage Service you will first need 13// To contact Amazon Simple Storage Service with the SDK use the New function to create
14// to create a new instance of it. 14// a new service client. With that client you can make API requests to the service.
15// These clients are safe to use concurrently.
15// 16//
16// When creating a client for an AWS service you'll first need to have a Session 17// See the SDK's documentation for more information on how to use the SDK.
17// already created. The Session provides configuration that can be shared
18// between multiple service clients. Additional configuration can be applied to
19// the Session and service's client when they are constructed. The aws package's
20// Config type contains several fields such as Region for the AWS Region the
21// client should make API requests too. The optional Config value can be provided
22// as the variadic argument for Sessions and client creation.
23//
24// Once the service's client is created you can use it to make API requests the
25// AWS service. These clients are safe to use concurrently.
26//
27// // Create a session to share configuration, and load external configuration.
28// sess := session.Must(session.NewSession())
29//
30// // Create the service's client with the session.
31// svc := s3.New(sess)
32//
33// See the SDK's documentation for more information on how to use service clients.
34// https://docs.aws.amazon.com/sdk-for-go/api/ 18// https://docs.aws.amazon.com/sdk-for-go/api/
35// 19//
36// See aws package's Config type for more information on configuration options. 20// See aws.Config documentation for more information on configuring SDK clients.
37// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config 21// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
38// 22//
39// See the Amazon Simple Storage Service client S3 for more 23// See the Amazon Simple Storage Service client S3 for more
40// information on creating the service's client. 24// information on creating client for this service.
41// https://docs.aws.amazon.com/sdk-for-go/api/service/s3/#New 25// https://docs.aws.amazon.com/sdk-for-go/api/service/s3/#New
42//
43// Once the client is created you can make an API request to the service.
44// Each API method takes a input parameter, and returns the service response
45// and an error.
46//
47// The API method will document which error codes the service can be returned
48// by the operation if the service models the API operation's errors. These
49// errors will also be available as const strings prefixed with "ErrCode".
50//
51// result, err := svc.AbortMultipartUpload(params)
52// if err != nil {
53// // Cast err to awserr.Error to handle specific error codes.
54// aerr, ok := err.(awserr.Error)
55// if ok && aerr.Code() == <error code to check for> {
56// // Specific error code handling
57// }
58// return err
59// }
60//
61// fmt.Println("AbortMultipartUpload result:")
62// fmt.Println(result)
63//
64// Using the Client with Context
65//
66// The service's client also provides methods to make API requests with a Context
67// value. This allows you to control the timeout, and cancellation of pending
68// requests. These methods also take request Option as variadic parameter to apply
69// additional configuration to the API request.
70//
71// ctx := context.Background()
72//
73// result, err := svc.AbortMultipartUploadWithContext(ctx, params)
74//
75// See the request package documentation for more information on using Context pattern
76// with the SDK.
77// https://docs.aws.amazon.com/sdk-for-go/api/aws/request/
78package s3 26package s3
diff --git a/vendor/github.com/aws/aws-sdk-go/service/s3/doc_custom.go b/vendor/github.com/aws/aws-sdk-go/service/s3/doc_custom.go
index b794a63..39b912c 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/s3/doc_custom.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/s3/doc_custom.go
@@ -35,7 +35,7 @@
35// 35//
36// The s3manager package's Downloader provides concurrently downloading of Objects 36// The s3manager package's Downloader provides concurrently downloading of Objects
37// from S3. The Downloader will write S3 Object content with an io.WriterAt. 37// from S3. The Downloader will write S3 Object content with an io.WriterAt.
38// Once the Downloader instance is created you can call Upload concurrently from 38// Once the Downloader instance is created you can call Download concurrently from
39// multiple goroutines safely. 39// multiple goroutines safely.
40// 40//
41// // The session the S3 Downloader will use 41// // The session the S3 Downloader will use
@@ -56,7 +56,7 @@
56// Key: aws.String(myString), 56// Key: aws.String(myString),
57// }) 57// })
58// if err != nil { 58// if err != nil {
59// return fmt.Errorf("failed to upload file, %v", err) 59// return fmt.Errorf("failed to download file, %v", err)
60// } 60// }
61// fmt.Printf("file downloaded, %d bytes\n", n) 61// fmt.Printf("file downloaded, %d bytes\n", n)
62// 62//
diff --git a/vendor/github.com/aws/aws-sdk-go/service/s3/host_style_bucket.go b/vendor/github.com/aws/aws-sdk-go/service/s3/host_style_bucket.go
index ec3ffe4..a7fbc2d 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/s3/host_style_bucket.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/s3/host_style_bucket.go
@@ -8,7 +8,6 @@ import (
8 8
9 "github.com/aws/aws-sdk-go/aws" 9 "github.com/aws/aws-sdk-go/aws"
10 "github.com/aws/aws-sdk-go/aws/awserr" 10 "github.com/aws/aws-sdk-go/aws/awserr"
11 "github.com/aws/aws-sdk-go/aws/awsutil"
12 "github.com/aws/aws-sdk-go/aws/request" 11 "github.com/aws/aws-sdk-go/aws/request"
13) 12)
14 13
@@ -113,15 +112,9 @@ func updateEndpointForAccelerate(r *request.Request) {
113// Attempts to retrieve the bucket name from the request input parameters. 112// Attempts to retrieve the bucket name from the request input parameters.
114// If no bucket is found, or the field is empty "", false will be returned. 113// If no bucket is found, or the field is empty "", false will be returned.
115func bucketNameFromReqParams(params interface{}) (string, bool) { 114func bucketNameFromReqParams(params interface{}) (string, bool) {
116 b, _ := awsutil.ValuesAtPath(params, "Bucket") 115 if iface, ok := params.(bucketGetter); ok {
117 if len(b) == 0 { 116 b := iface.getBucket()
118 return "", false 117 return b, len(b) > 0
119 }
120
121 if bucket, ok := b[0].(*string); ok {
122 if bucketStr := aws.StringValue(bucket); bucketStr != "" {
123 return bucketStr, true
124 }
125 } 118 }
126 119
127 return "", false 120 return "", false
diff --git a/vendor/github.com/aws/aws-sdk-go/service/s3/service.go b/vendor/github.com/aws/aws-sdk-go/service/s3/service.go
index 614e477..20de53f 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/s3/service.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/s3/service.go
@@ -29,8 +29,9 @@ var initRequest func(*request.Request)
29 29
30// Service information constants 30// Service information constants
31const ( 31const (
32 ServiceName = "s3" // Service endpoint prefix API calls made to. 32 ServiceName = "s3" // Name of service.
33 EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata. 33 EndpointsID = ServiceName // ID to lookup a service endpoint with.
34 ServiceID = "S3" // ServiceID is a unique identifer of a specific service.
34) 35)
35 36
36// New creates a new instance of the S3 client with a session. 37// New creates a new instance of the S3 client with a session.
@@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
55 cfg, 56 cfg,
56 metadata.ClientInfo{ 57 metadata.ClientInfo{
57 ServiceName: ServiceName, 58 ServiceName: ServiceName,
59 ServiceID: ServiceID,
58 SigningName: signingName, 60 SigningName: signingName,
59 SigningRegion: signingRegion, 61 SigningRegion: signingRegion,
60 Endpoint: endpoint, 62 Endpoint: endpoint,
@@ -71,6 +73,8 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
71 svc.Handlers.UnmarshalMeta.PushBackNamed(restxml.UnmarshalMetaHandler) 73 svc.Handlers.UnmarshalMeta.PushBackNamed(restxml.UnmarshalMetaHandler)
72 svc.Handlers.UnmarshalError.PushBackNamed(restxml.UnmarshalErrorHandler) 74 svc.Handlers.UnmarshalError.PushBackNamed(restxml.UnmarshalErrorHandler)
73 75
76 svc.Handlers.UnmarshalStream.PushBackNamed(restxml.UnmarshalHandler)
77
74 // Run custom client initialization if present 78 // Run custom client initialization if present
75 if initClient != nil { 79 if initClient != nil {
76 initClient(svc.Client) 80 initClient(svc.Client)
diff --git a/vendor/github.com/aws/aws-sdk-go/service/s3/sse.go b/vendor/github.com/aws/aws-sdk-go/service/s3/sse.go
index 268ea2f..8010c4f 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/s3/sse.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/s3/sse.go
@@ -5,17 +5,27 @@ import (
5 "encoding/base64" 5 "encoding/base64"
6 6
7 "github.com/aws/aws-sdk-go/aws/awserr" 7 "github.com/aws/aws-sdk-go/aws/awserr"
8 "github.com/aws/aws-sdk-go/aws/awsutil"
9 "github.com/aws/aws-sdk-go/aws/request" 8 "github.com/aws/aws-sdk-go/aws/request"
10) 9)
11 10
12var errSSERequiresSSL = awserr.New("ConfigError", "cannot send SSE keys over HTTP.", nil) 11var errSSERequiresSSL = awserr.New("ConfigError", "cannot send SSE keys over HTTP.", nil)
13 12
14func validateSSERequiresSSL(r *request.Request) { 13func validateSSERequiresSSL(r *request.Request) {
15 if r.HTTPRequest.URL.Scheme != "https" { 14 if r.HTTPRequest.URL.Scheme == "https" {
16 p, _ := awsutil.ValuesAtPath(r.Params, "SSECustomerKey||CopySourceSSECustomerKey") 15 return
17 if len(p) > 0 { 16 }
17
18 if iface, ok := r.Params.(sseCustomerKeyGetter); ok {
19 if len(iface.getSSECustomerKey()) > 0 {
20 r.Error = errSSERequiresSSL
21 return
22 }
23 }
24
25 if iface, ok := r.Params.(copySourceSSECustomerKeyGetter); ok {
26 if len(iface.getCopySourceSSECustomerKey()) > 0 {
18 r.Error = errSSERequiresSSL 27 r.Error = errSSERequiresSSL
28 return
19 } 29 }
20 } 30 }
21} 31}
diff --git a/vendor/github.com/aws/aws-sdk-go/service/s3/statusok_error.go b/vendor/github.com/aws/aws-sdk-go/service/s3/statusok_error.go
index 5a78fd3..9f33efc 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/s3/statusok_error.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/s3/statusok_error.go
@@ -7,6 +7,7 @@ import (
7 7
8 "github.com/aws/aws-sdk-go/aws/awserr" 8 "github.com/aws/aws-sdk-go/aws/awserr"
9 "github.com/aws/aws-sdk-go/aws/request" 9 "github.com/aws/aws-sdk-go/aws/request"
10 "github.com/aws/aws-sdk-go/internal/sdkio"
10) 11)
11 12
12func copyMultipartStatusOKUnmarhsalError(r *request.Request) { 13func copyMultipartStatusOKUnmarhsalError(r *request.Request) {
@@ -17,7 +18,7 @@ func copyMultipartStatusOKUnmarhsalError(r *request.Request) {
17 } 18 }
18 body := bytes.NewReader(b) 19 body := bytes.NewReader(b)
19 r.HTTPResponse.Body = ioutil.NopCloser(body) 20 r.HTTPResponse.Body = ioutil.NopCloser(body)
20 defer body.Seek(0, 0) 21 defer body.Seek(0, sdkio.SeekStart)
21 22
22 if body.Len() == 0 { 23 if body.Len() == 0 {
23 // If there is no body don't attempt to parse the body. 24 // If there is no body don't attempt to parse the body.
diff --git a/vendor/github.com/aws/aws-sdk-go/service/s3/waiters.go b/vendor/github.com/aws/aws-sdk-go/service/s3/waiters.go
index cccfa8c..2596c69 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/s3/waiters.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/s3/waiters.go
@@ -11,7 +11,7 @@ import (
11 11
12// WaitUntilBucketExists uses the Amazon S3 API operation 12// WaitUntilBucketExists uses the Amazon S3 API operation
13// HeadBucket to wait for a condition to be met before returning. 13// HeadBucket to wait for a condition to be met before returning.
14// If the condition is not meet within the max attempt window an error will 14// If the condition is not met within the max attempt window, an error will
15// be returned. 15// be returned.
16func (c *S3) WaitUntilBucketExists(input *HeadBucketInput) error { 16func (c *S3) WaitUntilBucketExists(input *HeadBucketInput) error {
17 return c.WaitUntilBucketExistsWithContext(aws.BackgroundContext(), input) 17 return c.WaitUntilBucketExistsWithContext(aws.BackgroundContext(), input)
@@ -72,7 +72,7 @@ func (c *S3) WaitUntilBucketExistsWithContext(ctx aws.Context, input *HeadBucket
72 72
73// WaitUntilBucketNotExists uses the Amazon S3 API operation 73// WaitUntilBucketNotExists uses the Amazon S3 API operation
74// HeadBucket to wait for a condition to be met before returning. 74// HeadBucket to wait for a condition to be met before returning.
75// If the condition is not meet within the max attempt window an error will 75// If the condition is not met within the max attempt window, an error will
76// be returned. 76// be returned.
77func (c *S3) WaitUntilBucketNotExists(input *HeadBucketInput) error { 77func (c *S3) WaitUntilBucketNotExists(input *HeadBucketInput) error {
78 return c.WaitUntilBucketNotExistsWithContext(aws.BackgroundContext(), input) 78 return c.WaitUntilBucketNotExistsWithContext(aws.BackgroundContext(), input)
@@ -118,7 +118,7 @@ func (c *S3) WaitUntilBucketNotExistsWithContext(ctx aws.Context, input *HeadBuc
118 118
119// WaitUntilObjectExists uses the Amazon S3 API operation 119// WaitUntilObjectExists uses the Amazon S3 API operation
120// HeadObject to wait for a condition to be met before returning. 120// HeadObject to wait for a condition to be met before returning.
121// If the condition is not meet within the max attempt window an error will 121// If the condition is not met within the max attempt window, an error will
122// be returned. 122// be returned.
123func (c *S3) WaitUntilObjectExists(input *HeadObjectInput) error { 123func (c *S3) WaitUntilObjectExists(input *HeadObjectInput) error {
124 return c.WaitUntilObjectExistsWithContext(aws.BackgroundContext(), input) 124 return c.WaitUntilObjectExistsWithContext(aws.BackgroundContext(), input)
@@ -169,7 +169,7 @@ func (c *S3) WaitUntilObjectExistsWithContext(ctx aws.Context, input *HeadObject
169 169
170// WaitUntilObjectNotExists uses the Amazon S3 API operation 170// WaitUntilObjectNotExists uses the Amazon S3 API operation
171// HeadObject to wait for a condition to be met before returning. 171// HeadObject to wait for a condition to be met before returning.
172// If the condition is not meet within the max attempt window an error will 172// If the condition is not met within the max attempt window, an error will
173// be returned. 173// be returned.
174func (c *S3) WaitUntilObjectNotExists(input *HeadObjectInput) error { 174func (c *S3) WaitUntilObjectNotExists(input *HeadObjectInput) error {
175 return c.WaitUntilObjectNotExistsWithContext(aws.BackgroundContext(), input) 175 return c.WaitUntilObjectNotExistsWithContext(aws.BackgroundContext(), input)