chore(deps): bump github.com/aws/aws-sdk-go-v2/feature/s3/manager (#2610)
Bumps [github.com/aws/aws-sdk-go-v2/feature/s3/manager](https://github.com/aws/aws-sdk-go-v2) from 1.11.70 to 1.11.71. - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go-v2/compare/feature/s3/manager/v1.11.70...feature/s3/manager/v1.11.71) --- updated-dependencies: - dependency-name: github.com/aws/aws-sdk-go-v2/feature/s3/manager dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
parent
27300967a0
commit
8d7a3261bd
4
go.mod
4
go.mod
|
|
@ -12,8 +12,8 @@ require (
|
|||
github.com/GoogleCloudPlatform/docker-credential-gcr v1.5.1-0.20230328182921-62afb2723512
|
||||
github.com/aws/aws-sdk-go-v2 v1.18.1
|
||||
github.com/aws/aws-sdk-go-v2/config v1.18.27
|
||||
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.70
|
||||
github.com/aws/aws-sdk-go-v2/service/s3 v1.35.0
|
||||
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.71
|
||||
github.com/aws/aws-sdk-go-v2/service/s3 v1.36.0
|
||||
github.com/awslabs/amazon-ecr-credential-helper/ecr-login v0.0.0-20230522190001-adf1bafd791a
|
||||
github.com/chrismellard/docker-credential-acr-env v0.0.0-20230304212654-82a0ddb27589
|
||||
github.com/containerd/cgroups v1.1.0 // indirect
|
||||
|
|
|
|||
8
go.sum
8
go.sum
|
|
@ -120,8 +120,8 @@ github.com/aws/aws-sdk-go-v2/credentials v1.13.26/go.mod h1:GoXt2YC8jHUBbA4jr+W3
|
|||
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.3/go.mod h1:4Q0UFP0YJf0NrsEuEYHpM9fTSEVnD16Z3uyEF7J9JGM=
|
||||
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.4 h1:LxK/bitrAr4lnh9LnIS6i7zWbCOdMsfzKFBI6LUCS0I=
|
||||
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.4/go.mod h1:E1hLXN/BL2e6YizK1zFlYd8vsfi2GTjbjBazinMmeaM=
|
||||
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.70 h1:4bh28MeeXoBFTjb0JjQ5sVatzlf5xA1DziV8mZed9v4=
|
||||
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.70/go.mod h1:9yI5NXzqy2yOiMytv6QLZHvlyHLwYxO9iIq+bZIbrFg=
|
||||
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.71 h1:SAB1UAVaf6nGCu3zyIrV+VWsendXrms1GqtW4zBotKA=
|
||||
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.71/go.mod h1:ZNo5H4PR3/fwsXYqb+Ld5YAfvHcYCbltaTTtSay4l2o=
|
||||
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.33/go.mod h1:7i0PF1ME/2eUPFcjkVIwq+DOygHEoK92t5cDqNgYbIw=
|
||||
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.34 h1:A5UqQEmPaCFpedKouS4v+dHCTUo2sKqhoKO9U5kxyWo=
|
||||
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.34/go.mod h1:wZpTEecJe0Btj3IYnDx/VlUzor9wm3fJHyvLpQF0VwY=
|
||||
|
|
@ -146,8 +146,8 @@ github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.28 h1:bkRyG4a92
|
|||
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.28/go.mod h1:jj7znCIg05jXlaGBlFMGP8+7UN3VtCkRBG2spnmRQkU=
|
||||
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.14.3 h1:dBL3StFxHtpBzJJ/mNEsjXVgfO+7jR0dAIEwLqMapEA=
|
||||
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.14.3/go.mod h1:f1QyiAsvIv4B49DmCqrhlXqyaR+0IxMmyX+1P+AnzOM=
|
||||
github.com/aws/aws-sdk-go-v2/service/s3 v1.35.0 h1:ya7fmrN2fE7s1P2gaPbNg5MTkERVWfsH8ToP1YC4Z9o=
|
||||
github.com/aws/aws-sdk-go-v2/service/s3 v1.35.0/go.mod h1:aVbf0sko/TsLWHx30c/uVu7c62+0EAJ3vbxaJga0xCw=
|
||||
github.com/aws/aws-sdk-go-v2/service/s3 v1.36.0 h1:lEmQ1XSD9qLk+NZXbgvLJI/IiTz7OIR2TYUTFH25EI4=
|
||||
github.com/aws/aws-sdk-go-v2/service/s3 v1.36.0/go.mod h1:aVbf0sko/TsLWHx30c/uVu7c62+0EAJ3vbxaJga0xCw=
|
||||
github.com/aws/aws-sdk-go-v2/service/sso v1.12.9/go.mod h1:ouy2P4z6sJN70fR3ka3wD3Ro3KezSxU6eKGQI2+2fjI=
|
||||
github.com/aws/aws-sdk-go-v2/service/sso v1.12.12 h1:nneMBM2p79PGWBQovYO/6Xnc2ryRMw3InnDJq1FHkSY=
|
||||
github.com/aws/aws-sdk-go-v2/service/sso v1.12.12/go.mod h1:HuCOxYsF21eKrerARYO6HapNeh9GBNq7fius2AcwodY=
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
# v1.11.71 (2023-06-28)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.11.70 (2023-06-16)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
|
|
|||
|
|
@ -3,4 +3,4 @@
|
|||
package manager
|
||||
|
||||
// goModuleVersion is the tagged release for this module
|
||||
const goModuleVersion = "1.11.70"
|
||||
const goModuleVersion = "1.11.71"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
# v1.36.0 (2023-06-28)
|
||||
|
||||
* **Feature**: The S3 LISTObjects, ListObjectsV2 and ListObjectVersions API now supports a new optional header x-amz-optional-object-attributes. If header contains RestoreStatus as the value, then S3 will include Glacier restore status i.e. isRestoreInProgress and RestoreExpiryDate in List response.
|
||||
|
||||
# v1.35.0 (2023-06-16)
|
||||
|
||||
* **Feature**: This release adds SDK support for request-payer request header and request-charged response header in the "GetBucketAccelerateConfiguration", "ListMultipartUploads", "ListObjects", "ListObjectsV2" and "ListObjectVersions" S3 APIs.
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ type AbortMultipartUploadInput struct {
|
|||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com . When you
|
||||
// use this action with S3 on Outposts through the Amazon Web Services SDKs, you
|
||||
// provide the Outposts access point ARN in place of the bucket name. For more
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts? (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
//
|
||||
// This member is required.
|
||||
|
|
|
|||
4
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CompleteMultipartUpload.go
generated
vendored
4
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CompleteMultipartUpload.go
generated
vendored
|
|
@ -97,7 +97,7 @@ type CompleteMultipartUploadInput struct {
|
|||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com . When you
|
||||
// use this action with S3 on Outposts through the Amazon Web Services SDKs, you
|
||||
// provide the Outposts access point ARN in place of the bucket name. For more
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts? (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
//
|
||||
// This member is required.
|
||||
|
|
@ -193,7 +193,7 @@ type CompleteMultipartUploadOutput struct {
|
|||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com . When you
|
||||
// use this action with S3 on Outposts through the Amazon Web Services SDKs, you
|
||||
// provide the Outposts access point ARN in place of the bucket name. For more
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts? (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
Bucket *string
|
||||
|
||||
|
|
|
|||
|
|
@ -176,7 +176,7 @@ type CopyObjectInput struct {
|
|||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com . When you
|
||||
// use this action with S3 on Outposts through the Amazon Web Services SDKs, you
|
||||
// provide the Outposts access point ARN in place of the bucket name. For more
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts? (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
//
|
||||
// This member is required.
|
||||
|
|
|
|||
|
|
@ -203,7 +203,7 @@ type CreateMultipartUploadInput struct {
|
|||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com . When you
|
||||
// use this action with S3 on Outposts through the Amazon Web Services SDKs, you
|
||||
// provide the Outposts access point ARN in place of the bucket name. For more
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts? (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
//
|
||||
// This member is required.
|
||||
|
|
@ -373,7 +373,7 @@ type CreateMultipartUploadOutput struct {
|
|||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com . When you
|
||||
// use this action with S3 on Outposts through the Amazon Web Services SDKs, you
|
||||
// provide the Outposts access point ARN in place of the bucket name. For more
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts? (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
Bucket *string
|
||||
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ type DeleteObjectInput struct {
|
|||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com . When you
|
||||
// use this action with S3 on Outposts through the Amazon Web Services SDKs, you
|
||||
// provide the Outposts access point ARN in place of the bucket name. For more
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts? (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
//
|
||||
// This member is required.
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ type DeleteObjectTaggingInput struct {
|
|||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com . When you
|
||||
// use this action with S3 on Outposts through the Amazon Web Services SDKs, you
|
||||
// provide the Outposts access point ARN in place of the bucket name. For more
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts? (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
//
|
||||
// This member is required.
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ type DeleteObjectsInput struct {
|
|||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com . When you
|
||||
// use this action with S3 on Outposts through the Amazon Web Services SDKs, you
|
||||
// provide the Outposts access point ARN in place of the bucket name. For more
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts? (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
//
|
||||
// This member is required.
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ type GetObjectInput struct {
|
|||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com . When you
|
||||
// use this action with S3 on Outposts through the Amazon Web Services SDKs, you
|
||||
// provide the Outposts access point ARN in place of the bucket name. For more
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts? (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
//
|
||||
// This member is required.
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ type GetObjectAttributesInput struct {
|
|||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com . When you
|
||||
// use this action with S3 on Outposts through the Amazon Web Services SDKs, you
|
||||
// provide the Outposts access point ARN in place of the bucket name. For more
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts? (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
//
|
||||
// This member is required.
|
||||
|
|
@ -114,8 +114,8 @@ type GetObjectAttributesInput struct {
|
|||
// This member is required.
|
||||
Key *string
|
||||
|
||||
// An XML header that specifies the fields at the root level that you want
|
||||
// returned in the response. Fields that you do not specify are not returned.
|
||||
// Specifies the fields at the root level that you want returned in the response.
|
||||
// Fields that you do not specify are not returned.
|
||||
//
|
||||
// This member is required.
|
||||
ObjectAttributes []types.ObjectAttributes
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ type GetObjectTaggingInput struct {
|
|||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com . When you
|
||||
// use this action with S3 on Outposts through the Amazon Web Services SDKs, you
|
||||
// provide the Outposts access point ARN in place of the bucket name. For more
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts? (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
//
|
||||
// This member is required.
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ type HeadBucketInput struct {
|
|||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com . When you
|
||||
// use this action with S3 on Outposts through the Amazon Web Services SDKs, you
|
||||
// provide the Outposts access point ARN in place of the bucket name. For more
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts? (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
//
|
||||
// This member is required.
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@ type HeadObjectInput struct {
|
|||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com . When you
|
||||
// use this action with S3 on Outposts through the Amazon Web Services SDKs, you
|
||||
// provide the Outposts access point ARN in place of the bucket name. For more
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts? (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
//
|
||||
// This member is required.
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ type ListMultipartUploadsInput struct {
|
|||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com . When you
|
||||
// use this action with S3 on Outposts through the Amazon Web Services SDKs, you
|
||||
// provide the Outposts access point ARN in place of the bucket name. For more
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts? (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
//
|
||||
// This member is required.
|
||||
|
|
@ -80,10 +80,10 @@ type ListMultipartUploadsInput struct {
|
|||
Delimiter *string
|
||||
|
||||
// Requests Amazon S3 to encode the object keys in the response and specifies the
|
||||
// encoding method to use. An object key may contain any Unicode character;
|
||||
// however, XML 1.0 parser cannot parse some characters, such as characters with an
|
||||
// ASCII value from 0 to 10. For characters that are not supported in XML 1.0, you
|
||||
// can add this parameter to request that Amazon S3 encode the keys in the
|
||||
// encoding method to use. An object key can contain any Unicode character;
|
||||
// however, the XML 1.0 parser cannot parse some characters, such as characters
|
||||
// with an ASCII value from 0 to 10. For characters that are not supported in XML
|
||||
// 1.0, you can add this parameter to request that Amazon S3 encode the keys in the
|
||||
// response.
|
||||
EncodingType types.EncodingType
|
||||
|
||||
|
|
@ -92,7 +92,7 @@ type ListMultipartUploadsInput struct {
|
|||
// (access denied).
|
||||
ExpectedBucketOwner *string
|
||||
|
||||
// Together with upload-id-marker, this parameter specifies the multipart upload
|
||||
// Together with upload-id-marker , this parameter specifies the multipart upload
|
||||
// after which listing should begin. If upload-id-marker is not specified, only
|
||||
// the keys lexicographically greater than the specified key-marker will be
|
||||
// included in the list. If upload-id-marker is specified, any multipart uploads
|
||||
|
|
@ -108,8 +108,8 @@ type ListMultipartUploadsInput struct {
|
|||
|
||||
// Lists in-progress uploads only for those keys that begin with the specified
|
||||
// prefix. You can use prefixes to separate a bucket into different grouping of
|
||||
// keys. (You can think of using prefix to make groups in the same way you'd use a
|
||||
// folder in a file system.)
|
||||
// keys. (You can think of using prefix to make groups in the same way that you'd
|
||||
// use a folder in a file system.)
|
||||
Prefix *string
|
||||
|
||||
// Confirms that the requester knows that they will be charged for the request.
|
||||
|
|
@ -145,8 +145,8 @@ type ListMultipartUploadsOutput struct {
|
|||
Delimiter *string
|
||||
|
||||
// Encoding type used by Amazon S3 to encode object keys in the response. If you
|
||||
// specify encoding-type request parameter, Amazon S3 includes this element in the
|
||||
// response, and returns encoded key name values in the following response
|
||||
// specify the encoding-type request parameter, Amazon S3 includes this element in
|
||||
// the response, and returns encoded key name values in the following response
|
||||
// elements: Delimiter , KeyMarker , Prefix , NextKeyMarker , Key .
|
||||
EncodingType types.EncodingType
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ import (
|
|||
|
||||
// Returns metadata about all versions of the objects in a bucket. You can also
|
||||
// use request parameters as selection criteria to return metadata about a subset
|
||||
// of all the object versions. To use this operation, you must have permissions to
|
||||
// of all the object versions. To use this operation, you must have permission to
|
||||
// perform the s3:ListBucketVersions action. Be aware of the name difference. A
|
||||
// 200 OK response can contain valid or invalid XML. Make sure to design your
|
||||
// application to parse the contents of the response and handle it appropriately.
|
||||
|
|
@ -49,16 +49,16 @@ type ListObjectVersionsInput struct {
|
|||
|
||||
// A delimiter is a character that you specify to group keys. All keys that
|
||||
// contain the same string between the prefix and the first occurrence of the
|
||||
// delimiter are grouped under a single result element in CommonPrefixes. These
|
||||
// groups are counted as one result against the max-keys limitation. These keys are
|
||||
// not returned elsewhere in the response.
|
||||
// delimiter are grouped under a single result element in CommonPrefixes . These
|
||||
// groups are counted as one result against the max-keys limitation. These keys
|
||||
// are not returned elsewhere in the response.
|
||||
Delimiter *string
|
||||
|
||||
// Requests Amazon S3 to encode the object keys in the response and specifies the
|
||||
// encoding method to use. An object key may contain any Unicode character;
|
||||
// however, XML 1.0 parser cannot parse some characters, such as characters with an
|
||||
// ASCII value from 0 to 10. For characters that are not supported in XML 1.0, you
|
||||
// can add this parameter to request that Amazon S3 encode the keys in the
|
||||
// encoding method to use. An object key can contain any Unicode character;
|
||||
// however, the XML 1.0 parser cannot parse some characters, such as characters
|
||||
// with an ASCII value from 0 to 10. For characters that are not supported in XML
|
||||
// 1.0, you can add this parameter to request that Amazon S3 encode the keys in the
|
||||
// response.
|
||||
EncodingType types.EncodingType
|
||||
|
||||
|
|
@ -70,18 +70,22 @@ type ListObjectVersionsInput struct {
|
|||
// Specifies the key to start with when listing objects in a bucket.
|
||||
KeyMarker *string
|
||||
|
||||
// Sets the maximum number of keys returned in the response. By default the action
|
||||
// returns up to 1,000 key names. The response might contain fewer keys but will
|
||||
// never contain more. If additional keys satisfy the search criteria, but were not
|
||||
// returned because max-keys was exceeded, the response contains true. To return
|
||||
// the additional keys, see key-marker and version-id-marker.
|
||||
// Sets the maximum number of keys returned in the response. By default, the
|
||||
// action returns up to 1,000 key names. The response might contain fewer keys but
|
||||
// will never contain more. If additional keys satisfy the search criteria, but
|
||||
// were not returned because max-keys was exceeded, the response contains true . To
|
||||
// return the additional keys, see key-marker and version-id-marker .
|
||||
MaxKeys int32
|
||||
|
||||
// Specifies the optional fields that you want returned in the response. Fields
|
||||
// that you do not specify are not returned.
|
||||
OptionalObjectAttributes []types.OptionalObjectAttributes
|
||||
|
||||
// Use this parameter to select only those keys that begin with the specified
|
||||
// prefix. You can use prefixes to separate a bucket into different groupings of
|
||||
// keys. (You can think of using prefix to make groups in the same way you'd use a
|
||||
// folder in a file system.) You can use prefix with delimiter to roll up numerous
|
||||
// objects into a single result under CommonPrefixes.
|
||||
// keys. (You can think of using prefix to make groups in the same way that you'd
|
||||
// use a folder in a file system.) You can use prefix with delimiter to roll up
|
||||
// numerous objects into a single result under CommonPrefixes .
|
||||
Prefix *string
|
||||
|
||||
// Confirms that the requester knows that they will be charged for the request.
|
||||
|
|
@ -114,14 +118,14 @@ type ListObjectVersionsOutput struct {
|
|||
Delimiter *string
|
||||
|
||||
// Encoding type used by Amazon S3 to encode object key names in the XML response.
|
||||
// If you specify encoding-type request parameter, Amazon S3 includes this element
|
||||
// in the response, and returns encoded key name values in the following response
|
||||
// elements: KeyMarker, NextKeyMarker, Prefix, Key , and Delimiter .
|
||||
// If you specify the encoding-type request parameter, Amazon S3 includes this
|
||||
// element in the response, and returns encoded key name values in the following
|
||||
// response elements: KeyMarker, NextKeyMarker, Prefix, Key , and Delimiter .
|
||||
EncodingType types.EncodingType
|
||||
|
||||
// A flag that indicates whether Amazon S3 returned all of the results that
|
||||
// satisfied the search criteria. If your results were truncated, you can make a
|
||||
// follow-up paginated request using the NextKeyMarker and NextVersionIdMarker
|
||||
// follow-up paginated request by using the NextKeyMarker and NextVersionIdMarker
|
||||
// response parameters as a starting place in another request to return the rest of
|
||||
// the results.
|
||||
IsTruncated bool
|
||||
|
|
|
|||
|
|
@ -55,20 +55,20 @@ type ListObjectsInput struct {
|
|||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com . When you
|
||||
// use this action with S3 on Outposts through the Amazon Web Services SDKs, you
|
||||
// provide the Outposts access point ARN in place of the bucket name. For more
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts? (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
//
|
||||
// This member is required.
|
||||
Bucket *string
|
||||
|
||||
// A delimiter is a character you use to group keys.
|
||||
// A delimiter is a character that you use to group keys.
|
||||
Delimiter *string
|
||||
|
||||
// Requests Amazon S3 to encode the object keys in the response and specifies the
|
||||
// encoding method to use. An object key may contain any Unicode character;
|
||||
// however, XML 1.0 parser cannot parse some characters, such as characters with an
|
||||
// ASCII value from 0 to 10. For characters that are not supported in XML 1.0, you
|
||||
// can add this parameter to request that Amazon S3 encode the keys in the
|
||||
// encoding method to use. An object key can contain any Unicode character;
|
||||
// however, the XML 1.0 parser cannot parse some characters, such as characters
|
||||
// with an ASCII value from 0 to 10. For characters that are not supported in XML
|
||||
// 1.0, you can add this parameter to request that Amazon S3 encode the keys in the
|
||||
// response.
|
||||
EncodingType types.EncodingType
|
||||
|
||||
|
|
@ -81,11 +81,15 @@ type ListObjectsInput struct {
|
|||
// listing after this specified key. Marker can be any key in the bucket.
|
||||
Marker *string
|
||||
|
||||
// Sets the maximum number of keys returned in the response. By default the action
|
||||
// returns up to 1,000 key names. The response might contain fewer keys but will
|
||||
// never contain more.
|
||||
// Sets the maximum number of keys returned in the response. By default, the
|
||||
// action returns up to 1,000 key names. The response might contain fewer keys but
|
||||
// will never contain more.
|
||||
MaxKeys int32
|
||||
|
||||
// Specifies the optional fields that you want returned in the response. Fields
|
||||
// that you do not specify are not returned.
|
||||
OptionalObjectAttributes []types.OptionalObjectAttributes
|
||||
|
||||
// Limits the response to keys that begin with the specified prefix.
|
||||
Prefix *string
|
||||
|
||||
|
|
@ -104,10 +108,10 @@ type ListObjectsOutput struct {
|
|||
// CommonPrefixes only if you specify a delimiter. CommonPrefixes contains all (if
|
||||
// there are any) keys between Prefix and the next occurrence of the string
|
||||
// specified by the delimiter. CommonPrefixes lists keys that act like
|
||||
// subdirectories in the directory specified by Prefix. For example, if the prefix
|
||||
// is notes/ and the delimiter is a slash (/) as in notes/summer/july, the common
|
||||
// prefix is notes/summer/. All of the keys that roll up into a common prefix count
|
||||
// as a single return when calculating the number of returns.
|
||||
// subdirectories in the directory specified by Prefix . For example, if the prefix
|
||||
// is notes/ and the delimiter is a slash ( / ), as in notes/summer/july , the
|
||||
// common prefix is notes/summer/ . All of the keys that roll up into a common
|
||||
// prefix count as a single return when calculating the number of returns.
|
||||
CommonPrefixes []types.CommonPrefix
|
||||
|
||||
// Metadata about each object returned.
|
||||
|
|
@ -137,13 +141,14 @@ type ListObjectsOutput struct {
|
|||
// The bucket name.
|
||||
Name *string
|
||||
|
||||
// When response is truncated (the IsTruncated element value in the response is
|
||||
// true), you can use the key name in this field as marker in the subsequent
|
||||
// request to get next set of objects. Amazon S3 lists objects in alphabetical
|
||||
// order Note: This element is returned only if you have delimiter request
|
||||
// parameter specified. If response does not include the NextMarker and it is
|
||||
// truncated, you can use the value of the last Key in the response as the marker
|
||||
// in the subsequent request to get the next set of object keys.
|
||||
// When the response is truncated (the IsTruncated element value in the response
|
||||
// is true ), you can use the key name in this field as the marker parameter in
|
||||
// the subsequent request to get the next set of objects. Amazon S3 lists objects
|
||||
// in alphabetical order. This element is returned only if you have the delimiter
|
||||
// request parameter specified. If the response does not include the NextMarker
|
||||
// element and it is truncated, you can use the value of the last Key element in
|
||||
// the response as the marker parameter in the subsequent request to get the next
|
||||
// set of object keys.
|
||||
NextMarker *string
|
||||
|
||||
// Keys that begin with the indicated prefix.
|
||||
|
|
|
|||
|
|
@ -20,17 +20,17 @@ import (
|
|||
// handle it appropriately. Objects are returned sorted in an ascending order of
|
||||
// the respective key names in the list. For more information about listing
|
||||
// objects, see Listing object keys programmatically (https://docs.aws.amazon.com/AmazonS3/latest/userguide/ListingKeysUsingAPIs.html)
|
||||
// To use this operation, you must have READ access to the bucket. To use this
|
||||
// action in an Identity and Access Management (IAM) policy, you must have
|
||||
// permissions to perform the s3:ListBucket action. The bucket owner has this
|
||||
// permission by default and can grant this permission to others. For more
|
||||
// information about permissions, see Permissions Related to Bucket Subresource
|
||||
// Operations (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources)
|
||||
// in the Amazon S3 User Guide. To use this operation, you must have READ access to
|
||||
// the bucket. To use this action in an Identity and Access Management (IAM)
|
||||
// policy, you must have permission to perform the s3:ListBucket action. The
|
||||
// bucket owner has this permission by default and can grant this permission to
|
||||
// others. For more information about permissions, see Permissions Related to
|
||||
// Bucket Subresource Operations (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources)
|
||||
// and Managing Access Permissions to Your Amazon S3 Resources (https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html)
|
||||
// . This section describes the latest revision of this action. We recommend that
|
||||
// you use this revised API for application development. For backward
|
||||
// compatibility, Amazon S3 continues to support the prior version of this API,
|
||||
// ListObjects (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjects.html)
|
||||
// in the Amazon S3 User Guide. This section describes the latest revision of this
|
||||
// action. We recommend that you use this revised API operation for application
|
||||
// development. For backward compatibility, Amazon S3 continues to support the
|
||||
// prior version of this API operation, ListObjects (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjects.html)
|
||||
// . To get a list of your buckets, see ListBuckets (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBuckets.html)
|
||||
// . The following operations are related to ListObjectsV2 :
|
||||
// - GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html)
|
||||
|
|
@ -65,17 +65,17 @@ type ListObjectsV2Input struct {
|
|||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com . When you
|
||||
// use this action with S3 on Outposts through the Amazon Web Services SDKs, you
|
||||
// provide the Outposts access point ARN in place of the bucket name. For more
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts? (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
//
|
||||
// This member is required.
|
||||
Bucket *string
|
||||
|
||||
// ContinuationToken indicates Amazon S3 that the list is being continued on this
|
||||
// bucket with a token. ContinuationToken is obfuscated and is not a real key.
|
||||
// ContinuationToken indicates to Amazon S3 that the list is being continued on
|
||||
// this bucket with a token. ContinuationToken is obfuscated and is not a real key.
|
||||
ContinuationToken *string
|
||||
|
||||
// A delimiter is a character you use to group keys.
|
||||
// A delimiter is a character that you use to group keys.
|
||||
Delimiter *string
|
||||
|
||||
// Encoding type used by Amazon S3 to encode object keys in the response.
|
||||
|
|
@ -86,15 +86,20 @@ type ListObjectsV2Input struct {
|
|||
// (access denied).
|
||||
ExpectedBucketOwner *string
|
||||
|
||||
// The owner field is not present in listV2 by default, if you want to return
|
||||
// owner field with each key in the result then set the fetch owner field to true.
|
||||
// The owner field is not present in ListObjectsV2 by default. If you want to
|
||||
// return the owner field with each key in the result, then set the FetchOwner
|
||||
// field to true .
|
||||
FetchOwner bool
|
||||
|
||||
// Sets the maximum number of keys returned in the response. By default the action
|
||||
// returns up to 1,000 key names. The response might contain fewer keys but will
|
||||
// never contain more.
|
||||
// Sets the maximum number of keys returned in the response. By default, the
|
||||
// action returns up to 1,000 key names. The response might contain fewer keys but
|
||||
// will never contain more.
|
||||
MaxKeys int32
|
||||
|
||||
// Specifies the optional fields that you want returned in the response. Fields
|
||||
// that you do not specify are not returned.
|
||||
OptionalObjectAttributes []types.OptionalObjectAttributes
|
||||
|
||||
// Limits the response to keys that begin with the specified prefix.
|
||||
Prefix *string
|
||||
|
||||
|
|
@ -143,18 +148,18 @@ type ListObjectsV2Output struct {
|
|||
EncodingType types.EncodingType
|
||||
|
||||
// Set to false if all of the results were returned. Set to true if more keys are
|
||||
// available to return. If the number of results exceeds that specified by MaxKeys,
|
||||
// all of the results might not be returned.
|
||||
// available to return. If the number of results exceeds that specified by MaxKeys
|
||||
// , all of the results might not be returned.
|
||||
IsTruncated bool
|
||||
|
||||
// KeyCount is the number of keys returned with this request. KeyCount will always
|
||||
// be less than or equal to the MaxKeys field. Say you ask for 50 keys, your
|
||||
// result will include 50 keys or fewer.
|
||||
// be less than or equal to the MaxKeys field. For example, if you ask for 50
|
||||
// keys, your result will include 50 keys or fewer.
|
||||
KeyCount int32
|
||||
|
||||
// Sets the maximum number of keys returned in the response. By default the action
|
||||
// returns up to 1,000 key names. The response might contain fewer keys but will
|
||||
// never contain more.
|
||||
// Sets the maximum number of keys returned in the response. By default, the
|
||||
// action returns up to 1,000 key names. The response might contain fewer keys but
|
||||
// will never contain more.
|
||||
MaxKeys int32
|
||||
|
||||
// The bucket name. When using this action with an access point, you must direct
|
||||
|
|
@ -169,7 +174,7 @@ type ListObjectsV2Output struct {
|
|||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com . When you
|
||||
// use this action with S3 on Outposts through the Amazon Web Services SDKs, you
|
||||
// provide the Outposts access point ARN in place of the bucket name. For more
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts? (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
Name *string
|
||||
|
||||
|
|
@ -282,9 +287,9 @@ var _ ListObjectsV2APIClient = (*Client)(nil)
|
|||
|
||||
// ListObjectsV2PaginatorOptions is the paginator options for ListObjectsV2
|
||||
type ListObjectsV2PaginatorOptions struct {
|
||||
// Sets the maximum number of keys returned in the response. By default the action
|
||||
// returns up to 1,000 key names. The response might contain fewer keys but will
|
||||
// never contain more.
|
||||
// Sets the maximum number of keys returned in the response. By default, the
|
||||
// action returns up to 1,000 key names. The response might contain fewer keys but
|
||||
// will never contain more.
|
||||
Limit int32
|
||||
|
||||
// Set to true if pagination should stop if the service returns a pagination token
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ type ListPartsInput struct {
|
|||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com . When you
|
||||
// use this action with S3 on Outposts through the Amazon Web Services SDKs, you
|
||||
// provide the Outposts access point ARN in place of the bucket name. For more
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts? (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
//
|
||||
// This member is required.
|
||||
|
|
|
|||
|
|
@ -113,7 +113,7 @@ type PutObjectInput struct {
|
|||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com . When you
|
||||
// use this action with S3 on Outposts through the Amazon Web Services SDKs, you
|
||||
// provide the Outposts access point ARN in place of the bucket name. For more
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts? (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
//
|
||||
// This member is required.
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@ type PutObjectAclInput struct {
|
|||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com . When you
|
||||
// use this action with S3 on Outposts through the Amazon Web Services SDKs, you
|
||||
// provide the Outposts access point ARN in place of the bucket name. For more
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts? (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
//
|
||||
// This member is required.
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ type PutObjectTaggingInput struct {
|
|||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com . When you
|
||||
// use this action with S3 on Outposts through the Amazon Web Services SDKs, you
|
||||
// provide the Outposts access point ARN in place of the bucket name. For more
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts? (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
//
|
||||
// This member is required.
|
||||
|
|
|
|||
|
|
@ -191,7 +191,7 @@ type RestoreObjectInput struct {
|
|||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com . When you
|
||||
// use this action with S3 on Outposts through the Amazon Web Services SDKs, you
|
||||
// provide the Outposts access point ARN in place of the bucket name. For more
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts? (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
//
|
||||
// This member is required.
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@ type UploadPartInput struct {
|
|||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com . When you
|
||||
// use this action with S3 on Outposts through the Amazon Web Services SDKs, you
|
||||
// provide the Outposts access point ARN in place of the bucket name. For more
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts? (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
//
|
||||
// This member is required.
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ type UploadPartCopyInput struct {
|
|||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com . When you
|
||||
// use this action with S3 on Outposts through the Amazon Web Services SDKs, you
|
||||
// provide the Outposts access point ARN in place of the bucket name. For more
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// information about S3 on Outposts ARNs, see What is S3 on Outposts? (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
//
|
||||
// This member is required.
|
||||
|
|
|
|||
|
|
@ -18449,6 +18449,12 @@ func awsRestxml_deserializeDocumentObject(v **types.Object, decoder smithyxml.No
|
|||
return err
|
||||
}
|
||||
|
||||
case strings.EqualFold("RestoreStatus", t.Name.Local):
|
||||
nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t)
|
||||
if err := awsRestxml_deserializeDocumentRestoreStatus(&sv.RestoreStatus, nodeDecoder); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
case strings.EqualFold("Size", t.Name.Local):
|
||||
val, err := decoder.Value()
|
||||
if err != nil {
|
||||
|
|
@ -19060,6 +19066,12 @@ func awsRestxml_deserializeDocumentObjectVersion(v **types.ObjectVersion, decode
|
|||
return err
|
||||
}
|
||||
|
||||
case strings.EqualFold("RestoreStatus", t.Name.Local):
|
||||
nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t)
|
||||
if err := awsRestxml_deserializeDocumentRestoreStatus(&sv.RestoreStatus, nodeDecoder); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
case strings.EqualFold("Size", t.Name.Local):
|
||||
val, err := decoder.Value()
|
||||
if err != nil {
|
||||
|
|
@ -20679,6 +20691,75 @@ func awsRestxml_deserializeDocumentReplicationTimeValue(v **types.ReplicationTim
|
|||
return nil
|
||||
}
|
||||
|
||||
func awsRestxml_deserializeDocumentRestoreStatus(v **types.RestoreStatus, decoder smithyxml.NodeDecoder) error {
|
||||
if v == nil {
|
||||
return fmt.Errorf("unexpected nil of type %T", v)
|
||||
}
|
||||
var sv *types.RestoreStatus
|
||||
if *v == nil {
|
||||
sv = &types.RestoreStatus{}
|
||||
} else {
|
||||
sv = *v
|
||||
}
|
||||
|
||||
for {
|
||||
t, done, err := decoder.Token()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if done {
|
||||
break
|
||||
}
|
||||
originalDecoder := decoder
|
||||
decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t)
|
||||
switch {
|
||||
case strings.EqualFold("IsRestoreInProgress", t.Name.Local):
|
||||
val, err := decoder.Value()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if val == nil {
|
||||
break
|
||||
}
|
||||
{
|
||||
xtv, err := strconv.ParseBool(string(val))
|
||||
if err != nil {
|
||||
return fmt.Errorf("expected IsRestoreInProgress to be of type *bool, got %T instead", val)
|
||||
}
|
||||
sv.IsRestoreInProgress = xtv
|
||||
}
|
||||
|
||||
case strings.EqualFold("RestoreExpiryDate", t.Name.Local):
|
||||
val, err := decoder.Value()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if val == nil {
|
||||
break
|
||||
}
|
||||
{
|
||||
xtv := string(val)
|
||||
t, err := smithytime.ParseDateTime(xtv)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
sv.RestoreExpiryDate = ptr.Time(t)
|
||||
}
|
||||
|
||||
default:
|
||||
// Do nothing and ignore the unexpected tag element
|
||||
err = decoder.Decoder.Skip()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
}
|
||||
decoder = originalDecoder
|
||||
}
|
||||
*v = sv
|
||||
return nil
|
||||
}
|
||||
|
||||
func awsRestxml_deserializeDocumentRoutingRule(v **types.RoutingRule, decoder smithyxml.NodeDecoder) error {
|
||||
if v == nil {
|
||||
return fmt.Errorf("unexpected nil of type %T", v)
|
||||
|
|
|
|||
|
|
@ -3,4 +3,4 @@
|
|||
package s3
|
||||
|
||||
// goModuleVersion is the tagged release for this module
|
||||
const goModuleVersion = "1.35.0"
|
||||
const goModuleVersion = "1.36.0"
|
||||
|
|
|
|||
|
|
@ -4751,6 +4751,20 @@ func awsRestxml_serializeOpHttpBindingsListObjectsInput(v *ListObjectsInput, enc
|
|||
encoder.SetQuery("max-keys").Integer(v.MaxKeys)
|
||||
}
|
||||
|
||||
if v.OptionalObjectAttributes != nil {
|
||||
locationName := "X-Amz-Optional-Object-Attributes"
|
||||
for i := range v.OptionalObjectAttributes {
|
||||
if len(v.OptionalObjectAttributes[i]) > 0 {
|
||||
escaped := string(v.OptionalObjectAttributes[i])
|
||||
if strings.Index(string(v.OptionalObjectAttributes[i]), `,`) != -1 || strings.Index(string(v.OptionalObjectAttributes[i]), `"`) != -1 {
|
||||
escaped = strconv.Quote(string(v.OptionalObjectAttributes[i]))
|
||||
}
|
||||
|
||||
encoder.AddHeader(locationName).String(string(escaped))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if v.Prefix != nil {
|
||||
encoder.SetQuery("prefix").String(*v.Prefix)
|
||||
}
|
||||
|
|
@ -4843,6 +4857,20 @@ func awsRestxml_serializeOpHttpBindingsListObjectsV2Input(v *ListObjectsV2Input,
|
|||
encoder.SetQuery("max-keys").Integer(v.MaxKeys)
|
||||
}
|
||||
|
||||
if v.OptionalObjectAttributes != nil {
|
||||
locationName := "X-Amz-Optional-Object-Attributes"
|
||||
for i := range v.OptionalObjectAttributes {
|
||||
if len(v.OptionalObjectAttributes[i]) > 0 {
|
||||
escaped := string(v.OptionalObjectAttributes[i])
|
||||
if strings.Index(string(v.OptionalObjectAttributes[i]), `,`) != -1 || strings.Index(string(v.OptionalObjectAttributes[i]), `"`) != -1 {
|
||||
escaped = strconv.Quote(string(v.OptionalObjectAttributes[i]))
|
||||
}
|
||||
|
||||
encoder.AddHeader(locationName).String(string(escaped))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if v.Prefix != nil {
|
||||
encoder.SetQuery("prefix").String(*v.Prefix)
|
||||
}
|
||||
|
|
@ -4935,6 +4963,20 @@ func awsRestxml_serializeOpHttpBindingsListObjectVersionsInput(v *ListObjectVers
|
|||
encoder.SetQuery("max-keys").Integer(v.MaxKeys)
|
||||
}
|
||||
|
||||
if v.OptionalObjectAttributes != nil {
|
||||
locationName := "X-Amz-Optional-Object-Attributes"
|
||||
for i := range v.OptionalObjectAttributes {
|
||||
if len(v.OptionalObjectAttributes[i]) > 0 {
|
||||
escaped := string(v.OptionalObjectAttributes[i])
|
||||
if strings.Index(string(v.OptionalObjectAttributes[i]), `,`) != -1 || strings.Index(string(v.OptionalObjectAttributes[i]), `"`) != -1 {
|
||||
escaped = strconv.Quote(string(v.OptionalObjectAttributes[i]))
|
||||
}
|
||||
|
||||
encoder.AddHeader(locationName).String(string(escaped))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if v.Prefix != nil {
|
||||
encoder.SetQuery("prefix").String(*v.Prefix)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -848,6 +848,22 @@ func (ObjectVersionStorageClass) Values() []ObjectVersionStorageClass {
|
|||
}
|
||||
}
|
||||
|
||||
type OptionalObjectAttributes string
|
||||
|
||||
// Enum values for OptionalObjectAttributes
|
||||
const (
|
||||
OptionalObjectAttributesRestoreStatus OptionalObjectAttributes = "RestoreStatus"
|
||||
)
|
||||
|
||||
// Values returns all known values for OptionalObjectAttributes. Note that this
|
||||
// can be expanded in the future, and so it is only as up to date as the client.
|
||||
// The ordering of this slice is not guaranteed to be stable across updates.
|
||||
func (OptionalObjectAttributes) Values() []OptionalObjectAttributes {
|
||||
return []OptionalObjectAttributes{
|
||||
"RestoreStatus",
|
||||
}
|
||||
}
|
||||
|
||||
type OwnerOverride string
|
||||
|
||||
// Enum values for OwnerOverride
|
||||
|
|
|
|||
|
|
@ -1806,10 +1806,10 @@ type LoggingEnabled struct {
|
|||
// A metadata key-value pair to store with an object.
|
||||
type MetadataEntry struct {
|
||||
|
||||
// Name of the Object.
|
||||
// Name of the object.
|
||||
Name *string
|
||||
|
||||
// Value of the Object.
|
||||
// Value of the object.
|
||||
Value *string
|
||||
|
||||
noSmithyDocumentSerde
|
||||
|
|
@ -2070,6 +2070,13 @@ type Object struct {
|
|||
// The owner of the object
|
||||
Owner *Owner
|
||||
|
||||
// Specifies the restoration status of an object. Objects in certain storage
|
||||
// classes must be restored before they can be retrieved. For more information
|
||||
// about these storage classes and how to work with archived objects, see Working
|
||||
// with archived objects (https://docs.aws.amazon.com/AmazonS3/latest/userguide/archived-objects.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
RestoreStatus *RestoreStatus
|
||||
|
||||
// Size in bytes of the object
|
||||
Size int64
|
||||
|
||||
|
|
@ -2208,6 +2215,13 @@ type ObjectVersion struct {
|
|||
// Specifies the owner of the object.
|
||||
Owner *Owner
|
||||
|
||||
// Specifies the restoration status of an object. Objects in certain storage
|
||||
// classes must be restored before they can be retrieved. For more information
|
||||
// about these storage classes and how to work with archived objects, see Working
|
||||
// with archived objects (https://docs.aws.amazon.com/AmazonS3/latest/userguide/archived-objects.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
RestoreStatus *RestoreStatus
|
||||
|
||||
// Size in bytes of the object.
|
||||
Size int64
|
||||
|
||||
|
|
@ -2770,6 +2784,31 @@ type RestoreRequest struct {
|
|||
noSmithyDocumentSerde
|
||||
}
|
||||
|
||||
// Specifies the restoration status of an object. Objects in certain storage
|
||||
// classes must be restored before they can be retrieved. For more information
|
||||
// about these storage classes and how to work with archived objects, see Working
|
||||
// with archived objects (https://docs.aws.amazon.com/AmazonS3/latest/userguide/archived-objects.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
type RestoreStatus struct {
|
||||
|
||||
// Specifies whether the object is currently being restored. If the object
|
||||
// restoration is in progress, the header returns the value TRUE . For example:
|
||||
// x-amz-optional-object-attributes: IsRestoreInProgress="true" If the object
|
||||
// restoration has completed, the header returns the value FALSE . For example:
|
||||
// x-amz-optional-object-attributes: IsRestoreInProgress="false",
|
||||
// RestoreExpiryDate="2012-12-21T00:00:00.000Z" If the object hasn't been restored,
|
||||
// there is no header response.
|
||||
IsRestoreInProgress bool
|
||||
|
||||
// Indicates when the restored copy will expire. This value is populated only if
|
||||
// the object has already been restored. For example:
|
||||
// x-amz-optional-object-attributes: IsRestoreInProgress="false",
|
||||
// RestoreExpiryDate="2012-12-21T00:00:00.000Z"
|
||||
RestoreExpiryDate *time.Time
|
||||
|
||||
noSmithyDocumentSerde
|
||||
}
|
||||
|
||||
// Specifies the redirect behavior and when a redirect is applied. For more
|
||||
// information about routing rules, see Configuring advanced conditional redirects (https://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html#advanced-conditional-redirects)
|
||||
// in the Amazon S3 User Guide.
|
||||
|
|
|
|||
|
|
@ -145,7 +145,7 @@ github.com/aws/aws-sdk-go-v2/credentials/stscreds
|
|||
## explicit; go 1.15
|
||||
github.com/aws/aws-sdk-go-v2/feature/ec2/imds
|
||||
github.com/aws/aws-sdk-go-v2/feature/ec2/imds/internal/config
|
||||
# github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.70
|
||||
# github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.71
|
||||
## explicit; go 1.15
|
||||
github.com/aws/aws-sdk-go-v2/feature/s3/manager
|
||||
# github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.34
|
||||
|
|
@ -186,7 +186,7 @@ github.com/aws/aws-sdk-go-v2/service/internal/presigned-url
|
|||
github.com/aws/aws-sdk-go-v2/service/internal/s3shared
|
||||
github.com/aws/aws-sdk-go-v2/service/internal/s3shared/arn
|
||||
github.com/aws/aws-sdk-go-v2/service/internal/s3shared/config
|
||||
# github.com/aws/aws-sdk-go-v2/service/s3 v1.35.0
|
||||
# github.com/aws/aws-sdk-go-v2/service/s3 v1.36.0
|
||||
## explicit; go 1.15
|
||||
github.com/aws/aws-sdk-go-v2/service/s3
|
||||
github.com/aws/aws-sdk-go-v2/service/s3/internal/arn
|
||||
|
|
|
|||
Loading…
Reference in New Issue