mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
vendor: make vendor-update
This commit is contained in:
parent
15618c99af
commit
1fa5223237
453 changed files with 31285 additions and 8923 deletions
82
go.mod
82
go.mod
|
@ -4,7 +4,7 @@ go 1.19
|
|||
|
||||
require (
|
||||
cloud.google.com/go/storage v1.30.1
|
||||
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.5.0
|
||||
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.6.0
|
||||
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.0.0
|
||||
github.com/VictoriaMetrics/fastcache v1.12.1
|
||||
|
||||
|
@ -13,57 +13,57 @@ require (
|
|||
github.com/VictoriaMetrics/fasthttp v1.2.0
|
||||
github.com/VictoriaMetrics/metrics v1.23.1
|
||||
github.com/VictoriaMetrics/metricsql v0.56.2
|
||||
github.com/aws/aws-sdk-go-v2 v1.17.8
|
||||
github.com/aws/aws-sdk-go-v2/config v1.18.20
|
||||
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.61
|
||||
github.com/aws/aws-sdk-go-v2/service/s3 v1.31.2
|
||||
github.com/aws/aws-sdk-go-v2 v1.18.0
|
||||
github.com/aws/aws-sdk-go-v2/config v1.18.25
|
||||
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.67
|
||||
github.com/aws/aws-sdk-go-v2/service/s3 v1.33.1
|
||||
github.com/cespare/xxhash/v2 v2.2.0
|
||||
github.com/cheggaaa/pb/v3 v3.1.2
|
||||
github.com/gogo/protobuf v1.3.2
|
||||
github.com/golang/snappy v0.0.4
|
||||
github.com/googleapis/gax-go/v2 v2.8.0
|
||||
github.com/influxdata/influxdb v1.11.0
|
||||
github.com/klauspost/compress v1.16.4
|
||||
github.com/prometheus/prometheus v0.43.0
|
||||
github.com/urfave/cli/v2 v2.25.1
|
||||
github.com/influxdata/influxdb v1.11.1
|
||||
github.com/klauspost/compress v1.16.5
|
||||
github.com/prometheus/prometheus v0.43.1
|
||||
github.com/urfave/cli/v2 v2.25.3
|
||||
github.com/valyala/fastjson v1.6.4
|
||||
github.com/valyala/fastrand v1.1.0
|
||||
github.com/valyala/fasttemplate v1.2.2
|
||||
github.com/valyala/gozstd v1.19.1
|
||||
github.com/valyala/histogram v1.2.0
|
||||
github.com/valyala/quicktemplate v1.7.0
|
||||
golang.org/x/net v0.9.0
|
||||
golang.org/x/oauth2 v0.7.0
|
||||
golang.org/x/sys v0.7.0
|
||||
google.golang.org/api v0.116.0
|
||||
golang.org/x/net v0.10.0
|
||||
golang.org/x/oauth2 v0.8.0
|
||||
golang.org/x/sys v0.8.0
|
||||
google.golang.org/api v0.122.0
|
||||
gopkg.in/yaml.v2 v2.4.0
|
||||
)
|
||||
|
||||
require github.com/bmatcuk/doublestar/v4 v4.6.0
|
||||
|
||||
require (
|
||||
cloud.google.com/go v0.110.0 // indirect
|
||||
cloud.google.com/go/compute v1.19.0 // indirect
|
||||
cloud.google.com/go v0.110.2 // indirect
|
||||
cloud.google.com/go/compute v1.19.2 // indirect
|
||||
cloud.google.com/go/compute/metadata v0.2.3 // indirect
|
||||
cloud.google.com/go/iam v1.0.0 // indirect
|
||||
cloud.google.com/go/iam v1.0.1 // indirect
|
||||
github.com/Azure/azure-sdk-for-go/sdk/internal v1.3.0 // indirect
|
||||
github.com/VividCortex/ewma v1.2.0 // indirect
|
||||
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 // indirect
|
||||
github.com/aws/aws-sdk-go v1.44.239 // indirect
|
||||
github.com/aws/aws-sdk-go v1.44.260 // indirect
|
||||
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.10 // indirect
|
||||
github.com/aws/aws-sdk-go-v2/credentials v1.13.19 // indirect
|
||||
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.2 // indirect
|
||||
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.32 // indirect
|
||||
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.26 // indirect
|
||||
github.com/aws/aws-sdk-go-v2/internal/ini v1.3.33 // indirect
|
||||
github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.24 // indirect
|
||||
github.com/aws/aws-sdk-go-v2/credentials v1.13.24 // indirect
|
||||
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.3 // indirect
|
||||
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.33 // indirect
|
||||
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.27 // indirect
|
||||
github.com/aws/aws-sdk-go-v2/internal/ini v1.3.34 // indirect
|
||||
github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.25 // indirect
|
||||
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.11 // indirect
|
||||
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.27 // indirect
|
||||
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.26 // indirect
|
||||
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.14.1 // indirect
|
||||
github.com/aws/aws-sdk-go-v2/service/sso v1.12.7 // indirect
|
||||
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.14.7 // indirect
|
||||
github.com/aws/aws-sdk-go-v2/service/sts v1.18.8 // indirect
|
||||
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.28 // indirect
|
||||
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.27 // indirect
|
||||
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.14.2 // indirect
|
||||
github.com/aws/aws-sdk-go-v2/service/sso v1.12.10 // indirect
|
||||
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.14.10 // indirect
|
||||
github.com/aws/aws-sdk-go-v2/service/sts v1.19.0 // indirect
|
||||
github.com/aws/smithy-go v1.13.5 // indirect
|
||||
github.com/beorn7/perks v1.0.1 // indirect
|
||||
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
|
||||
|
@ -78,6 +78,7 @@ require (
|
|||
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
||||
github.com/golang/protobuf v1.5.3 // indirect
|
||||
github.com/google/go-cmp v0.5.9 // indirect
|
||||
github.com/google/s2a-go v0.1.3 // indirect
|
||||
github.com/google/uuid v1.3.0 // indirect
|
||||
github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect
|
||||
github.com/grafana/regexp v0.0.0-20221122212121-6b5c0a4cb7fd // indirect
|
||||
|
@ -91,9 +92,9 @@ require (
|
|||
github.com/oklog/ulid v1.3.1 // indirect
|
||||
github.com/pkg/errors v0.9.1 // indirect
|
||||
github.com/pmezard/go-difflib v1.0.0 // indirect
|
||||
github.com/prometheus/client_golang v1.14.0 // indirect
|
||||
github.com/prometheus/client_model v0.3.0 // indirect
|
||||
github.com/prometheus/common v0.42.0 // indirect
|
||||
github.com/prometheus/client_golang v1.15.1 // indirect
|
||||
github.com/prometheus/client_model v0.4.0 // indirect
|
||||
github.com/prometheus/common v0.43.0 // indirect
|
||||
github.com/prometheus/common/sigv4 v0.1.0 // indirect
|
||||
github.com/prometheus/procfs v0.9.0 // indirect
|
||||
github.com/rivo/uniseg v0.4.4 // indirect
|
||||
|
@ -102,20 +103,21 @@ require (
|
|||
github.com/valyala/bytebufferpool v1.0.0 // indirect
|
||||
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect
|
||||
go.opencensus.io v0.24.0 // indirect
|
||||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.40.0 // indirect
|
||||
go.opentelemetry.io/otel v1.14.0 // indirect
|
||||
go.opentelemetry.io/otel/metric v0.37.0 // indirect
|
||||
go.opentelemetry.io/otel/trace v1.14.0 // indirect
|
||||
go.uber.org/atomic v1.10.0 // indirect
|
||||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.41.1 // indirect
|
||||
go.opentelemetry.io/otel v1.15.1 // indirect
|
||||
go.opentelemetry.io/otel/metric v0.38.1 // indirect
|
||||
go.opentelemetry.io/otel/trace v1.15.1 // indirect
|
||||
go.uber.org/atomic v1.11.0 // indirect
|
||||
go.uber.org/goleak v1.2.1 // indirect
|
||||
golang.org/x/exp v0.0.0-20230321023759-10a507213a29 // indirect
|
||||
golang.org/x/sync v0.1.0 // indirect
|
||||
golang.org/x/crypto v0.9.0 // indirect
|
||||
golang.org/x/exp v0.0.0-20230425010034-47ecfdc1ba53 // indirect
|
||||
golang.org/x/sync v0.2.0 // indirect
|
||||
golang.org/x/text v0.9.0 // indirect
|
||||
golang.org/x/time v0.3.0 // indirect
|
||||
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
|
||||
google.golang.org/appengine v1.6.7 // indirect
|
||||
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
|
||||
google.golang.org/grpc v1.54.0 // indirect
|
||||
google.golang.org/grpc v1.55.0 // indirect
|
||||
google.golang.org/protobuf v1.30.0 // indirect
|
||||
gopkg.in/yaml.v3 v3.0.1 // indirect
|
||||
)
|
||||
|
|
196
go.sum
196
go.sum
|
@ -13,22 +13,22 @@ cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKV
|
|||
cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs=
|
||||
cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc=
|
||||
cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY=
|
||||
cloud.google.com/go v0.110.0 h1:Zc8gqp3+a9/Eyph2KDmcGaPtbKRIoqq4YTlL4NMD0Ys=
|
||||
cloud.google.com/go v0.110.0/go.mod h1:SJnCLqQ0FCFGSZMUNUf84MV3Aia54kn7pi8st7tMzaY=
|
||||
cloud.google.com/go v0.110.2 h1:sdFPBr6xG9/wkBbfhmUz/JmZC7X6LavQgcrVINrKiVA=
|
||||
cloud.google.com/go v0.110.2/go.mod h1:k04UEeEtb6ZBRTv3dZz4CeJC3jKGxyhl0sAiVVquxiw=
|
||||
cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o=
|
||||
cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE=
|
||||
cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc=
|
||||
cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg=
|
||||
cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc=
|
||||
cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ=
|
||||
cloud.google.com/go/compute v1.19.0 h1:+9zda3WGgW1ZSTlVppLCYFIr48Pa35q1uG2N1itbCEQ=
|
||||
cloud.google.com/go/compute v1.19.0/go.mod h1:rikpw2y+UMidAe9tISo04EHNOIf42RLYF/q8Bs93scU=
|
||||
cloud.google.com/go/compute v1.19.2 h1:GbJtPo8OKVHbVep8jvM57KidbYHxeE68LOVqouNLrDY=
|
||||
cloud.google.com/go/compute v1.19.2/go.mod h1:5f5a+iC1IriXYauaQ0EyQmEAEq9CGRnV5xJSQSlTV08=
|
||||
cloud.google.com/go/compute/metadata v0.2.3 h1:mg4jlk7mCAj6xXp9UJ4fjI9VUI5rubuGBW5aJ7UnBMY=
|
||||
cloud.google.com/go/compute/metadata v0.2.3/go.mod h1:VAV5nSsACxMJvgaAuX6Pk2AawlZn8kiOGuCv6gTkwuA=
|
||||
cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE=
|
||||
cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk=
|
||||
cloud.google.com/go/iam v1.0.0 h1:hlQJMovyJJwYjZcTohUH4o1L8Z8kYz+E+W/zktiLCBc=
|
||||
cloud.google.com/go/iam v1.0.0/go.mod h1:ikbQ4f1r91wTmBmmOtBCOtuEOei6taatNXytzB7Cxew=
|
||||
cloud.google.com/go/iam v1.0.1 h1:lyeCAU6jpnVNrE9zGQkTl3WgNgK/X+uWwaw0kynZJMU=
|
||||
cloud.google.com/go/iam v1.0.1/go.mod h1:yR3tmSL8BcZB4bxByRv2jkSIahVmCtfKZwLYGBalRE8=
|
||||
cloud.google.com/go/longrunning v0.4.1 h1:v+yFJOfKC3yZdY6ZUI933pIYdhyhV8S3NpWrXWmg7jM=
|
||||
cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I=
|
||||
cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw=
|
||||
|
@ -43,8 +43,8 @@ cloud.google.com/go/storage v1.30.1 h1:uOdMxAs8HExqBlnLtnQyP0YkvbiDpdGShGKtx6U/o
|
|||
cloud.google.com/go/storage v1.30.1/go.mod h1:NfxhC0UJE1aXSx7CIIbCf7y9HKT7BiccwkR7+P7gN8E=
|
||||
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
|
||||
github.com/Azure/azure-sdk-for-go v65.0.0+incompatible h1:HzKLt3kIwMm4KeJYTdx9EbjRYTySD/t8i1Ee/W5EGXw=
|
||||
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.5.0 h1:xGLAFFd9D3iLGxYiUGPdITSzsFmU1K8VtfuUHWAoN7M=
|
||||
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.5.0/go.mod h1:bjGvMhVMb+EEm3VRNQawDMUyMMjo+S5ewNjflkep/0Q=
|
||||
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.6.0 h1:8kDqDngH+DmVBiCtIjCFTGa7MBnsIOkF9IccInFEbjk=
|
||||
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.6.0/go.mod h1:bjGvMhVMb+EEm3VRNQawDMUyMMjo+S5ewNjflkep/0Q=
|
||||
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.1.0 h1:QkAcEIAKbNL4KoFr4SathZPhDhF4mVwpBMFlYjyAqy8=
|
||||
github.com/Azure/azure-sdk-for-go/sdk/internal v1.3.0 h1:sXr+ck84g/ZlZUOZiNELInmMgOsuGwdjjVkEIde0OtY=
|
||||
github.com/Azure/azure-sdk-for-go/sdk/internal v1.3.0/go.mod h1:okt5dMMTOFjX/aovMlrjvvXoPMBVSPzk9185BT0+eZM=
|
||||
|
@ -84,46 +84,47 @@ github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156 h1:eMwmnE/GDgah
|
|||
github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156/go.mod h1:Cb/ax3seSYIx7SuZdm2G2xzfwmv3TPSk2ucNfQESPXM=
|
||||
github.com/andybalholm/brotli v1.0.2/go.mod h1:loMXtMfwqflxFJPmdbJO0a3KNoPuLBgiu3qAvBg8x/Y=
|
||||
github.com/andybalholm/brotli v1.0.3/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
|
||||
github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
|
||||
github.com/armon/go-metrics v0.4.1 h1:hR91U9KYmb6bLBYLQjyM+3j+rcd/UhE+G78SFnF8gJA=
|
||||
github.com/aws/aws-sdk-go v1.38.35/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro=
|
||||
github.com/aws/aws-sdk-go v1.44.239 h1:AenB6byCYGSBb30q99CGYqFbqpLpWrTidzm7MzxtuPo=
|
||||
github.com/aws/aws-sdk-go v1.44.239/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI=
|
||||
github.com/aws/aws-sdk-go-v2 v1.17.8 h1:GMupCNNI7FARX27L7GjCJM8NgivWbRgpjNI/hOQjFS8=
|
||||
github.com/aws/aws-sdk-go-v2 v1.17.8/go.mod h1:uzbQtefpm44goOPmdKyAlXSNcwlRgF3ePWVW6EtJvvw=
|
||||
github.com/aws/aws-sdk-go v1.44.260 h1:78IJkDpDPXvLXvIkNAKDP/i3z8Vj+3sTAtQYw/v/2o8=
|
||||
github.com/aws/aws-sdk-go v1.44.260/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI=
|
||||
github.com/aws/aws-sdk-go-v2 v1.18.0 h1:882kkTpSFhdgYRKVZ/VCgf7sd0ru57p2JCxz4/oN5RY=
|
||||
github.com/aws/aws-sdk-go-v2 v1.18.0/go.mod h1:uzbQtefpm44goOPmdKyAlXSNcwlRgF3ePWVW6EtJvvw=
|
||||
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.10 h1:dK82zF6kkPeCo8J1e+tGx4JdvDIQzj7ygIoLg8WMuGs=
|
||||
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.10/go.mod h1:VeTZetY5KRJLuD/7fkQXMU6Mw7H5m/KP2J5Iy9osMno=
|
||||
github.com/aws/aws-sdk-go-v2/config v1.18.20 h1:yYy+onqmLmDVZtx0mkqbx8aJPl+58V6ivLbLDZ2Qztc=
|
||||
github.com/aws/aws-sdk-go-v2/config v1.18.20/go.mod h1:RWjF39RiDevmHw/+VaD8F0A36OPIPTHQQyRx0eZohnw=
|
||||
github.com/aws/aws-sdk-go-v2/credentials v1.13.19 h1:FWHJy9uggyQCSEhovtl/6W6rW9P6DSr62GUeY/TS6Eo=
|
||||
github.com/aws/aws-sdk-go-v2/credentials v1.13.19/go.mod h1:2m4uvLvl5hvQezVkLeBBUGMEDm5GcUNc3016W6d3NGg=
|
||||
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.2 h1:jOzQAesnBFDmz93feqKnsTHsXrlwWORNZMFHMV+WLFU=
|
||||
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.2/go.mod h1:cDh1p6XkSGSwSRIArWRc6+UqAQ7x4alQ0QfpVR6f+co=
|
||||
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.61 h1:0fHTNkoMAz7jbXSyo0SLubbTJEO+AgvkZ0iWT9DbEsk=
|
||||
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.61/go.mod h1:i8l1At/vjpY8xf1ivKUBJE4+DQyE0gM9Zdg3ZpC/7RU=
|
||||
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.32 h1:dpbVNUjczQ8Ae3QKHbpHBpfvaVkRdesxpTOe9pTouhU=
|
||||
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.32/go.mod h1:RudqOgadTWdcS3t/erPQo24pcVEoYyqj/kKW5Vya21I=
|
||||
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.26 h1:QH2kOS3Ht7x+u0gHCh06CXL/h6G8LQJFpZfFBYBNboo=
|
||||
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.26/go.mod h1:vq86l7956VgFr0/FWQ2BWnK07QC3WYsepKzy33qqY5U=
|
||||
github.com/aws/aws-sdk-go-v2/internal/ini v1.3.33 h1:HbH1VjUgrCdLJ+4lnnuLI4iVNRvBbBELGaJ5f69ClA8=
|
||||
github.com/aws/aws-sdk-go-v2/internal/ini v1.3.33/go.mod h1:zG2FcwjQarWaqXSCGpgcr3RSjZ6dHGguZSppUL0XR7Q=
|
||||
github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.24 h1:zsg+5ouVLLbePknVZlUMm1ptwyQLkjjLMWnN+kVs5dA=
|
||||
github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.24/go.mod h1:+fFaIjycTmpV6hjmPTbyU9Kp5MI/lA+bbibcAtmlhYA=
|
||||
github.com/aws/aws-sdk-go-v2/config v1.18.25 h1:JuYyZcnMPBiFqn87L2cRppo+rNwgah6YwD3VuyvaW6Q=
|
||||
github.com/aws/aws-sdk-go-v2/config v1.18.25/go.mod h1:dZnYpD5wTW/dQF0rRNLVypB396zWCcPiBIvdvSWHEg4=
|
||||
github.com/aws/aws-sdk-go-v2/credentials v1.13.24 h1:PjiYyls3QdCrzqUN35jMWtUK1vqVZ+zLfdOa/UPFDp0=
|
||||
github.com/aws/aws-sdk-go-v2/credentials v1.13.24/go.mod h1:jYPYi99wUOPIFi0rhiOvXeSEReVOzBqFNOX5bXYoG2o=
|
||||
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.3 h1:jJPgroehGvjrde3XufFIJUZVK5A2L9a3KwSFgKy9n8w=
|
||||
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/s3/manager v1.11.67 h1:fI9/5BDEaAv/pv1VO1X1n3jfP9it+IGqWsCuuBQI8wM=
|
||||
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.67/go.mod h1:zQClPRIwQZfJlZq6WZve+s4Tb4JW+3V6eS+4+KrYeP8=
|
||||
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.33 h1:kG5eQilShqmJbv11XL1VpyDbaEJzWxd4zRiCG30GSn4=
|
||||
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/endpoints/v2 v2.4.27 h1:vFQlirhuM8lLlpI7imKOMsjdQLuN9CPi+k44F/OFVsk=
|
||||
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.27/go.mod h1:UrHnn3QV/d0pBZ6QBAEQcqFLf8FAzLmoUfPVIueOvoM=
|
||||
github.com/aws/aws-sdk-go-v2/internal/ini v1.3.34 h1:gGLG7yKaXG02/jBlg210R7VgQIotiQntNhsCFejawx8=
|
||||
github.com/aws/aws-sdk-go-v2/internal/ini v1.3.34/go.mod h1:Etz2dj6UHYuw+Xw830KfzCfWGMzqvUTCjUj5b76GVDc=
|
||||
github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.25 h1:AzwRi5OKKwo4QNqPf7TjeO+tK8AyOK3GVSwmRPo7/Cs=
|
||||
github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.25/go.mod h1:SUbB4wcbSEyCvqBxv/O/IBf93RbEze7U7OnoTlpPB+g=
|
||||
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.11 h1:y2+VQzC6Zh2ojtV2LoC0MNwHWc6qXv/j2vrQtlftkdA=
|
||||
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.11/go.mod h1:iV4q2hsqtNECrfmlXyord9u4zyuFEJX9eLgLpSPzWA8=
|
||||
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.27 h1:qIw7Hg5eJEc1uSxg3hRwAthPAO7NeOd4dPxhaTi0yB0=
|
||||
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.27/go.mod h1:Zz0kvhcSlu3NX4XJkaGgdjaa+u7a9LYuy8JKxA5v3RM=
|
||||
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.26 h1:uUt4XctZLhl9wBE1L8lobU3bVN8SNUP7T+olb0bWBO4=
|
||||
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.26/go.mod h1:Bd4C/4PkVGubtNe5iMXu5BNnaBi/9t/UsFspPt4ram8=
|
||||
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.14.1 h1:lRWp3bNu5wy0X3a8GS42JvZFlv++AKsMdzEnoiVJrkg=
|
||||
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.14.1/go.mod h1:VXBHSxdN46bsJrkniN68psSwbyBKsazQfU2yX/iSDso=
|
||||
github.com/aws/aws-sdk-go-v2/service/s3 v1.31.2 h1:iOZoYePk+EuBI1tC7bxeRjO+JvClcYm2fZYW5WPIOMQ=
|
||||
github.com/aws/aws-sdk-go-v2/service/s3 v1.31.2/go.mod h1:aSl9/LJltSz1cVusiR/Mu8tvI4Sv/5w/WWrJmmkNii0=
|
||||
github.com/aws/aws-sdk-go-v2/service/sso v1.12.7 h1:rrYYhsvcvg6CDDoo4GHKtAWBFutS86CpmGvqHJHYL9w=
|
||||
github.com/aws/aws-sdk-go-v2/service/sso v1.12.7/go.mod h1:GNIveDnP+aE3jujyUSH5aZ/rktsTM5EvtKnCqBZawdw=
|
||||
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.14.7 h1:Vjpjt3svuJ/u+eKRfycZwqLsLoxyuvvZyHMJSk+3k58=
|
||||
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.14.7/go.mod h1:44qFP1g7pfd+U+sQHLPalAPKnyfTZjJsYR4xIwsJy5o=
|
||||
github.com/aws/aws-sdk-go-v2/service/sts v1.18.8 h1:SQ8pPoXfzuz4DImO4KAi9xhO4ANG0Ckb5clZ5GoRAPw=
|
||||
github.com/aws/aws-sdk-go-v2/service/sts v1.18.8/go.mod h1:yyW88BEPXA2fGFyI2KCcZC3dNpiT0CZAHaF+i656/tQ=
|
||||
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.28 h1:vGWm5vTpMr39tEZfQeDiDAMgk+5qsnvRny3FjLpnH5w=
|
||||
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.28/go.mod h1:spfrICMD6wCAhjhzHuy6DOZZ+LAIY10UxhUmLzpJTTs=
|
||||
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.27 h1:0iKliEXAcCa2qVtRs7Ot5hItA2MsufrphbRFlz1Owxo=
|
||||
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.27/go.mod h1:EOwBD4J4S5qYszS5/3DpkejfuK+Z5/1uzICfPaZLtqw=
|
||||
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.14.2 h1:NbWkRxEEIRSCqxhsHQuMiTH7yo+JZW1gp8v3elSVMTQ=
|
||||
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.14.2/go.mod h1:4tfW5l4IAB32VWCDEBxCRtR9T4BWy4I4kr1spr8NgZM=
|
||||
github.com/aws/aws-sdk-go-v2/service/s3 v1.33.1 h1:O+9nAy9Bb6bJFTpeNFtd9UfHbgxO1o4ZDAM9rQp5NsY=
|
||||
github.com/aws/aws-sdk-go-v2/service/s3 v1.33.1/go.mod h1:J9kLNzEiHSeGMyN7238EjJmBpCniVzFda75Gxl/NqB8=
|
||||
github.com/aws/aws-sdk-go-v2/service/sso v1.12.10 h1:UBQjaMTCKwyUYwiVnUt6toEJwGXsLBI6al083tpjJzY=
|
||||
github.com/aws/aws-sdk-go-v2/service/sso v1.12.10/go.mod h1:ouy2P4z6sJN70fR3ka3wD3Ro3KezSxU6eKGQI2+2fjI=
|
||||
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.14.10 h1:PkHIIJs8qvq0e5QybnZoG1K/9QTrLr9OsqCIo59jOBA=
|
||||
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.14.10/go.mod h1:AFvkxc8xfBe8XA+5St5XIHHrQQtkxqrRincx4hmMHOk=
|
||||
github.com/aws/aws-sdk-go-v2/service/sts v1.19.0 h1:2DQLAKDteoEDI8zpCzqBMaZlJuoE9iTYD0gFmXVax9E=
|
||||
github.com/aws/aws-sdk-go-v2/service/sts v1.19.0/go.mod h1:BgQOMsg8av8jset59jelyPW7NoZcZXLVpDsXunGDrk8=
|
||||
github.com/aws/smithy-go v1.13.5 h1:hgz0X/DX0dGqTYpGALqXJoRKRj5oQ7150i5FdTePzO8=
|
||||
github.com/aws/smithy-go v1.13.5/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA=
|
||||
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=
|
||||
|
@ -143,7 +144,12 @@ github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5P
|
|||
github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU=
|
||||
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
|
||||
github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
|
||||
github.com/cncf/xds/go v0.0.0-20230112175826-46e39c7b9b43 h1:XP+uhjN0yBCN/tPkr8Z0BNDc5rZam9RG6UWyf2FrSQ0=
|
||||
github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
|
||||
github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI=
|
||||
github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
|
||||
github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
|
||||
github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
|
||||
github.com/cncf/xds/go v0.0.0-20230310173818-32f1caf87195 h1:58f1tJ1ra+zFINPlwLWvQsR9CzAKt2e+EWV2yX9oXQ4=
|
||||
github.com/cpuguy83/go-md2man/v2 v2.0.2 h1:p1EgwI/C7NhT0JmVkwCD2ZBK8j4aeHQX2pMHHBfMQ6w=
|
||||
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
|
||||
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
||||
|
@ -162,14 +168,17 @@ github.com/emicklei/go-restful/v3 v3.10.1 h1:rc42Y5YTp7Am7CS630D7JmhRjq4UlEUuEKf
|
|||
github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
|
||||
github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
|
||||
github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98=
|
||||
github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk=
|
||||
github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0=
|
||||
github.com/envoyproxy/go-control-plane v0.11.0 h1:jtLewhRR2vMRNnq2ZZUoCjUlgut+Y0+sDDWPOfwOi1o=
|
||||
github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
|
||||
github.com/envoyproxy/protoc-gen-validate v0.9.1 h1:PS7VIOgmSVhWUEeZwTe7z7zouA22Cr590PzXKbZHOVY=
|
||||
github.com/envoyproxy/protoc-gen-validate v0.10.0 h1:oIfnZFdC0YhpNNEX+SuIqko4cqqVZeN9IGTrhZje83Y=
|
||||
github.com/fatih/color v1.15.0 h1:kOqh6YHBtK8aywxGerMG2Eq3H6Qgoqeo13Bk2Mv/nBs=
|
||||
github.com/fatih/color v1.15.0/go.mod h1:0h5ZqXfHYED7Bhv2ZJamyIOUej9KtShiJESRwBDUSsw=
|
||||
github.com/felixge/httpsnoop v1.0.3 h1:s/nj+GCswXYzN5v2DpNMuMQYe+0DDwt5WVCU6CWBdXk=
|
||||
github.com/felixge/httpsnoop v1.0.3/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U=
|
||||
github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY=
|
||||
github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
|
||||
github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU=
|
||||
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
|
||||
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
|
||||
|
@ -227,6 +236,7 @@ github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QD
|
|||
github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
|
||||
github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
|
||||
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
|
||||
github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
|
||||
github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg=
|
||||
github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
|
||||
github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
|
||||
|
@ -263,6 +273,8 @@ github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hf
|
|||
github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
|
||||
github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
|
||||
github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
|
||||
github.com/google/s2a-go v0.1.3 h1:FAgZmpLl/SXurPEZyCMPBIiiYeTbqfjlbdnCNTAkbGE=
|
||||
github.com/google/s2a-go v0.1.3/go.mod h1:Ej+mSEMGRnqRzjc7VtF+jdBwYG5fuJfiZ8ELkjEwM0A=
|
||||
github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
|
||||
github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I=
|
||||
github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
|
||||
|
@ -276,6 +288,7 @@ github.com/gophercloud/gophercloud v1.2.0 h1:1oXyj4g54KBg/kFtCdMM6jtxSzeIyg8wv4z
|
|||
github.com/gorilla/websocket v1.5.0 h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc=
|
||||
github.com/grafana/regexp v0.0.0-20221122212121-6b5c0a4cb7fd h1:PpuIBO5P3e9hpqBD0O/HjhShYuM6XE0i/lbE6J94kww=
|
||||
github.com/grafana/regexp v0.0.0-20221122212121-6b5c0a4cb7fd/go.mod h1:M5qHK+eWfAv8VR/265dIuEpL3fNfeC21tXXp9itM24A=
|
||||
github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw=
|
||||
github.com/hashicorp/consul/api v1.20.0 h1:9IHTjNVSZ7MIwjlW3N3a7iGiykCMDpxZu8jsxFJh0yc=
|
||||
github.com/hashicorp/cronexpr v1.1.1 h1:NJZDd87hGXjoZBdvyCF9mX4DCq5Wy7+A/w+A7q0wn6c=
|
||||
github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I=
|
||||
|
@ -293,8 +306,8 @@ github.com/hashicorp/serf v0.10.1 h1:Z1H2J60yRKvfDYAOZLd2MU0ND4AH/WDz7xYHDWQsIPY
|
|||
github.com/hetznercloud/hcloud-go v1.41.0 h1:KJGFRRc68QiVu4PrEP5BmCQVveCP2CM26UGQUKGpIUs=
|
||||
github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
|
||||
github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk=
|
||||
github.com/influxdata/influxdb v1.11.0 h1:0X+ZsbcOWc6AEi5MHee9BYqXCKmz8IZsljrRYjmV8Qg=
|
||||
github.com/influxdata/influxdb v1.11.0/go.mod h1:V93tJcidY0Zh0LtSONZWnXXGDyt20dtVf+Ddp4EnhaA=
|
||||
github.com/influxdata/influxdb v1.11.1 h1:VEkQVMJ83gjpyS2FJuQaSbt4Mu+btGBoZbVq0XwTHGQ=
|
||||
github.com/influxdata/influxdb v1.11.1/go.mod h1:WSTwm8ZvJARODSZJfcxdghcjCQVstHwClgO6MrbnGt0=
|
||||
github.com/ionos-cloud/sdk-go/v6 v6.1.4 h1:BJHhFA8Q1SZC7VOXqKKr2BV2ysQ2/4hlk1e4hZte7GY=
|
||||
github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg=
|
||||
github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo=
|
||||
|
@ -315,14 +328,14 @@ github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI
|
|||
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
|
||||
github.com/klauspost/compress v1.13.4/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8eO+e+Dq5Gzg=
|
||||
github.com/klauspost/compress v1.13.5/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk=
|
||||
github.com/klauspost/compress v1.16.4 h1:91KN02FnsOYhuunwU4ssRe8lc2JosWmizWa91B5v1PU=
|
||||
github.com/klauspost/compress v1.16.4/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQskQzEyD//IeE=
|
||||
github.com/klauspost/compress v1.16.5 h1:IFV2oUNUzZaz+XyusxpLzpzS8Pt5rh0Z16For/djlyI=
|
||||
github.com/klauspost/compress v1.16.5/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQskQzEyD//IeE=
|
||||
github.com/kolo/xmlrpc v0.0.0-20220921171641-a4b6fa1dd06b h1:udzkj9S/zlT5X367kqJis0QP7YMxobob6zhzq6Yre00=
|
||||
github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
|
||||
github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
|
||||
github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc=
|
||||
github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI=
|
||||
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
|
||||
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
|
||||
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
|
||||
github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
|
||||
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
|
||||
|
@ -368,20 +381,20 @@ github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXP
|
|||
github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo=
|
||||
github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M=
|
||||
github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0=
|
||||
github.com/prometheus/client_golang v1.14.0 h1:nJdhIvne2eSX/XRAFV9PcvFFRbrjbcTUj0VP62TMhnw=
|
||||
github.com/prometheus/client_golang v1.14.0/go.mod h1:8vpkKitgIVNcqrRBWh1C4TIUQgYNtG/XQE4E/Zae36Y=
|
||||
github.com/prometheus/client_golang v1.15.1 h1:8tXpTmJbyH5lydzFPoxSIJ0J46jdh3tylbvM1xCv0LI=
|
||||
github.com/prometheus/client_golang v1.15.1/go.mod h1:e9yaBhRPU2pPNsZwE+JdQl0KEt1N9XgF6zxWmaC0xOk=
|
||||
github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo=
|
||||
github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
|
||||
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
|
||||
github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
|
||||
github.com/prometheus/client_model v0.3.0 h1:UBgGFHqYdG/TPFD1B1ogZywDqEkwp3fBMvqdiQ7Xew4=
|
||||
github.com/prometheus/client_model v0.3.0/go.mod h1:LDGWKZIo7rky3hgvBe+caln+Dr3dPggB5dvjtD7w9+w=
|
||||
github.com/prometheus/client_model v0.4.0 h1:5lQXD3cAg1OXBf4Wq03gTrXHeaV0TQvGfUooCfx1yqY=
|
||||
github.com/prometheus/client_model v0.4.0/go.mod h1:oMQmHW1/JoDwqLtg57MGgP/Fb1CJEYF2imWWhWtMkYU=
|
||||
github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4=
|
||||
github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo=
|
||||
github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc=
|
||||
github.com/prometheus/common v0.29.0/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls=
|
||||
github.com/prometheus/common v0.42.0 h1:EKsfXEYo4JpWMHH5cg+KOUWeuJSov1Id8zGR8eeI1YM=
|
||||
github.com/prometheus/common v0.42.0/go.mod h1:xBwqVerjNdUDjgODMpudtOMwlOwf2SaTr1yjz4b7Zbc=
|
||||
github.com/prometheus/common v0.43.0 h1:iq+BVjvYLei5f27wiuNiB1DN6DYQkp1c8Bx0Vykh5us=
|
||||
github.com/prometheus/common v0.43.0/go.mod h1:NCvr5cQIh3Y/gy73/RdVtC9r8xxrxwJnB+2lB3BxrFc=
|
||||
github.com/prometheus/common/sigv4 v0.1.0 h1:qoVebwtwwEhS85Czm2dSROY5fTo2PAPEVdDeppTwGX4=
|
||||
github.com/prometheus/common/sigv4 v0.1.0/go.mod h1:2Jkxxk9yYvCkE5G1sQT7GuEXm57JrvHu9k5YwTjsNtI=
|
||||
github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk=
|
||||
|
@ -390,12 +403,14 @@ github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4O
|
|||
github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA=
|
||||
github.com/prometheus/procfs v0.9.0 h1:wzCHvIvM5SxWqYvwgVL7yJY8Lz3PKn49KQtpgMYJfhI=
|
||||
github.com/prometheus/procfs v0.9.0/go.mod h1:+pB4zwohETzFnmlpe6yd2lSc+0/46IYZRB/chUwxUZY=
|
||||
github.com/prometheus/prometheus v0.43.0 h1:18iCSfrbAHbXvYFvR38U1Pt4uZmU9SmDcCpCrBKUiGg=
|
||||
github.com/prometheus/prometheus v0.43.0/go.mod h1:2BA14LgBeqlPuzObSEbh+Y+JwLH2GcqDlJKbF2sA6FM=
|
||||
github.com/prometheus/prometheus v0.43.1 h1:Z/Z0S0CoPUVtUnHGokFksWMssSw2Y1Ir9NnWS1pPWU0=
|
||||
github.com/prometheus/prometheus v0.43.1/go.mod h1:2BA14LgBeqlPuzObSEbh+Y+JwLH2GcqDlJKbF2sA6FM=
|
||||
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
|
||||
github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis=
|
||||
github.com/rivo/uniseg v0.4.4/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=
|
||||
github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ=
|
||||
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
|
||||
github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ=
|
||||
github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk=
|
||||
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
|
||||
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.14 h1:yFl3jyaSVLNYXlnNYM5z2pagEk1dYQhfr1p20T1NyKY=
|
||||
|
@ -410,14 +425,15 @@ github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpE
|
|||
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
|
||||
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
|
||||
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
|
||||
github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
|
||||
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
||||
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
||||
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
|
||||
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
|
||||
github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8=
|
||||
github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
|
||||
github.com/urfave/cli/v2 v2.25.1 h1:zw8dSP7ghX0Gmm8vugrs6q9Ku0wzweqPyshy+syu9Gw=
|
||||
github.com/urfave/cli/v2 v2.25.1/go.mod h1:GHupkWPMM0M/sj1a2b4wUrWBPzazNrIjouW6fmdJLxc=
|
||||
github.com/urfave/cli/v2 v2.25.3 h1:VJkt6wvEBOoSjPFQvOkv6iWIrsJyCrKGtCtxXWwmGeY=
|
||||
github.com/urfave/cli/v2 v2.25.3/go.mod h1:GHupkWPMM0M/sj1a2b4wUrWBPzazNrIjouW6fmdJLxc=
|
||||
github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw=
|
||||
github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc=
|
||||
github.com/valyala/fasthttp v1.30.0/go.mod h1:2rsYD01CKFrjjsvFxx75KlEUNpWNBY9JWD3K/7o2Cus=
|
||||
|
@ -449,16 +465,17 @@ go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
|
|||
go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
|
||||
go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0=
|
||||
go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo=
|
||||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.40.0 h1:lE9EJyw3/JhrjWH/hEy9FptnalDQgj7vpbgC2KCCCxE=
|
||||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.40.0/go.mod h1:pcQ3MM3SWvrA71U4GDqv9UFDJ3HQsW7y5ZO3tDTlUdI=
|
||||
go.opentelemetry.io/otel v1.14.0 h1:/79Huy8wbf5DnIPhemGB+zEPVwnN6fuQybr/SRXa6hM=
|
||||
go.opentelemetry.io/otel v1.14.0/go.mod h1:o4buv+dJzx8rohcUeRmWUZhqupFvzWis188WlggnNeU=
|
||||
go.opentelemetry.io/otel/metric v0.37.0 h1:pHDQuLQOZwYD+Km0eb657A25NaRzy0a+eLyKfDXedEs=
|
||||
go.opentelemetry.io/otel/metric v0.37.0/go.mod h1:DmdaHfGt54iV6UKxsV9slj2bBRJcKC1B1uvDLIioc1s=
|
||||
go.opentelemetry.io/otel/trace v1.14.0 h1:wp2Mmvj41tDsyAJXiWDWpfNsOiIyd38fy85pyKcFq/M=
|
||||
go.opentelemetry.io/otel/trace v1.14.0/go.mod h1:8avnQLK+CG77yNLUae4ea2JDQ6iT+gozhnZjy/rw9G8=
|
||||
go.uber.org/atomic v1.10.0 h1:9qC72Qh0+3MqyJbAn8YU5xVq1frD8bn3JtD2oXtafVQ=
|
||||
go.uber.org/atomic v1.10.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0=
|
||||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.41.1 h1:pX+lppB8PArapyhS6nBStyQmkaDUPWdQf0UmEGRCQ54=
|
||||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.41.1/go.mod h1:2FmkXne0k9nkp27LD/m+uoh8dNlstsiCJ7PLc/S72aI=
|
||||
go.opentelemetry.io/otel v1.15.1 h1:3Iwq3lfRByPaws0f6bU3naAqOR1n5IeDWd9390kWHa8=
|
||||
go.opentelemetry.io/otel v1.15.1/go.mod h1:mHHGEHVDLal6YrKMmk9LqC4a3sF5g+fHfrttQIB1NTc=
|
||||
go.opentelemetry.io/otel/metric v0.38.1 h1:2MM7m6wPw9B8Qv8iHygoAgkbejed59uUR6ezR5T3X2s=
|
||||
go.opentelemetry.io/otel/metric v0.38.1/go.mod h1:FwqNHD3I/5iX9pfrRGZIlYICrJv0rHEUl2Ln5vdIVnQ=
|
||||
go.opentelemetry.io/otel/trace v1.15.1 h1:uXLo6iHJEzDfrNC0L0mNjItIp06SyaBQxu5t3xMlngY=
|
||||
go.opentelemetry.io/otel/trace v1.15.1/go.mod h1:IWdQG/5N1x7f6YUlmdLeJvH9yxtuJAfc4VW5Agv9r/8=
|
||||
go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI=
|
||||
go.uber.org/atomic v1.11.0 h1:ZvwS0R+56ePWxUNi+Atn9dWONBPp/AUETXlHW0DxSjE=
|
||||
go.uber.org/atomic v1.11.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0=
|
||||
go.uber.org/goleak v1.2.1 h1:NBol2c7O1ZokfZ0LEU9K6Whx/KnwvepVetCUhtKja4A=
|
||||
go.uber.org/goleak v1.2.1/go.mod h1:qlT2yGI9QafXHhZZLxlSuNsMw3FFLxBr+tBRlmO1xH4=
|
||||
golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
|
||||
|
@ -469,7 +486,9 @@ golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8U
|
|||
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
|
||||
golang.org/x/crypto v0.0.0-20210513164829-c07d793c2f9a/go.mod h1:P+XmwS30IXTQdn5tA2iutPOUgjI07+tq3H3K9MVA1s8=
|
||||
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
|
||||
golang.org/x/crypto v0.7.0 h1:AvwMYaRytfdeVt3u6mLaxYtErKYjxA2OXjJ1HHq6t3A=
|
||||
golang.org/x/crypto v0.0.0-20220314234659-1baeb1ce4c0b/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
|
||||
golang.org/x/crypto v0.9.0 h1:LF6fAI+IutBocDJ2OT0Q1g8plpYljMZ4+lty+dsqw3g=
|
||||
golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0=
|
||||
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
|
||||
golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
|
||||
golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8=
|
||||
|
@ -480,8 +499,8 @@ golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u0
|
|||
golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4=
|
||||
golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM=
|
||||
golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU=
|
||||
golang.org/x/exp v0.0.0-20230321023759-10a507213a29 h1:ooxPy7fPvB4kwsA2h+iBNHkAbp/4JxTSwCmvdjEYmug=
|
||||
golang.org/x/exp v0.0.0-20230321023759-10a507213a29/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc=
|
||||
golang.org/x/exp v0.0.0-20230425010034-47ecfdc1ba53 h1:5llv2sWeaMSnA3w2kS57ouQQ4pudlXrR0dCgw51QK9o=
|
||||
golang.org/x/exp v0.0.0-20230425010034-47ecfdc1ba53/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w=
|
||||
golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js=
|
||||
golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
|
||||
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
|
||||
|
@ -537,18 +556,19 @@ golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwY
|
|||
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
|
||||
golang.org/x/net v0.0.0-20210510120150-4163338589ed/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
||||
golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
||||
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
||||
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
|
||||
golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco=
|
||||
golang.org/x/net v0.9.0 h1:aWJ/m6xSmxWBx+V0XRHTlrYrPG56jKsLdTFmsSsCzOM=
|
||||
golang.org/x/net v0.9.0/go.mod h1:d48xBJpPfHeWQsugry2m+kC02ZBRGRgulfHnEXEuWns=
|
||||
golang.org/x/net v0.10.0 h1:X2//UzNDwYmtCLn7To6G58Wr6f5ahEAQgKNzv9Y951M=
|
||||
golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg=
|
||||
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
|
||||
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
||||
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
||||
golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
||||
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
||||
golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
|
||||
golang.org/x/oauth2 v0.7.0 h1:qe6s0zUXlPX80/dITx3440hWZ7GwMwgDDyrSGTPJG/g=
|
||||
golang.org/x/oauth2 v0.7.0/go.mod h1:hPLQkd9LyjfXTiRohC/41GhcFqxisoUQ99sCUOHO9x4=
|
||||
golang.org/x/oauth2 v0.8.0 h1:6dkIjl3j3LtZ/O3sTgZTMsLKSftL/B8Zgq4huOIIUu8=
|
||||
golang.org/x/oauth2 v0.8.0/go.mod h1:yr7u4HXZRm1R1kBWqr/xKNqewf0plRYoB7sla+BCIXE=
|
||||
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
|
@ -560,8 +580,8 @@ golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJ
|
|||
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o=
|
||||
golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
golang.org/x/sync v0.2.0 h1:PUR+T4wwASmuSTYdKjYHI5TD22Wy5ogLU5qZCOLxBrI=
|
||||
golang.org/x/sync v0.2.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||
golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||
|
@ -606,12 +626,12 @@ golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBc
|
|||
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.7.0 h1:3jlCCIQZPdOYu1h8BkNvLz8Kgwtae2cagcG/VamtZRU=
|
||||
golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU=
|
||||
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
|
||||
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
|
||||
golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
|
||||
golang.org/x/term v0.7.0 h1:BEvjmm5fURWqcfbSKTdpkDXYBrUS1c0m8agp14W48vQ=
|
||||
golang.org/x/term v0.8.0 h1:n5xxQn2i3PC0yLAbjTpNT85q/Kgzcr2gIoX9OrJUols=
|
||||
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||
|
@ -619,6 +639,7 @@ golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
|
|||
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
||||
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
||||
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
|
||||
golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ=
|
||||
golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
|
||||
golang.org/x/text v0.9.0 h1:2sjJmO8cDvYveuX97RDLsxlyUxLl+GHoLxBiRdHllBE=
|
||||
golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
|
||||
|
@ -693,8 +714,8 @@ google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0M
|
|||
google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE=
|
||||
google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM=
|
||||
google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc=
|
||||
google.golang.org/api v0.116.0 h1:09tOPVufPwfm5W4aA8EizGHJ7BcoRDsIareM2a15gO4=
|
||||
google.golang.org/api v0.116.0/go.mod h1:9cD4/t6uvd9naoEJFA+M96d0IuB6BqFuyhpw68+mRGg=
|
||||
google.golang.org/api v0.122.0 h1:zDobeejm3E7pEG1mNHvdxvjs5XJoCMzyNH+CmwL94Es=
|
||||
google.golang.org/api v0.122.0/go.mod h1:gcitW0lvnyWjSp9nKxAbdHKIZ6vF4aajGueeslZOyms=
|
||||
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
|
||||
google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
|
||||
google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
|
||||
|
@ -726,6 +747,7 @@ google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfG
|
|||
google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
|
||||
google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
|
||||
google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
|
||||
google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
|
||||
google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U=
|
||||
google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo=
|
||||
google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA=
|
||||
|
@ -746,9 +768,12 @@ google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKa
|
|||
google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk=
|
||||
google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
|
||||
google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
|
||||
google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0=
|
||||
google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc=
|
||||
google.golang.org/grpc v1.54.0 h1:EhTqbhiYeixwWQtAEZAxmV9MGqcjEU2mFx52xCzNyag=
|
||||
google.golang.org/grpc v1.54.0/go.mod h1:PUSEXI6iWghWaB6lXM4knEgpJNu2qUcKfDtNci3EC2g=
|
||||
google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU=
|
||||
google.golang.org/grpc v1.45.0/go.mod h1:lN7owxKUQEqMfSyQikvvk5tf/6zMPsrK+ONuO11+0rQ=
|
||||
google.golang.org/grpc v1.55.0 h1:3Oj82/tFSCeUrRTg/5E/7d/W5A1tj6Ky1ABAuZuv5ag=
|
||||
google.golang.org/grpc v1.55.0/go.mod h1:iYEXKGkEBhg1PjZQvoYEVPTDkHo1/bjTnfwTeGONTY8=
|
||||
google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
|
||||
google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
|
||||
google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM=
|
||||
|
@ -773,6 +798,7 @@ gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc=
|
|||
gopkg.in/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA=
|
||||
gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
|
||||
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
|
||||
gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
|
||||
gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
|
||||
gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
|
||||
gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
|
||||
|
|
2
vendor/cloud.google.com/go/compute/internal/version.go
generated
vendored
2
vendor/cloud.google.com/go/compute/internal/version.go
generated
vendored
|
@ -15,4 +15,4 @@
|
|||
package internal
|
||||
|
||||
// Version is the current tagged release of the library.
|
||||
const Version = "1.19.0"
|
||||
const Version = "1.19.2"
|
||||
|
|
7
vendor/cloud.google.com/go/iam/CHANGES.md
generated
vendored
7
vendor/cloud.google.com/go/iam/CHANGES.md
generated
vendored
|
@ -1,6 +1,13 @@
|
|||
# Changes
|
||||
|
||||
|
||||
## [1.0.1](https://github.com/googleapis/google-cloud-go/compare/iam/v1.0.0...iam/v1.0.1) (2023-05-08)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **iam:** Update grpc to v1.55.0 ([1147ce0](https://github.com/googleapis/google-cloud-go/commit/1147ce02a990276ca4f8ab7a1ab65c14da4450ef))
|
||||
|
||||
## [1.0.0](https://github.com/googleapis/google-cloud-go/compare/iam/v0.13.0...iam/v1.0.0) (2023-04-04)
|
||||
|
||||
|
||||
|
|
22
vendor/cloud.google.com/go/iam/apiv1/iampb/iam_policy.pb.go
generated
vendored
22
vendor/cloud.google.com/go/iam/apiv1/iampb/iam_policy.pb.go
generated
vendored
|
@ -14,7 +14,7 @@
|
|||
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.28.1
|
||||
// protoc-gen-go v1.30.0
|
||||
// protoc v3.21.12
|
||||
// source: google/iam/v1/iam_policy.proto
|
||||
|
||||
|
@ -342,26 +342,26 @@ var file_google_iam_v1_iam_policy_proto_rawDesc = []byte{
|
|||
0x53, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d,
|
||||
0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x29, 0x82, 0xd3, 0xe4, 0x93,
|
||||
0x02, 0x23, 0x22, 0x1e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
|
||||
0x65, 0x3d, 0x2a, 0x2a, 0x7d, 0x3a, 0x73, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69,
|
||||
0x63, 0x79, 0x3a, 0x01, 0x2a, 0x12, 0x74, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50,
|
||||
0x02, 0x23, 0x3a, 0x01, 0x2a, 0x22, 0x1e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f,
|
||||
0x75, 0x72, 0x63, 0x65, 0x3d, 0x2a, 0x2a, 0x7d, 0x3a, 0x73, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50,
|
||||
0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x74, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50,
|
||||
0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69,
|
||||
0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69,
|
||||
0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
|
||||
0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
|
||||
0x22, 0x29, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x22, 0x1e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x72,
|
||||
0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 0x2a, 0x2a, 0x7d, 0x3a, 0x67, 0x65, 0x74, 0x49,
|
||||
0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x3a, 0x01, 0x2a, 0x12, 0x9a, 0x01, 0x0a, 0x12,
|
||||
0x22, 0x29, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x3a, 0x01, 0x2a, 0x22, 0x1e, 0x2f, 0x76, 0x31,
|
||||
0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 0x2a, 0x2a, 0x7d, 0x3a, 0x67,
|
||||
0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x9a, 0x01, 0x0a, 0x12,
|
||||
0x54, 0x65, 0x73, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f,
|
||||
0x6e, 0x73, 0x12, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73,
|
||||
0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x67,
|
||||
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x73,
|
||||
0x74, 0x49, 0x61, 0x6d, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x22,
|
||||
0x24, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 0x2a,
|
||||
0x2a, 0x7d, 0x3a, 0x74, 0x65, 0x73, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73,
|
||||
0x73, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x01, 0x2a, 0x1a, 0x1e, 0xca, 0x41, 0x1b, 0x69, 0x61, 0x6d,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x3a,
|
||||
0x01, 0x2a, 0x22, 0x24, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
|
||||
0x65, 0x3d, 0x2a, 0x2a, 0x7d, 0x3a, 0x74, 0x65, 0x73, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x65, 0x72,
|
||||
0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x1e, 0xca, 0x41, 0x1b, 0x69, 0x61, 0x6d,
|
||||
0x2d, 0x6d, 0x65, 0x74, 0x61, 0x2d, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
|
||||
0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x42, 0x7f, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x2e,
|
||||
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x42, 0x0e, 0x49,
|
||||
|
|
2
vendor/cloud.google.com/go/iam/apiv1/iampb/options.pb.go
generated
vendored
2
vendor/cloud.google.com/go/iam/apiv1/iampb/options.pb.go
generated
vendored
|
@ -14,7 +14,7 @@
|
|||
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.28.1
|
||||
// protoc-gen-go v1.30.0
|
||||
// protoc v3.21.12
|
||||
// source: google/iam/v1/options.proto
|
||||
|
||||
|
|
2
vendor/cloud.google.com/go/iam/apiv1/iampb/policy.pb.go
generated
vendored
2
vendor/cloud.google.com/go/iam/apiv1/iampb/policy.pb.go
generated
vendored
|
@ -14,7 +14,7 @@
|
|||
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.28.1
|
||||
// protoc-gen-go v1.30.0
|
||||
// protoc v3.21.12
|
||||
// source: google/iam/v1/policy.proto
|
||||
|
||||
|
|
578
vendor/cloud.google.com/go/internal/.repo-metadata-full.json
generated
vendored
578
vendor/cloud.google.com/go/internal/.repo-metadata-full.json
generated
vendored
File diff suppressed because it is too large
Load diff
23
vendor/cloud.google.com/go/internal/README.md
generated
vendored
23
vendor/cloud.google.com/go/internal/README.md
generated
vendored
|
@ -19,25 +19,26 @@ metadata required. For now, `.repo-metadata-full.json` includes everything.
|
|||
|
||||
## cloudbuild.yaml
|
||||
|
||||
To kick off a build locally run from the repo root:
|
||||
The `cloudbuild.yaml` Cloud Build configuration currently supports:
|
||||
|
||||
* Building a docker container from the `internal/postprocessor/Dockerfile`.
|
||||
|
||||
The build can be run locally in the `google-cloud-go` root directory:
|
||||
|
||||
```bash
|
||||
gcloud builds submit --project=cloud-devrel-kokoro-resources --config=internal/cloudbuild.yaml
|
||||
```
|
||||
|
||||
See the [postprocessor/README](postprocessor/README.md) for instructions
|
||||
regarding updating the post-processor docker container.
|
||||
|
||||
### Updating OwlBot SHA
|
||||
|
||||
You may want to manually update the which version of the post processor will be
|
||||
used -- to do this you need to update the SHA in the OwlBot lock file. Start by
|
||||
running the following commands:
|
||||
You may want to manually update the which version of the post-processor will be
|
||||
used -- to do this you need to update the SHA in the OwlBot lock file.
|
||||
|
||||
```bash
|
||||
docker pull gcr.io/cloud-devrel-public-resources/owlbot-go:latest
|
||||
docker inspect --format='{{index .RepoDigests 0}}' gcr.io/cloud-devrel-public-resources/owlbot-go:latest
|
||||
```
|
||||
|
||||
This will give you a SHA. You can use this value to update the value in
|
||||
`.github/.OwlBot.lock.yaml`.
|
||||
See the [postprocessor/README](postprocessor/README.md) for detailed
|
||||
instructions.
|
||||
|
||||
*Note*: OwlBot will eventually open a pull request to update this value if it
|
||||
discovers a new version of the container.
|
||||
|
|
6
vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/CHANGELOG.md
generated
vendored
6
vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/CHANGELOG.md
generated
vendored
|
@ -1,5 +1,11 @@
|
|||
# Release History
|
||||
|
||||
## 1.6.0 (2023-05-04)
|
||||
|
||||
### Features Added
|
||||
* Added support for ARM cross-tenant authentication. Set the `AuxiliaryTenants` field of `arm.ClientOptions` to enable.
|
||||
* Added `TenantID` field to `policy.TokenRequestOptions`.
|
||||
|
||||
## 1.5.0 (2023-04-06)
|
||||
|
||||
### Features Added
|
||||
|
|
4
vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/exported/exported.go
generated
vendored
4
vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/exported/exported.go
generated
vendored
|
@ -53,6 +53,10 @@ type AccessToken struct {
|
|||
type TokenRequestOptions struct {
|
||||
// Scopes contains the list of permission scopes required for the token.
|
||||
Scopes []string
|
||||
|
||||
// TenantID identifies the tenant from which to request the token. azidentity credentials authenticate in
|
||||
// their configured default tenants when this field isn't set.
|
||||
TenantID string
|
||||
}
|
||||
|
||||
// TokenCredential represents a credential capable of providing an OAuth token.
|
||||
|
|
2
vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/shared/constants.go
generated
vendored
2
vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/shared/constants.go
generated
vendored
|
@ -32,5 +32,5 @@ const (
|
|||
Module = "azcore"
|
||||
|
||||
// Version is the semantic version (see http://semver.org) of this module.
|
||||
Version = "v1.5.0"
|
||||
Version = "v1.6.0"
|
||||
)
|
||||
|
|
2
vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/policy/policy.go
generated
vendored
2
vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/policy/policy.go
generated
vendored
|
@ -99,7 +99,7 @@ type RetryOptions struct {
|
|||
|
||||
// MaxRetryDelay specifies the maximum delay allowed before retrying an operation.
|
||||
// Typically the value is greater than or equal to the value specified in RetryDelay.
|
||||
// The default Value is 120 seconds. A value less than zero means there is no cap.
|
||||
// The default Value is 60 seconds. A value less than zero means there is no cap.
|
||||
MaxRetryDelay time.Duration
|
||||
|
||||
// StatusCodes specifies the HTTP status codes that indicate the operation should be retried.
|
||||
|
|
156
vendor/github.com/aws/aws-sdk-go-v2/CHANGELOG.md
generated
vendored
156
vendor/github.com/aws/aws-sdk-go-v2/CHANGELOG.md
generated
vendored
|
@ -1,3 +1,159 @@
|
|||
# Release (2023-04-24)
|
||||
|
||||
## General Highlights
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
## Module Highlights
|
||||
* `github.com/aws/aws-sdk-go-v2`: v1.18.0
|
||||
* **Feature**: add recursion detection middleware to all SDK requests to avoid recursion invocation in Lambda
|
||||
* `github.com/aws/aws-sdk-go-v2/service/appflow`: [v1.27.0](service/appflow/CHANGELOG.md#v1270-2023-04-24)
|
||||
* **Feature**: Increased the max length for RefreshToken and AuthCode from 2048 to 4096.
|
||||
* `github.com/aws/aws-sdk-go-v2/service/codecatalyst`: [v1.2.5](service/codecatalyst/CHANGELOG.md#v125-2023-04-24)
|
||||
* **Documentation**: Documentation updates for Amazon CodeCatalyst.
|
||||
* `github.com/aws/aws-sdk-go-v2/service/ec2`: [v1.94.0](service/ec2/CHANGELOG.md#v1940-2023-04-24)
|
||||
* **Feature**: API changes to AWS Verified Access related to identity providers' information.
|
||||
* `github.com/aws/aws-sdk-go-v2/service/mediaconvert`: [v1.36.0](service/mediaconvert/CHANGELOG.md#v1360-2023-04-24)
|
||||
* **Feature**: This release introduces a noise reduction pre-filter, linear interpolation deinterlace mode, video pass-through, updated default job settings, and expanded LC-AAC Stereo audio bitrate ranges.
|
||||
* `github.com/aws/aws-sdk-go-v2/service/rekognition`: [v1.25.0](service/rekognition/CHANGELOG.md#v1250-2023-04-24)
|
||||
* **Feature**: Added new status result to Liveness session status.
|
||||
* `github.com/aws/aws-sdk-go-v2/service/route53`: [v1.28.0](service/route53/CHANGELOG.md#v1280-2023-04-24)
|
||||
* **Feature**: added paginator for listResourceRecordSets
|
||||
* `github.com/aws/aws-sdk-go-v2/service/s3`: [v1.33.0](service/s3/CHANGELOG.md#v1330-2023-04-24)
|
||||
* **Feature**: added custom paginators for listMultipartUploads and ListObjectVersions
|
||||
|
||||
# Release (2023-04-21)
|
||||
|
||||
## Module Highlights
|
||||
* `github.com/aws/aws-sdk-go-v2/service/connect`: [v1.52.0](service/connect/CHANGELOG.md#v1520-2023-04-21)
|
||||
* **Feature**: This release adds a new API CreateParticipant. For Amazon Connect Chat, you can use this new API to customize chat flow experiences.
|
||||
* `github.com/aws/aws-sdk-go-v2/service/ecs`: [v1.26.1](service/ecs/CHANGELOG.md#v1261-2023-04-21)
|
||||
* **Documentation**: Documentation update to address various Amazon ECS tickets.
|
||||
* `github.com/aws/aws-sdk-go-v2/service/fms`: [v1.23.0](service/fms/CHANGELOG.md#v1230-2023-04-21)
|
||||
* **Feature**: AWS Firewall Manager adds support for multiple administrators. You can now delegate more than one administrator per organization.
|
||||
|
||||
# Release (2023-04-20)
|
||||
|
||||
## Module Highlights
|
||||
* `github.com/aws/aws-sdk-go-v2/service/chime`: [v1.23.0](service/chime/CHANGELOG.md#v1230-2023-04-20)
|
||||
* **Feature**: Adds support for Hindi and Thai languages and additional Amazon Transcribe parameters to the StartMeetingTranscription API.
|
||||
* `github.com/aws/aws-sdk-go-v2/service/chimesdkmediapipelines`: [v1.4.0](service/chimesdkmediapipelines/CHANGELOG.md#v140-2023-04-20)
|
||||
* **Feature**: This release adds support for specifying the recording file format in an S3 recording sink configuration.
|
||||
* `github.com/aws/aws-sdk-go-v2/service/chimesdkmeetings`: [v1.15.0](service/chimesdkmeetings/CHANGELOG.md#v1150-2023-04-20)
|
||||
* **Feature**: Adds support for Hindi and Thai languages and additional Amazon Transcribe parameters to the StartMeetingTranscription API.
|
||||
* `github.com/aws/aws-sdk-go-v2/service/gamelift`: [v1.18.0](service/gamelift/CHANGELOG.md#v1180-2023-04-20)
|
||||
* **Feature**: Amazon GameLift supports creating Builds for Windows 2016 operating system.
|
||||
* `github.com/aws/aws-sdk-go-v2/service/guardduty`: [v1.21.0](service/guardduty/CHANGELOG.md#v1210-2023-04-20)
|
||||
* **Feature**: This release adds support for the new Lambda Protection feature.
|
||||
* `github.com/aws/aws-sdk-go-v2/service/iot`: [v1.36.0](service/iot/CHANGELOG.md#v1360-2023-04-20)
|
||||
* **Feature**: Support additional OTA states in GetOTAUpdate API
|
||||
* `github.com/aws/aws-sdk-go-v2/service/sagemaker`: [v1.74.0](service/sagemaker/CHANGELOG.md#v1740-2023-04-20)
|
||||
* **Feature**: Amazon SageMaker Canvas adds ModelRegisterSettings support for CanvasAppSettings.
|
||||
* `github.com/aws/aws-sdk-go-v2/service/snowball`: [v1.19.0](service/snowball/CHANGELOG.md#v1190-2023-04-20)
|
||||
* **Feature**: Adds support for Amazon S3 compatible storage. AWS Snow Family customers can now use Amazon S3 compatible storage on Snowball Edge devices. Also adds support for V3_5S. This is a refreshed AWS Snowball Edge Storage Optimized device type with 210TB SSD (customer usable).
|
||||
* `github.com/aws/aws-sdk-go-v2/service/wafv2`: [v1.30.0](service/wafv2/CHANGELOG.md#v1300-2023-04-20)
|
||||
* **Feature**: You can now create encrypted API keys to use in a client application integration of the JavaScript CAPTCHA API . You can also retrieve a list of your API keys and the JavaScript application integration URL.
|
||||
|
||||
# Release (2023-04-19)
|
||||
|
||||
## General Highlights
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
## Module Highlights
|
||||
* `github.com/aws/aws-sdk-go-v2/service/comprehend`: [v1.24.0](service/comprehend/CHANGELOG.md#v1240-2023-04-19)
|
||||
* **Feature**: This release supports native document models for custom classification, in addition to plain-text models. You train native document models using documents (PDF, Word, images) in their native format.
|
||||
* `github.com/aws/aws-sdk-go-v2/service/ecs`: [v1.26.0](service/ecs/CHANGELOG.md#v1260-2023-04-19)
|
||||
* **Feature**: This release supports the Account Setting "TagResourceAuthorization" that allows for enhanced Tagging security controls.
|
||||
* `github.com/aws/aws-sdk-go-v2/service/ram`: [v1.18.0](service/ram/CHANGELOG.md#v1180-2023-04-19)
|
||||
* **Feature**: This release adds support for customer managed permissions. Customer managed permissions enable customers to author and manage tailored permissions for resources shared using RAM.
|
||||
* `github.com/aws/aws-sdk-go-v2/service/rds`: [v1.43.1](service/rds/CHANGELOG.md#v1431-2023-04-19)
|
||||
* **Documentation**: Adds support for the ImageId parameter of CreateCustomDBEngineVersion to RDS Custom for Oracle
|
||||
* `github.com/aws/aws-sdk-go-v2/service/s3`: [v1.32.0](service/s3/CHANGELOG.md#v1320-2023-04-19)
|
||||
* **Feature**: Provides support for "Snow" Storage class.
|
||||
* `github.com/aws/aws-sdk-go-v2/service/secretsmanager`: [v1.19.4](service/secretsmanager/CHANGELOG.md#v1194-2023-04-19)
|
||||
* **Documentation**: Documentation updates for Secrets Manager
|
||||
|
||||
# Release (2023-04-17)
|
||||
|
||||
## General Highlights
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
## Module Highlights
|
||||
* `github.com/aws/aws-sdk-go-v2/service/appflow`: [v1.26.0](service/appflow/CHANGELOG.md#v1260-2023-04-17)
|
||||
* **Feature**: This release adds a Client Token parameter to the following AppFlow APIs: Create/Update Connector Profile, Create/Update Flow, Start Flow, Register Connector, Update Connector Registration. The Client Token parameter allows idempotent operations for these APIs.
|
||||
* `github.com/aws/aws-sdk-go-v2/service/drs`: [v1.13.0](service/drs/CHANGELOG.md#v1130-2023-04-17)
|
||||
* **Feature**: Changed existing APIs and added new APIs to support using an account-level launch configuration template with AWS Elastic Disaster Recovery.
|
||||
* `github.com/aws/aws-sdk-go-v2/service/dynamodb`: [v1.19.5](service/dynamodb/CHANGELOG.md#v1195-2023-04-17)
|
||||
* **Documentation**: Documentation updates for DynamoDB API
|
||||
* `github.com/aws/aws-sdk-go-v2/service/emrserverless`: [v1.7.0](service/emrserverless/CHANGELOG.md#v170-2023-04-17)
|
||||
* **Feature**: The GetJobRun API has been updated to include the job's billed resource utilization. This utilization shows the aggregate vCPU, memory and storage that AWS has billed for the job run. The billed resources include a 1-minute minimum usage for workers, plus additional storage over 20 GB per worker.
|
||||
* `github.com/aws/aws-sdk-go-v2/service/internetmonitor`: [v1.2.0](service/internetmonitor/CHANGELOG.md#v120-2023-04-17)
|
||||
* **Feature**: This release includes a new configurable value, TrafficPercentageToMonitor, which allows users to adjust the amount of traffic monitored by percentage
|
||||
* `github.com/aws/aws-sdk-go-v2/service/iotwireless`: [v1.27.0](service/iotwireless/CHANGELOG.md#v1270-2023-04-17)
|
||||
* **Feature**: Supports the new feature of LoRaWAN roaming, allows to configure MaxEirp for LoRaWAN gateway, and allows to configure PingSlotPeriod for LoRaWAN multicast group
|
||||
* `github.com/aws/aws-sdk-go-v2/service/lambda`: [v1.33.0](service/lambda/CHANGELOG.md#v1330-2023-04-17)
|
||||
* **Feature**: Add Python 3.10 (python3.10) support to AWS Lambda
|
||||
|
||||
# Release (2023-04-14)
|
||||
|
||||
## Module Highlights
|
||||
* `github.com/aws/aws-sdk-go-v2/service/ecs`: [v1.25.1](service/ecs/CHANGELOG.md#v1251-2023-04-14)
|
||||
* **Documentation**: This release supports ephemeral storage for AWS Fargate Windows containers.
|
||||
* `github.com/aws/aws-sdk-go-v2/service/lambda`: [v1.32.0](service/lambda/CHANGELOG.md#v1320-2023-04-14)
|
||||
* **Feature**: This release adds SnapStart related exceptions to InvokeWithResponseStream API. IAM access related documentation is also added for this API.
|
||||
* `github.com/aws/aws-sdk-go-v2/service/migrationhubrefactorspaces`: [v1.9.8](service/migrationhubrefactorspaces/CHANGELOG.md#v198-2023-04-14)
|
||||
* **Documentation**: Doc only update for Refactor Spaces environments without network bridge feature.
|
||||
* `github.com/aws/aws-sdk-go-v2/service/rds`: [v1.43.0](service/rds/CHANGELOG.md#v1430-2023-04-14)
|
||||
* **Feature**: This release adds support of modifying the engine mode of database clusters.
|
||||
|
||||
# Release (2023-04-13)
|
||||
|
||||
## Module Highlights
|
||||
* `github.com/aws/aws-sdk-go-v2/service/chimesdkvoice`: [v1.5.0](service/chimesdkvoice/CHANGELOG.md#v150-2023-04-13)
|
||||
* **Feature**: This release adds tagging support for Voice Connectors and SIP Media Applications
|
||||
* `github.com/aws/aws-sdk-go-v2/service/mediaconnect`: [v1.19.0](service/mediaconnect/CHANGELOG.md#v1190-2023-04-13)
|
||||
* **Feature**: Gateway is a new feature of AWS Elemental MediaConnect. Gateway allows the deployment of on-premises resources for the purpose of transporting live video to and from the AWS Cloud.
|
||||
|
||||
# Release (2023-04-12)
|
||||
|
||||
## Module Highlights
|
||||
* `github.com/aws/aws-sdk-go-v2/service/groundstation`: [v1.18.0](service/groundstation/CHANGELOG.md#v1180-2023-04-12)
|
||||
* **Feature**: AWS Ground Station Wideband DigIF GA Release
|
||||
* `github.com/aws/aws-sdk-go-v2/service/managedblockchain`: [v1.15.5](service/managedblockchain/CHANGELOG.md#v1155-2023-04-12)
|
||||
* **Documentation**: Removal of the Ropsten network. The Ethereum foundation ceased support of Ropsten on December 31st, 2022..
|
||||
|
||||
# Release (2023-04-11)
|
||||
|
||||
## Module Highlights
|
||||
* `github.com/aws/aws-sdk-go-v2/service/ecrpublic`: [v1.16.0](service/ecrpublic/CHANGELOG.md#v1160-2023-04-11)
|
||||
* **Feature**: This release will allow using registry alias as registryId in BatchDeleteImage request.
|
||||
* `github.com/aws/aws-sdk-go-v2/service/emrserverless`: [v1.6.0](service/emrserverless/CHANGELOG.md#v160-2023-04-11)
|
||||
* **Feature**: This release extends GetJobRun API to return job run timeout (executionTimeoutMinutes) specified during StartJobRun call (or default timeout of 720 minutes if none was specified).
|
||||
* `github.com/aws/aws-sdk-go-v2/service/eventbridge`: [v1.19.0](service/eventbridge/CHANGELOG.md#v1190-2023-04-11)
|
||||
* **Feature**: EventBridge PutTarget support for multiple SQL arguments on RedshiftDataParameters
|
||||
* `github.com/aws/aws-sdk-go-v2/service/iotdataplane`: [v1.15.0](service/iotdataplane/CHANGELOG.md#v1150-2023-04-11)
|
||||
* **Feature**: This release adds support for MQTT5 user properties when calling the AWS IoT GetRetainedMessage API
|
||||
* `github.com/aws/aws-sdk-go-v2/service/wafv2`: [v1.29.0](service/wafv2/CHANGELOG.md#v1290-2023-04-11)
|
||||
* **Feature**: For web ACLs that protect CloudFront protections, the default request body inspection size is now 16 KB, and you can use the new association configuration to increase the inspection size further, up to 64 KB. Sizes over 16 KB can incur additional costs.
|
||||
|
||||
# Release (2023-04-10)
|
||||
|
||||
## General Highlights
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
## Module Highlights
|
||||
* `github.com/aws/aws-sdk-go-v2/service/connect`: [v1.51.0](service/connect/CHANGELOG.md#v1510-2023-04-10)
|
||||
* **Feature**: This release adds the ability to configure an agent's routing profile to receive contacts from multiple channels at the same time via extending the UpdateRoutingProfileConcurrency, CreateRoutingProfile and DescribeRoutingProfile APIs.
|
||||
* `github.com/aws/aws-sdk-go-v2/service/ecs`: [v1.25.0](service/ecs/CHANGELOG.md#v1250-2023-04-10)
|
||||
* **Feature**: This release adds support for enabling FIPS compliance on Amazon ECS Fargate tasks
|
||||
* `github.com/aws/aws-sdk-go-v2/service/marketplacecatalog`: [v1.16.0](service/marketplacecatalog/CHANGELOG.md#v1160-2023-04-10)
|
||||
* **Feature**: Added three new APIs to support resource sharing: GetResourcePolicy, PutResourcePolicy, and DeleteResourcePolicy. Added new OwnershipType field to ListEntities request to let users filter on entities that are shared with them. Increased max page size of ListEntities response from 20 to 50 results.
|
||||
* `github.com/aws/aws-sdk-go-v2/service/mediaconvert`: [v1.35.0](service/mediaconvert/CHANGELOG.md#v1350-2023-04-10)
|
||||
* **Feature**: AWS Elemental MediaConvert SDK now supports conversion of 608 paint-on captions to pop-on captions for SCC sources.
|
||||
* `github.com/aws/aws-sdk-go-v2/service/omics`: [v1.3.0](service/omics/CHANGELOG.md#v130-2023-04-10)
|
||||
* **Feature**: Remove unexpected API changes.
|
||||
* `github.com/aws/aws-sdk-go-v2/service/rekognition`: [v1.24.0](service/rekognition/CHANGELOG.md#v1240-2023-04-10)
|
||||
* **Feature**: This release adds support for Face Liveness APIs in Amazon Rekognition. Updates UpdateStreamProcessor to return ResourceInUseException Exception. Minor updates to API documentation.
|
||||
|
||||
# Release (2023-04-07)
|
||||
|
||||
## General Highlights
|
||||
|
|
2
vendor/github.com/aws/aws-sdk-go-v2/aws/go_module_metadata.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go-v2/aws/go_module_metadata.go
generated
vendored
|
@ -3,4 +3,4 @@
|
|||
package aws
|
||||
|
||||
// goModuleVersion is the tagged release for this module
|
||||
const goModuleVersion = "1.17.8"
|
||||
const goModuleVersion = "1.18.0"
|
||||
|
|
94
vendor/github.com/aws/aws-sdk-go-v2/aws/middleware/recursion_detection.go
generated
vendored
Normal file
94
vendor/github.com/aws/aws-sdk-go-v2/aws/middleware/recursion_detection.go
generated
vendored
Normal file
|
@ -0,0 +1,94 @@
|
|||
package middleware
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"github.com/aws/smithy-go/middleware"
|
||||
smithyhttp "github.com/aws/smithy-go/transport/http"
|
||||
"os"
|
||||
)
|
||||
|
||||
const envAwsLambdaFunctionName = "AWS_LAMBDA_FUNCTION_NAME"
|
||||
const envAmznTraceID = "_X_AMZN_TRACE_ID"
|
||||
const amznTraceIDHeader = "X-Amzn-Trace-Id"
|
||||
|
||||
// AddRecursionDetection adds recursionDetection to the middleware stack
|
||||
func AddRecursionDetection(stack *middleware.Stack) error {
|
||||
return stack.Build.Add(&RecursionDetection{}, middleware.After)
|
||||
}
|
||||
|
||||
// RecursionDetection detects Lambda environment and sets its X-Ray trace ID to request header if absent
|
||||
// to avoid recursion invocation in Lambda
|
||||
type RecursionDetection struct{}
|
||||
|
||||
// ID returns the middleware identifier
|
||||
func (m *RecursionDetection) ID() string {
|
||||
return "RecursionDetection"
|
||||
}
|
||||
|
||||
// HandleBuild detects Lambda environment and adds its trace ID to request header if absent
|
||||
func (m *RecursionDetection) HandleBuild(
|
||||
ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler,
|
||||
) (
|
||||
out middleware.BuildOutput, metadata middleware.Metadata, err error,
|
||||
) {
|
||||
req, ok := in.Request.(*smithyhttp.Request)
|
||||
if !ok {
|
||||
return out, metadata, fmt.Errorf("unknown request type %T", req)
|
||||
}
|
||||
|
||||
_, hasLambdaEnv := os.LookupEnv(envAwsLambdaFunctionName)
|
||||
xAmznTraceID, hasTraceID := os.LookupEnv(envAmznTraceID)
|
||||
value := req.Header.Get(amznTraceIDHeader)
|
||||
// only set the X-Amzn-Trace-Id header when it is not set initially, the
|
||||
// current environment is Lambda and the _X_AMZN_TRACE_ID env variable exists
|
||||
if value != "" || !hasLambdaEnv || !hasTraceID {
|
||||
return next.HandleBuild(ctx, in)
|
||||
}
|
||||
|
||||
req.Header.Set(amznTraceIDHeader, percentEncode(xAmznTraceID))
|
||||
return next.HandleBuild(ctx, in)
|
||||
}
|
||||
|
||||
func percentEncode(s string) string {
|
||||
upperhex := "0123456789ABCDEF"
|
||||
hexCount := 0
|
||||
for i := 0; i < len(s); i++ {
|
||||
c := s[i]
|
||||
if shouldEncode(c) {
|
||||
hexCount++
|
||||
}
|
||||
}
|
||||
|
||||
if hexCount == 0 {
|
||||
return s
|
||||
}
|
||||
|
||||
required := len(s) + 2*hexCount
|
||||
t := make([]byte, required)
|
||||
j := 0
|
||||
for i := 0; i < len(s); i++ {
|
||||
if c := s[i]; shouldEncode(c) {
|
||||
t[j] = '%'
|
||||
t[j+1] = upperhex[c>>4]
|
||||
t[j+2] = upperhex[c&15]
|
||||
j += 3
|
||||
} else {
|
||||
t[j] = c
|
||||
j++
|
||||
}
|
||||
}
|
||||
return string(t)
|
||||
}
|
||||
|
||||
func shouldEncode(c byte) bool {
|
||||
if 'a' <= c && c <= 'z' || 'A' <= c && c <= 'Z' || '0' <= c && c <= '9' {
|
||||
return false
|
||||
}
|
||||
switch c {
|
||||
case '-', '=', ';', ':', '+', '&', '[', ']', '{', '}', '"', '\'', ',':
|
||||
return false
|
||||
default:
|
||||
return true
|
||||
}
|
||||
}
|
20
vendor/github.com/aws/aws-sdk-go-v2/config/CHANGELOG.md
generated
vendored
20
vendor/github.com/aws/aws-sdk-go-v2/config/CHANGELOG.md
generated
vendored
|
@ -1,3 +1,23 @@
|
|||
# v1.18.25 (2023-05-09)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.18.24 (2023-05-08)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.18.23 (2023-05-04)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.18.22 (2023-04-24)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.18.21 (2023-04-10)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.18.20 (2023-04-07)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
|
2
vendor/github.com/aws/aws-sdk-go-v2/config/go_module_metadata.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go-v2/config/go_module_metadata.go
generated
vendored
|
@ -3,4 +3,4 @@
|
|||
package config
|
||||
|
||||
// goModuleVersion is the tagged release for this module
|
||||
const goModuleVersion = "1.18.20"
|
||||
const goModuleVersion = "1.18.25"
|
||||
|
|
20
vendor/github.com/aws/aws-sdk-go-v2/credentials/CHANGELOG.md
generated
vendored
20
vendor/github.com/aws/aws-sdk-go-v2/credentials/CHANGELOG.md
generated
vendored
|
@ -1,3 +1,23 @@
|
|||
# v1.13.24 (2023-05-09)
|
||||
|
||||
* No change notes available for this release.
|
||||
|
||||
# v1.13.23 (2023-05-08)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.13.22 (2023-05-04)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.13.21 (2023-04-24)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.13.20 (2023-04-10)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.13.19 (2023-04-07)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
|
2
vendor/github.com/aws/aws-sdk-go-v2/credentials/go_module_metadata.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go-v2/credentials/go_module_metadata.go
generated
vendored
|
@ -3,4 +3,4 @@
|
|||
package credentials
|
||||
|
||||
// goModuleVersion is the tagged release for this module
|
||||
const goModuleVersion = "1.13.19"
|
||||
const goModuleVersion = "1.13.24"
|
||||
|
|
24
vendor/github.com/aws/aws-sdk-go-v2/credentials/ssocreds/doc.go
generated
vendored
24
vendor/github.com/aws/aws-sdk-go-v2/credentials/ssocreds/doc.go
generated
vendored
|
@ -11,12 +11,11 @@
|
|||
// # Loading AWS SSO credentials with the AWS shared configuration file
|
||||
//
|
||||
// You can use configure AWS SSO credentials from the AWS shared configuration file by
|
||||
// providing the specifying the required keys in the profile:
|
||||
// specifying the required keys in the profile and referencing an sso-session:
|
||||
//
|
||||
// sso_session
|
||||
// sso_account_id
|
||||
// sso_region
|
||||
// sso_role_name
|
||||
// sso_start_url
|
||||
//
|
||||
// For example, the following defines a profile "devsso" and specifies the AWS
|
||||
// SSO parameters that defines the target account, role, sign-on portal, and
|
||||
|
@ -24,11 +23,15 @@
|
|||
// provided, or an error will be returned.
|
||||
//
|
||||
// [profile devsso]
|
||||
// sso_start_url = https://my-sso-portal.awsapps.com/start
|
||||
// sso_session = dev-session
|
||||
// sso_role_name = SSOReadOnlyRole
|
||||
// sso_region = us-east-1
|
||||
// sso_account_id = 123456789012
|
||||
//
|
||||
// [sso-session dev-session]
|
||||
// sso_start_url = https://my-sso-portal.awsapps.com/start
|
||||
// sso_region = us-east-1
|
||||
// sso_registration_scopes = sso:account:access
|
||||
//
|
||||
// Using the config module, you can load the AWS SDK shared configuration, and
|
||||
// specify that this profile be used to retrieve credentials. For example:
|
||||
//
|
||||
|
@ -43,10 +46,17 @@
|
|||
// and provide the necessary information to load and retrieve temporary
|
||||
// credentials using an access token from ~/.aws/sso/cache.
|
||||
//
|
||||
// client := sso.NewFromConfig(cfg)
|
||||
// ssoClient := sso.NewFromConfig(cfg)
|
||||
// ssoOidcClient := ssooidc.NewFromConfig(cfg)
|
||||
// tokenPath, err := ssocreds.StandardCachedTokenFilepath("dev-session")
|
||||
// if err != nil {
|
||||
// return err
|
||||
// }
|
||||
//
|
||||
// var provider aws.CredentialsProvider
|
||||
// provider = ssocreds.New(client, "123456789012", "SSOReadOnlyRole", "us-east-1", "https://my-sso-portal.awsapps.com/start")
|
||||
// provider = ssocreds.New(ssoClient, "123456789012", "SSOReadOnlyRole", "https://my-sso-portal.awsapps.com/start", func(options *ssocreds.Options) {
|
||||
// options.SSOTokenProvider = ssocreds.NewSSOTokenProvider(ssoOidcClient, tokenPath)
|
||||
// })
|
||||
//
|
||||
// // Wrap the provider with aws.CredentialsCache to cache the credentials until their expire time
|
||||
// provider = aws.NewCredentialsCache(provider)
|
||||
|
|
4
vendor/github.com/aws/aws-sdk-go-v2/feature/ec2/imds/CHANGELOG.md
generated
vendored
4
vendor/github.com/aws/aws-sdk-go-v2/feature/ec2/imds/CHANGELOG.md
generated
vendored
|
@ -1,3 +1,7 @@
|
|||
# v1.13.3 (2023-04-24)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.13.2 (2023-04-07)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
|
2
vendor/github.com/aws/aws-sdk-go-v2/feature/ec2/imds/go_module_metadata.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go-v2/feature/ec2/imds/go_module_metadata.go
generated
vendored
|
@ -3,4 +3,4 @@
|
|||
package imds
|
||||
|
||||
// goModuleVersion is the tagged release for this module
|
||||
const goModuleVersion = "1.13.2"
|
||||
const goModuleVersion = "1.13.3"
|
||||
|
|
24
vendor/github.com/aws/aws-sdk-go-v2/feature/s3/manager/CHANGELOG.md
generated
vendored
24
vendor/github.com/aws/aws-sdk-go-v2/feature/s3/manager/CHANGELOG.md
generated
vendored
|
@ -1,3 +1,27 @@
|
|||
# v1.11.67 (2023-05-09)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.11.66 (2023-05-08)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.11.65 (2023-05-04)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.11.64 (2023-04-24)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.11.63 (2023-04-19)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.11.62 (2023-04-10)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.11.61 (2023-04-07)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
|
2
vendor/github.com/aws/aws-sdk-go-v2/feature/s3/manager/go_module_metadata.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go-v2/feature/s3/manager/go_module_metadata.go
generated
vendored
|
@ -3,4 +3,4 @@
|
|||
package manager
|
||||
|
||||
// goModuleVersion is the tagged release for this module
|
||||
const goModuleVersion = "1.11.61"
|
||||
const goModuleVersion = "1.11.67"
|
||||
|
|
4
vendor/github.com/aws/aws-sdk-go-v2/internal/configsources/CHANGELOG.md
generated
vendored
4
vendor/github.com/aws/aws-sdk-go-v2/internal/configsources/CHANGELOG.md
generated
vendored
|
@ -1,3 +1,7 @@
|
|||
# v1.1.33 (2023-04-24)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.1.32 (2023-04-07)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
|
2
vendor/github.com/aws/aws-sdk-go-v2/internal/configsources/go_module_metadata.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go-v2/internal/configsources/go_module_metadata.go
generated
vendored
|
@ -3,4 +3,4 @@
|
|||
package configsources
|
||||
|
||||
// goModuleVersion is the tagged release for this module
|
||||
const goModuleVersion = "1.1.32"
|
||||
const goModuleVersion = "1.1.33"
|
||||
|
|
4
vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/v2/CHANGELOG.md
generated
vendored
4
vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/v2/CHANGELOG.md
generated
vendored
|
@ -1,3 +1,7 @@
|
|||
# v2.4.27 (2023-04-24)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v2.4.26 (2023-04-07)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
|
2
vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/v2/go_module_metadata.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/v2/go_module_metadata.go
generated
vendored
|
@ -3,4 +3,4 @@
|
|||
package endpoints
|
||||
|
||||
// goModuleVersion is the tagged release for this module
|
||||
const goModuleVersion = "2.4.26"
|
||||
const goModuleVersion = "2.4.27"
|
||||
|
|
4
vendor/github.com/aws/aws-sdk-go-v2/internal/ini/CHANGELOG.md
generated
vendored
4
vendor/github.com/aws/aws-sdk-go-v2/internal/ini/CHANGELOG.md
generated
vendored
|
@ -1,3 +1,7 @@
|
|||
# v1.3.34 (2023-04-24)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.3.33 (2023-04-07)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
|
2
vendor/github.com/aws/aws-sdk-go-v2/internal/ini/go_module_metadata.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go-v2/internal/ini/go_module_metadata.go
generated
vendored
|
@ -3,4 +3,4 @@
|
|||
package ini
|
||||
|
||||
// goModuleVersion is the tagged release for this module
|
||||
const goModuleVersion = "1.3.33"
|
||||
const goModuleVersion = "1.3.34"
|
||||
|
|
4
vendor/github.com/aws/aws-sdk-go-v2/internal/v4a/CHANGELOG.md
generated
vendored
4
vendor/github.com/aws/aws-sdk-go-v2/internal/v4a/CHANGELOG.md
generated
vendored
|
@ -1,3 +1,7 @@
|
|||
# v1.0.25 (2023-04-24)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.0.24 (2023-04-07)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
|
2
vendor/github.com/aws/aws-sdk-go-v2/internal/v4a/go_module_metadata.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go-v2/internal/v4a/go_module_metadata.go
generated
vendored
|
@ -3,4 +3,4 @@
|
|||
package v4a
|
||||
|
||||
// goModuleVersion is the tagged release for this module
|
||||
const goModuleVersion = "1.0.24"
|
||||
const goModuleVersion = "1.0.25"
|
||||
|
|
4
vendor/github.com/aws/aws-sdk-go-v2/service/internal/checksum/CHANGELOG.md
generated
vendored
4
vendor/github.com/aws/aws-sdk-go-v2/service/internal/checksum/CHANGELOG.md
generated
vendored
|
@ -1,3 +1,7 @@
|
|||
# v1.1.28 (2023-04-24)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.1.27 (2023-04-07)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
|
2
vendor/github.com/aws/aws-sdk-go-v2/service/internal/checksum/go_module_metadata.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go-v2/service/internal/checksum/go_module_metadata.go
generated
vendored
|
@ -3,4 +3,4 @@
|
|||
package checksum
|
||||
|
||||
// goModuleVersion is the tagged release for this module
|
||||
const goModuleVersion = "1.1.27"
|
||||
const goModuleVersion = "1.1.28"
|
||||
|
|
4
vendor/github.com/aws/aws-sdk-go-v2/service/internal/presigned-url/CHANGELOG.md
generated
vendored
4
vendor/github.com/aws/aws-sdk-go-v2/service/internal/presigned-url/CHANGELOG.md
generated
vendored
|
@ -1,3 +1,7 @@
|
|||
# v1.9.27 (2023-04-24)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.9.26 (2023-04-07)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
package presignedurl
|
||||
|
||||
// goModuleVersion is the tagged release for this module
|
||||
const goModuleVersion = "1.9.26"
|
||||
const goModuleVersion = "1.9.27"
|
||||
|
|
4
vendor/github.com/aws/aws-sdk-go-v2/service/internal/s3shared/CHANGELOG.md
generated
vendored
4
vendor/github.com/aws/aws-sdk-go-v2/service/internal/s3shared/CHANGELOG.md
generated
vendored
|
@ -1,3 +1,7 @@
|
|||
# v1.14.2 (2023-04-24)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.14.1 (2023-04-07)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
|
2
vendor/github.com/aws/aws-sdk-go-v2/service/internal/s3shared/go_module_metadata.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go-v2/service/internal/s3shared/go_module_metadata.go
generated
vendored
|
@ -3,4 +3,4 @@
|
|||
package s3shared
|
||||
|
||||
// goModuleVersion is the tagged release for this module
|
||||
const goModuleVersion = "1.14.1"
|
||||
const goModuleVersion = "1.14.2"
|
||||
|
|
17
vendor/github.com/aws/aws-sdk-go-v2/service/s3/CHANGELOG.md
generated
vendored
17
vendor/github.com/aws/aws-sdk-go-v2/service/s3/CHANGELOG.md
generated
vendored
|
@ -1,3 +1,20 @@
|
|||
# v1.33.1 (2023-05-04)
|
||||
|
||||
* **Documentation**: Documentation updates for Amazon S3
|
||||
|
||||
# v1.33.0 (2023-04-24)
|
||||
|
||||
* **Feature**: added custom paginators for listMultipartUploads and ListObjectVersions
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
||||
# v1.32.0 (2023-04-19)
|
||||
|
||||
* **Feature**: Provides support for "Snow" Storage class.
|
||||
|
||||
# v1.31.3 (2023-04-10)
|
||||
|
||||
* No change notes available for this release.
|
||||
|
||||
# v1.31.2 (2023-04-07)
|
||||
|
||||
* **Dependency Update**: Updated to the latest SDK module versions
|
||||
|
|
34
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_client.go
generated
vendored
34
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_client.go
generated
vendored
|
@ -32,8 +32,8 @@ import (
|
|||
const ServiceID = "S3"
|
||||
const ServiceAPIVersion = "2006-03-01"
|
||||
|
||||
// Client provides the API client to make operations call for Amazon Simple Storage
|
||||
// Service.
|
||||
// Client provides the API client to make operations call for Amazon Simple
|
||||
// Storage Service.
|
||||
type Client struct {
|
||||
options Options
|
||||
}
|
||||
|
@ -135,7 +135,7 @@ type Options struct {
|
|||
Retryer aws.Retryer
|
||||
|
||||
// The RuntimeEnvironment configuration, only populated if the DefaultsMode is set
|
||||
// to DefaultsModeAuto and is initialized using config.LoadDefaultConfig. You
|
||||
// to DefaultsModeAuto and is initialized using config.LoadDefaultConfig . You
|
||||
// should not populate this structure programmatically, or rely on the values here
|
||||
// within your applications.
|
||||
RuntimeEnvironment aws.RuntimeEnvironment
|
||||
|
@ -159,8 +159,8 @@ type Options struct {
|
|||
UseDualstack bool
|
||||
|
||||
// Allows you to enable the client to use path-style addressing, i.e.,
|
||||
// https://s3.amazonaws.com/BUCKET/KEY. By default, the S3 client will use virtual
|
||||
// hosted bucket addressing when possible(https://BUCKET.s3.amazonaws.com/KEY).
|
||||
// https://s3.amazonaws.com/BUCKET/KEY . By default, the S3 client will use virtual
|
||||
// hosted bucket addressing when possible( https://BUCKET.s3.amazonaws.com/KEY ).
|
||||
UsePathStyle bool
|
||||
|
||||
// Signature Version 4a (SigV4a) Signer
|
||||
|
@ -539,8 +539,8 @@ func add100Continue(stack *middleware.Stack, options Options) error {
|
|||
return s3shared.Add100Continue(stack, options.ContinueHeaderThresholdBytes)
|
||||
}
|
||||
|
||||
// ComputedInputChecksumsMetadata provides information about the algorithms used to
|
||||
// compute the checksum(s) of the input payload.
|
||||
// ComputedInputChecksumsMetadata provides information about the algorithms used
|
||||
// to compute the checksum(s) of the input payload.
|
||||
type ComputedInputChecksumsMetadata struct {
|
||||
// ComputedChecksums is a map of algorithm name to checksum value of the computed
|
||||
// input payload's checksums.
|
||||
|
@ -560,8 +560,8 @@ func GetComputedInputChecksumsMetadata(m middleware.Metadata) (ComputedInputChec
|
|||
|
||||
}
|
||||
|
||||
// ChecksumValidationMetadata contains metadata such as the checksum algorithm used
|
||||
// for data integrity validation.
|
||||
// ChecksumValidationMetadata contains metadata such as the checksum algorithm
|
||||
// used for data integrity validation.
|
||||
type ChecksumValidationMetadata struct {
|
||||
// AlgorithmsUsed is the set of the checksum algorithms used to validate the
|
||||
// response payload. The response payload must be completely read in order for the
|
||||
|
@ -570,10 +570,10 @@ type ChecksumValidationMetadata struct {
|
|||
AlgorithmsUsed []string
|
||||
}
|
||||
|
||||
// GetChecksumValidationMetadata returns the set of algorithms that will be used to
|
||||
// validate the response payload with. The response payload must be completely read
|
||||
// in order for the checksum validation to be performed. An error is returned by
|
||||
// the operation output's response io.ReadCloser if the computed checksums are
|
||||
// GetChecksumValidationMetadata returns the set of algorithms that will be used
|
||||
// to validate the response payload with. The response payload must be completely
|
||||
// read in order for the checksum validation to be performed. An error is returned
|
||||
// by the operation output's response io.ReadCloser if the computed checksums are
|
||||
// invalid. Returns false if no checksum algorithm used metadata was found.
|
||||
func GetChecksumValidationMetadata(m middleware.Metadata) (ChecksumValidationMetadata, bool) {
|
||||
values, ok := internalChecksum.GetOutputValidationAlgorithmsUsed(m)
|
||||
|
@ -600,8 +600,8 @@ func disableAcceptEncodingGzip(stack *middleware.Stack) error {
|
|||
return acceptencodingcust.AddAcceptEncodingGzip(stack, acceptencodingcust.AddAcceptEncodingGzipOptions{})
|
||||
}
|
||||
|
||||
// ResponseError provides the HTTP centric error type wrapping the underlying error
|
||||
// with the HTTP response value and the deserialized RequestID.
|
||||
// ResponseError provides the HTTP centric error type wrapping the underlying
|
||||
// error with the HTTP response value and the deserialized RequestID.
|
||||
type ResponseError interface {
|
||||
error
|
||||
|
||||
|
@ -611,8 +611,8 @@ type ResponseError interface {
|
|||
|
||||
var _ ResponseError = (*s3shared.ResponseError)(nil)
|
||||
|
||||
// GetHostIDMetadata retrieves the host id from middleware metadata returns host id
|
||||
// as string along with a boolean indicating presence of hostId on middleware
|
||||
// GetHostIDMetadata retrieves the host id from middleware metadata returns host
|
||||
// id as string along with a boolean indicating presence of hostId on middleware
|
||||
// metadata.
|
||||
func GetHostIDMetadata(metadata middleware.Metadata) (string, bool) {
|
||||
return s3shared.GetHostIDMetadata(metadata)
|
||||
|
|
52
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_AbortMultipartUpload.go
generated
vendored
52
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_AbortMultipartUpload.go
generated
vendored
|
@ -19,32 +19,16 @@ import (
|
|||
// result, it might be necessary to abort a given multipart upload multiple times
|
||||
// in order to completely free all storage consumed by all parts. To verify that
|
||||
// all parts have been removed, so you don't get charged for the part storage, you
|
||||
// should call the ListParts
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html) action and
|
||||
// ensure that the parts list is empty. For information about permissions required
|
||||
// to use the multipart upload, see Multipart Upload and Permissions
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html). The
|
||||
// following operations are related to AbortMultipartUpload:
|
||||
//
|
||||
// *
|
||||
// CreateMultipartUpload
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html)
|
||||
//
|
||||
// *
|
||||
// UploadPart
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html)
|
||||
//
|
||||
// *
|
||||
// CompleteMultipartUpload
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html)
|
||||
//
|
||||
// *
|
||||
// ListParts
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html)
|
||||
//
|
||||
// *
|
||||
// ListMultipartUploads
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListMultipartUploads.html)
|
||||
// should call the ListParts (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html)
|
||||
// action and ensure that the parts list is empty. For information about
|
||||
// permissions required to use the multipart upload, see Multipart Upload and
|
||||
// Permissions (https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html)
|
||||
// . The following operations are related to AbortMultipartUpload :
|
||||
// - CreateMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html)
|
||||
// - UploadPart (https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html)
|
||||
// - CompleteMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html)
|
||||
// - ListParts (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html)
|
||||
// - ListMultipartUploads (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListMultipartUploads.html)
|
||||
func (c *Client) AbortMultipartUpload(ctx context.Context, params *AbortMultipartUploadInput, optFns ...func(*Options)) (*AbortMultipartUploadOutput, error) {
|
||||
if params == nil {
|
||||
params = &AbortMultipartUploadInput{}
|
||||
|
@ -68,17 +52,15 @@ type AbortMultipartUploadInput struct {
|
|||
// AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this
|
||||
// action with an access point through the Amazon Web Services SDKs, you provide
|
||||
// the access point ARN in place of the bucket name. For more information about
|
||||
// access point ARNs, see Using access points
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// access point ARNs, see Using access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// in the Amazon S3 User Guide. When you use this action with Amazon S3 on
|
||||
// Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on
|
||||
// Outposts hostname takes the form
|
||||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you
|
||||
// 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) in the
|
||||
// Amazon S3 User Guide.
|
||||
// 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
|
||||
|
@ -101,8 +83,7 @@ type AbortMultipartUploadInput struct {
|
|||
// Confirms that the requester knows that they will be charged for the request.
|
||||
// Bucket owners need not specify this parameter in their requests. For information
|
||||
// about downloading objects from Requester Pays buckets, see Downloading Objects
|
||||
// in Requester Pays Buckets
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
|
||||
// in Requester Pays Buckets (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
RequestPayer types.RequestPayer
|
||||
|
||||
|
@ -178,6 +159,9 @@ func (c *Client) addOperationAbortMultipartUploadMiddlewares(stack *middleware.S
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addAbortMultipartUploadUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
173
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CompleteMultipartUpload.go
generated
vendored
173
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CompleteMultipartUpload.go
generated
vendored
|
@ -13,10 +13,9 @@ import (
|
|||
)
|
||||
|
||||
// Completes a multipart upload by assembling previously uploaded parts. You first
|
||||
// initiate the multipart upload and then upload all parts using the UploadPart
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html) operation.
|
||||
// After successfully uploading all relevant parts of an upload, you call this
|
||||
// action to complete the upload. Upon receiving this request, Amazon S3
|
||||
// initiate the multipart upload and then upload all parts using the UploadPart (https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html)
|
||||
// operation. After successfully uploading all relevant parts of an upload, you
|
||||
// call this action to complete the upload. Upon receiving this request, Amazon S3
|
||||
// concatenates all the parts in ascending order by part number to create a new
|
||||
// object. In the Complete Multipart Upload request, you must provide the parts
|
||||
// list. You must ensure that the parts list is complete. This action concatenates
|
||||
|
@ -36,74 +35,38 @@ import (
|
|||
// persists, the SDKs throws an exception (or, for the SDKs that don't use
|
||||
// exceptions, they return the error). Note that if CompleteMultipartUpload fails,
|
||||
// applications should be prepared to retry the failed requests. For more
|
||||
// information, see Amazon S3 Error Best Practices
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/ErrorBestPractices.html). You
|
||||
// cannot use Content-Type: application/x-www-form-urlencoded with Complete
|
||||
// information, see Amazon S3 Error Best Practices (https://docs.aws.amazon.com/AmazonS3/latest/dev/ErrorBestPractices.html)
|
||||
// . You cannot use Content-Type: application/x-www-form-urlencoded with Complete
|
||||
// Multipart Upload requests. Also, if you do not provide a Content-Type header,
|
||||
// CompleteMultipartUpload returns a 200 OK response. For more information about
|
||||
// multipart uploads, see Uploading Objects Using Multipart Upload
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html). For
|
||||
// information about permissions required to use the multipart upload API, see
|
||||
// Multipart Upload and Permissions
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html).
|
||||
// CompleteMultipartUpload has the following special errors:
|
||||
// multipart uploads, see Uploading Objects Using Multipart Upload (https://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html)
|
||||
// . For information about permissions required to use the multipart upload API,
|
||||
// see Multipart Upload and Permissions (https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html)
|
||||
// . CompleteMultipartUpload has the following special errors:
|
||||
// - Error code: EntityTooSmall
|
||||
// - Description: Your proposed upload is smaller than the minimum allowed
|
||||
// object size. Each part must be at least 5 MB in size, except the last part.
|
||||
// - 400 Bad Request
|
||||
// - Error code: InvalidPart
|
||||
// - Description: One or more of the specified parts could not be found. The
|
||||
// part might not have been uploaded, or the specified entity tag might not have
|
||||
// matched the part's entity tag.
|
||||
// - 400 Bad Request
|
||||
// - Error code: InvalidPartOrder
|
||||
// - Description: The list of parts was not in ascending order. The parts list
|
||||
// must be specified in order by part number.
|
||||
// - 400 Bad Request
|
||||
// - Error code: NoSuchUpload
|
||||
// - Description: The specified multipart upload does not exist. The upload ID
|
||||
// might be invalid, or the multipart upload might have been aborted or completed.
|
||||
// - 404 Not Found
|
||||
//
|
||||
// * Error code:
|
||||
// EntityTooSmall
|
||||
//
|
||||
// * Description: Your proposed upload is smaller than the minimum
|
||||
// allowed object size. Each part must be at least 5 MB in size, except the last
|
||||
// part.
|
||||
//
|
||||
// * 400 Bad Request
|
||||
//
|
||||
// * Error code: InvalidPart
|
||||
//
|
||||
// * Description: One or more
|
||||
// of the specified parts could not be found. The part might not have been
|
||||
// uploaded, or the specified entity tag might not have matched the part's entity
|
||||
// tag.
|
||||
//
|
||||
// * 400 Bad Request
|
||||
//
|
||||
// * Error code: InvalidPartOrder
|
||||
//
|
||||
// * Description: The list
|
||||
// of parts was not in ascending order. The parts list must be specified in order
|
||||
// by part number.
|
||||
//
|
||||
// * 400 Bad Request
|
||||
//
|
||||
// * Error code: NoSuchUpload
|
||||
//
|
||||
// * Description:
|
||||
// The specified multipart upload does not exist. The upload ID might be invalid,
|
||||
// or the multipart upload might have been aborted or completed.
|
||||
//
|
||||
// * 404 Not
|
||||
// Found
|
||||
//
|
||||
// The following operations are related to CompleteMultipartUpload:
|
||||
//
|
||||
// *
|
||||
// CreateMultipartUpload
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html)
|
||||
//
|
||||
// *
|
||||
// UploadPart
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html)
|
||||
//
|
||||
// *
|
||||
// AbortMultipartUpload
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html)
|
||||
//
|
||||
// *
|
||||
// ListParts
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html)
|
||||
//
|
||||
// *
|
||||
// ListMultipartUploads
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListMultipartUploads.html)
|
||||
// The following operations are related to CompleteMultipartUpload :
|
||||
// - CreateMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html)
|
||||
// - UploadPart (https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html)
|
||||
// - AbortMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html)
|
||||
// - ListParts (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html)
|
||||
// - ListMultipartUploads (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListMultipartUploads.html)
|
||||
func (c *Client) CompleteMultipartUpload(ctx context.Context, params *CompleteMultipartUploadInput, optFns ...func(*Options)) (*CompleteMultipartUploadOutput, error) {
|
||||
if params == nil {
|
||||
params = &CompleteMultipartUploadInput{}
|
||||
|
@ -127,17 +90,15 @@ type CompleteMultipartUploadInput struct {
|
|||
// AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this
|
||||
// action with an access point through the Amazon Web Services SDKs, you provide
|
||||
// the access point ARN in place of the bucket name. For more information about
|
||||
// access point ARNs, see Using access points
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// access point ARNs, see Using access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// in the Amazon S3 User Guide. When you use this action with Amazon S3 on
|
||||
// Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on
|
||||
// Outposts hostname takes the form
|
||||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you
|
||||
// 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) in the
|
||||
// Amazon S3 User Guide.
|
||||
// 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
|
||||
|
@ -155,32 +116,28 @@ type CompleteMultipartUploadInput struct {
|
|||
// This header can be used as a data integrity check to verify that the data
|
||||
// received is the same data that was originally sent. This header specifies the
|
||||
// base64-encoded, 32-bit CRC32 checksum of the object. For more information, see
|
||||
// Checking object integrity
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html)
|
||||
// Checking object integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
ChecksumCRC32 *string
|
||||
|
||||
// This header can be used as a data integrity check to verify that the data
|
||||
// received is the same data that was originally sent. This header specifies the
|
||||
// base64-encoded, 32-bit CRC32C checksum of the object. For more information, see
|
||||
// Checking object integrity
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html)
|
||||
// Checking object integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
ChecksumCRC32C *string
|
||||
|
||||
// This header can be used as a data integrity check to verify that the data
|
||||
// received is the same data that was originally sent. This header specifies the
|
||||
// base64-encoded, 160-bit SHA-1 digest of the object. For more information, see
|
||||
// Checking object integrity
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html)
|
||||
// Checking object integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
ChecksumSHA1 *string
|
||||
|
||||
// This header can be used as a data integrity check to verify that the data
|
||||
// received is the same data that was originally sent. This header specifies the
|
||||
// base64-encoded, 256-bit SHA-256 digest of the object. For more information, see
|
||||
// Checking object integrity
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html)
|
||||
// Checking object integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
ChecksumSHA256 *string
|
||||
|
||||
|
@ -195,29 +152,25 @@ type CompleteMultipartUploadInput struct {
|
|||
// Confirms that the requester knows that they will be charged for the request.
|
||||
// Bucket owners need not specify this parameter in their requests. For information
|
||||
// about downloading objects from Requester Pays buckets, see Downloading Objects
|
||||
// in Requester Pays Buckets
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
|
||||
// in Requester Pays Buckets (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
RequestPayer types.RequestPayer
|
||||
|
||||
// The server-side encryption (SSE) algorithm used to encrypt the object. This
|
||||
// parameter is needed only when the object was created using a checksum algorithm.
|
||||
// For more information, see Protecting data using SSE-C keys
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html)
|
||||
// For more information, see Protecting data using SSE-C keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
SSECustomerAlgorithm *string
|
||||
|
||||
// The server-side encryption (SSE) customer managed key. This parameter is needed
|
||||
// only when the object was created using a checksum algorithm. For more
|
||||
// information, see Protecting data using SSE-C keys
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html)
|
||||
// information, see Protecting data using SSE-C keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
SSECustomerKey *string
|
||||
|
||||
// The MD5 server-side encryption (SSE) customer managed key. This parameter is
|
||||
// needed only when the object was created using a checksum algorithm. For more
|
||||
// information, see Protecting data using SSE-C keys
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html)
|
||||
// information, see Protecting data using SSE-C keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
SSECustomerKeyMD5 *string
|
||||
|
||||
|
@ -233,17 +186,15 @@ type CompleteMultipartUploadOutput struct {
|
|||
// AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this
|
||||
// action with an access point through the Amazon Web Services SDKs, you provide
|
||||
// the access point ARN in place of the bucket name. For more information about
|
||||
// access point ARNs, see Using access points
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// access point ARNs, see Using access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// in the Amazon S3 User Guide. When you use this action with Amazon S3 on
|
||||
// Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on
|
||||
// Outposts hostname takes the form
|
||||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you
|
||||
// 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) in the
|
||||
// Amazon S3 User Guide.
|
||||
// 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
|
||||
|
||||
// Indicates whether the multipart upload uses an S3 Bucket Key for server-side
|
||||
|
@ -253,32 +204,28 @@ type CompleteMultipartUploadOutput struct {
|
|||
// The base64-encoded, 32-bit CRC32 checksum of the object. This will only be
|
||||
// present if it was uploaded with the object. With multipart uploads, this may not
|
||||
// be a checksum value of the object. For more information about how checksums are
|
||||
// calculated with multipart uploads, see Checking object integrity
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
|
||||
// calculated with multipart uploads, see Checking object integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
|
||||
// in the Amazon S3 User Guide.
|
||||
ChecksumCRC32 *string
|
||||
|
||||
// The base64-encoded, 32-bit CRC32C checksum of the object. This will only be
|
||||
// present if it was uploaded with the object. With multipart uploads, this may not
|
||||
// be a checksum value of the object. For more information about how checksums are
|
||||
// calculated with multipart uploads, see Checking object integrity
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
|
||||
// calculated with multipart uploads, see Checking object integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
|
||||
// in the Amazon S3 User Guide.
|
||||
ChecksumCRC32C *string
|
||||
|
||||
// The base64-encoded, 160-bit SHA-1 digest of the object. This will only be
|
||||
// present if it was uploaded with the object. With multipart uploads, this may not
|
||||
// be a checksum value of the object. For more information about how checksums are
|
||||
// calculated with multipart uploads, see Checking object integrity
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
|
||||
// calculated with multipart uploads, see Checking object integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
|
||||
// in the Amazon S3 User Guide.
|
||||
ChecksumSHA1 *string
|
||||
|
||||
// The base64-encoded, 256-bit SHA-256 digest of the object. This will only be
|
||||
// present if it was uploaded with the object. With multipart uploads, this may not
|
||||
// be a checksum value of the object. For more information about how checksums are
|
||||
// calculated with multipart uploads, see Checking object integrity
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
|
||||
// calculated with multipart uploads, see Checking object integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
|
||||
// in the Amazon S3 User Guide.
|
||||
ChecksumSHA256 *string
|
||||
|
||||
|
@ -288,13 +235,12 @@ type CompleteMultipartUploadOutput struct {
|
|||
// data. If the entity tag is not an MD5 digest of the object data, it will contain
|
||||
// one or more nonhexadecimal characters and/or will consist of less than 32 or
|
||||
// more than 32 hexadecimal digits. For more information about how the entity tag
|
||||
// is calculated, see Checking object integrity
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html)
|
||||
// is calculated, see Checking object integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
ETag *string
|
||||
|
||||
// If the object expiration is configured, this will contain the expiration date
|
||||
// (expiry-date) and rule ID (rule-id). The value of rule-id is URL-encoded.
|
||||
// If the object expiration is configured, this will contain the expiration date (
|
||||
// expiry-date ) and rule ID ( rule-id ). The value of rule-id is URL-encoded.
|
||||
Expiration *string
|
||||
|
||||
// The object key of the newly created object.
|
||||
|
@ -313,11 +259,11 @@ type CompleteMultipartUploadOutput struct {
|
|||
SSEKMSKeyId *string
|
||||
|
||||
// The server-side encryption algorithm used when storing this object in Amazon S3
|
||||
// (for example, AES256, aws:kms).
|
||||
// (for example, AES256, aws:kms ).
|
||||
ServerSideEncryption types.ServerSideEncryption
|
||||
|
||||
// Version ID of the newly created object, in case the bucket has versioning turned
|
||||
// on.
|
||||
// Version ID of the newly created object, in case the bucket has versioning
|
||||
// turned on.
|
||||
VersionId *string
|
||||
|
||||
// Metadata pertaining to the operation's result.
|
||||
|
@ -383,6 +329,9 @@ func (c *Client) addOperationCompleteMultipartUploadMiddlewares(stack *middlewar
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addCompleteMultipartUploadUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
347
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CopyObject.go
generated
vendored
347
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CopyObject.go
generated
vendored
|
@ -18,88 +18,68 @@ import (
|
|||
// up to 5 GB in size in a single atomic action using this API. However, to copy an
|
||||
// object greater than 5 GB, you must use the multipart upload Upload Part - Copy
|
||||
// (UploadPartCopy) API. For more information, see Copy Object Using the REST
|
||||
// Multipart Upload API
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/CopyingObjctsUsingRESTMPUapi.html).
|
||||
// All copy requests must be authenticated. Additionally, you must have read access
|
||||
// to the source object and write access to the destination bucket. For more
|
||||
// information, see REST Authentication
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html). Both
|
||||
// the Region that you want to copy the object from and the Region that you want to
|
||||
// copy the object to must be enabled for your account. A copy request might return
|
||||
// an error when Amazon S3 receives the copy request or while Amazon S3 is copying
|
||||
// the files. If the error occurs before the copy action starts, you receive a
|
||||
// standard Amazon S3 error. If the error occurs during the copy operation, the
|
||||
// error response is embedded in the 200 OK response. This means that a 200 OK
|
||||
// response can contain either a success or an error. If you call the S3 API
|
||||
// directly, make sure to design your application to parse the contents of the
|
||||
// response and handle it appropriately. If you use Amazon Web Services SDKs, SDKs
|
||||
// handle this condition. The SDKs detect the embedded error and apply error
|
||||
// handling per your configuration settings (including automatically retrying the
|
||||
// request as appropriate). If the condition persists, the SDKs throws an exception
|
||||
// (or, for the SDKs that don't use exceptions, they return the error). If the copy
|
||||
// is successful, you receive a response with information about the copied object.
|
||||
// If the request is an HTTP 1.1 request, the response is chunk encoded. If it were
|
||||
// not, it would not contain the content-length, and you would need to read the
|
||||
// entire body. The copy request charge is based on the storage class and Region
|
||||
// that you specify for the destination object. For pricing information, see Amazon
|
||||
// S3 pricing (http://aws.amazon.com/s3/pricing/). Amazon S3 transfer acceleration
|
||||
// does not support cross-Region copies. If you request a cross-Region copy using a
|
||||
// transfer acceleration endpoint, you get a 400 Bad Request error. For more
|
||||
// information, see Transfer Acceleration
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html).
|
||||
// Metadata When copying an object, you can preserve all metadata (default) or
|
||||
// Multipart Upload API (https://docs.aws.amazon.com/AmazonS3/latest/dev/CopyingObjctsUsingRESTMPUapi.html)
|
||||
// . All copy requests must be authenticated. Additionally, you must have read
|
||||
// access to the source object and write access to the destination bucket. For more
|
||||
// information, see REST Authentication (https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html)
|
||||
// . Both the Region that you want to copy the object from and the Region that you
|
||||
// want to copy the object to must be enabled for your account. A copy request
|
||||
// might return an error when Amazon S3 receives the copy request or while Amazon
|
||||
// S3 is copying the files. If the error occurs before the copy action starts, you
|
||||
// receive a standard Amazon S3 error. If the error occurs during the copy
|
||||
// operation, the error response is embedded in the 200 OK response. This means
|
||||
// that a 200 OK response can contain either a success or an error. If you call
|
||||
// the S3 API directly, make sure to design your application to parse the contents
|
||||
// of the response and handle it appropriately. If you use Amazon Web Services
|
||||
// SDKs, SDKs handle this condition. The SDKs detect the embedded error and apply
|
||||
// error handling per your configuration settings (including automatically retrying
|
||||
// the request as appropriate). If the condition persists, the SDKs throws an
|
||||
// exception (or, for the SDKs that don't use exceptions, they return the error).
|
||||
// If the copy is successful, you receive a response with information about the
|
||||
// copied object. If the request is an HTTP 1.1 request, the response is chunk
|
||||
// encoded. If it were not, it would not contain the content-length, and you would
|
||||
// need to read the entire body. The copy request charge is based on the storage
|
||||
// class and Region that you specify for the destination object. For pricing
|
||||
// information, see Amazon S3 pricing (http://aws.amazon.com/s3/pricing/) . Amazon
|
||||
// S3 transfer acceleration does not support cross-Region copies. If you request a
|
||||
// cross-Region copy using a transfer acceleration endpoint, you get a 400 Bad
|
||||
// Request error. For more information, see Transfer Acceleration (https://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html)
|
||||
// . Metadata When copying an object, you can preserve all metadata (default) or
|
||||
// specify new metadata. However, the ACL is not preserved and is set to private
|
||||
// for the user making the request. To override the default ACL setting, specify a
|
||||
// new ACL when generating a copy request. For more information, see Using ACLs
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/S3_ACLs_UsingACLs.html). To
|
||||
// specify whether you want the object metadata copied from the source object or
|
||||
// replaced with metadata provided in the request, you can optionally add the
|
||||
// new ACL when generating a copy request. For more information, see Using ACLs (https://docs.aws.amazon.com/AmazonS3/latest/dev/S3_ACLs_UsingACLs.html)
|
||||
// . To specify whether you want the object metadata copied from the source object
|
||||
// or replaced with metadata provided in the request, you can optionally add the
|
||||
// x-amz-metadata-directive header. When you grant permissions, you can use the
|
||||
// s3:x-amz-metadata-directive condition key to enforce certain metadata behavior
|
||||
// when objects are uploaded. For more information, see Specifying Conditions in a
|
||||
// Policy
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/amazon-s3-policy-keys.html) in
|
||||
// the Amazon S3 User Guide. For a complete list of Amazon S3-specific condition
|
||||
// keys, see Actions, Resources, and Condition Keys for Amazon S3
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/list_amazons3.html).
|
||||
// x-amz-website-redirect-location is unique to each object and must be specified
|
||||
// in the request headers to copy the value. x-amz-copy-source-if Headers To only
|
||||
// copy an object under certain conditions, such as whether the Etag matches or
|
||||
// whether the object was modified before or after a specified date, use the
|
||||
// following request parameters:
|
||||
// Policy (https://docs.aws.amazon.com/AmazonS3/latest/dev/amazon-s3-policy-keys.html)
|
||||
// in the Amazon S3 User Guide. For a complete list of Amazon S3-specific condition
|
||||
// keys, see Actions, Resources, and Condition Keys for Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/list_amazons3.html)
|
||||
// . x-amz-website-redirect-location is unique to each object and must be
|
||||
// specified in the request headers to copy the value. x-amz-copy-source-if Headers
|
||||
// To only copy an object under certain conditions, such as whether the Etag
|
||||
// matches or whether the object was modified before or after a specified date, use
|
||||
// the following request parameters:
|
||||
// - x-amz-copy-source-if-match
|
||||
// - x-amz-copy-source-if-none-match
|
||||
// - x-amz-copy-source-if-unmodified-since
|
||||
// - x-amz-copy-source-if-modified-since
|
||||
//
|
||||
// * x-amz-copy-source-if-match
|
||||
// If both the x-amz-copy-source-if-match and x-amz-copy-source-if-unmodified-since
|
||||
// headers are present in the request and evaluate as follows, Amazon S3 returns
|
||||
// 200 OK and copies the data:
|
||||
// - x-amz-copy-source-if-match condition evaluates to true
|
||||
// - x-amz-copy-source-if-unmodified-since condition evaluates to false
|
||||
//
|
||||
// *
|
||||
// x-amz-copy-source-if-none-match
|
||||
// If both the x-amz-copy-source-if-none-match and
|
||||
// x-amz-copy-source-if-modified-since headers are present in the request and
|
||||
// evaluate as follows, Amazon S3 returns the 412 Precondition Failed response
|
||||
// code:
|
||||
// - x-amz-copy-source-if-none-match condition evaluates to false
|
||||
// - x-amz-copy-source-if-modified-since condition evaluates to true
|
||||
//
|
||||
// * x-amz-copy-source-if-unmodified-since
|
||||
//
|
||||
// *
|
||||
// x-amz-copy-source-if-modified-since
|
||||
//
|
||||
// If both the x-amz-copy-source-if-match and
|
||||
// x-amz-copy-source-if-unmodified-since headers are present in the request and
|
||||
// evaluate as follows, Amazon S3 returns 200 OK and copies the data:
|
||||
//
|
||||
// *
|
||||
// x-amz-copy-source-if-match condition evaluates to true
|
||||
//
|
||||
// *
|
||||
// x-amz-copy-source-if-unmodified-since condition evaluates to false
|
||||
//
|
||||
// If both the
|
||||
// x-amz-copy-source-if-none-match and x-amz-copy-source-if-modified-since headers
|
||||
// are present in the request and evaluate as follows, Amazon S3 returns the 412
|
||||
// Precondition Failed response code:
|
||||
//
|
||||
// * x-amz-copy-source-if-none-match condition
|
||||
// evaluates to false
|
||||
//
|
||||
// * x-amz-copy-source-if-modified-since condition evaluates to
|
||||
// true
|
||||
//
|
||||
// All headers with the x-amz- prefix, including x-amz-copy-source, must be
|
||||
// All headers with the x-amz- prefix, including x-amz-copy-source , must be
|
||||
// signed. Server-side encryption Amazon S3 automatically encrypts all new objects
|
||||
// that are copied to an S3 bucket. When copying an object, if you don't specify
|
||||
// encryption information in your copy request, the encryption setting of the
|
||||
|
@ -121,29 +101,24 @@ import (
|
|||
// object for the copy is stored in Amazon S3 using SSE-C, you must provide the
|
||||
// necessary encryption information in your request so that Amazon S3 can decrypt
|
||||
// the object for copying. For more information about server-side encryption, see
|
||||
// Using Server-Side Encryption
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html). If
|
||||
// a target object uses SSE-KMS, you can enable an S3 Bucket Key for the object.
|
||||
// For more information, see Amazon S3 Bucket Keys
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html) in the Amazon
|
||||
// S3 User Guide. Access Control List (ACL)-Specific Request Headers When copying
|
||||
// an object, you can optionally use headers to grant ACL-based permissions. By
|
||||
// default, all objects are private. Only the owner has full access control. When
|
||||
// adding a new object, you can grant permissions to individual Amazon Web Services
|
||||
// accounts or to predefined groups defined by Amazon S3. These permissions are
|
||||
// then added to the ACL on the object. For more information, see Access Control
|
||||
// List (ACL) Overview
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html) and Managing
|
||||
// ACLs Using the REST API
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-using-rest-api.html). If
|
||||
// the bucket that you're copying objects to uses the bucket owner enforced setting
|
||||
// for S3 Object Ownership, ACLs are disabled and no longer affect permissions.
|
||||
// Buckets that use this setting only accept PUT requests that don't specify an ACL
|
||||
// or PUT requests that specify bucket owner full control ACLs, such as the
|
||||
// bucket-owner-full-control canned ACL or an equivalent form of this ACL expressed
|
||||
// in the XML format. For more information, see Controlling ownership of objects
|
||||
// and disabling ACLs
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html)
|
||||
// Using Server-Side Encryption (https://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html)
|
||||
// . If a target object uses SSE-KMS, you can enable an S3 Bucket Key for the
|
||||
// object. For more information, see Amazon S3 Bucket Keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html)
|
||||
// in the Amazon S3 User Guide. Access Control List (ACL)-Specific Request Headers
|
||||
// When copying an object, you can optionally use headers to grant ACL-based
|
||||
// permissions. By default, all objects are private. Only the owner has full access
|
||||
// control. When adding a new object, you can grant permissions to individual
|
||||
// Amazon Web Services accounts or to predefined groups defined by Amazon S3. These
|
||||
// permissions are then added to the ACL on the object. For more information, see
|
||||
// Access Control List (ACL) Overview (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html)
|
||||
// and Managing ACLs Using the REST API (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-using-rest-api.html)
|
||||
// . If the bucket that you're copying objects to uses the bucket owner enforced
|
||||
// setting for S3 Object Ownership, ACLs are disabled and no longer affect
|
||||
// permissions. Buckets that use this setting only accept PUT requests that don't
|
||||
// specify an ACL or PUT requests that specify bucket owner full control ACLs, such
|
||||
// as the bucket-owner-full-control canned ACL or an equivalent form of this ACL
|
||||
// expressed in the XML format. For more information, see Controlling ownership of
|
||||
// objects and disabling ACLs (https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html)
|
||||
// in the Amazon S3 User Guide. If your bucket uses the bucket owner enforced
|
||||
// setting for Object Ownership, all objects written to the bucket by any account
|
||||
// will be owned by the bucket owner. Checksums When copying an object, if it has a
|
||||
|
@ -152,33 +127,23 @@ import (
|
|||
// to use with the x-amz-checksum-algorithm header. Storage Class Options You can
|
||||
// use the CopyObject action to change the storage class of an object that is
|
||||
// already stored in Amazon S3 using the StorageClass parameter. For more
|
||||
// information, see Storage Classes
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html) in
|
||||
// the Amazon S3 User Guide. Versioning By default, x-amz-copy-source identifies
|
||||
// the current version of an object to copy. If the current version is a delete
|
||||
// marker, Amazon S3 behaves as if the object was deleted. To copy a different
|
||||
// version, use the versionId subresource. If you enable versioning on the target
|
||||
// bucket, Amazon S3 generates a unique version ID for the object being copied.
|
||||
// This version ID is different from the version ID of the source object. Amazon S3
|
||||
// returns the version ID of the copied object in the x-amz-version-id response
|
||||
// header in the response. If you do not enable versioning or suspend it on the
|
||||
// target bucket, the version ID that Amazon S3 generates is always null. If the
|
||||
// source object's storage class is GLACIER, you must restore a copy of this object
|
||||
// before you can use it as a source object for the copy operation. For more
|
||||
// information, see RestoreObject
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html). The
|
||||
// following operations are related to CopyObject:
|
||||
//
|
||||
// * PutObject
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html)
|
||||
//
|
||||
// *
|
||||
// GetObject
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html)
|
||||
//
|
||||
// For more
|
||||
// information, see Copying Objects
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/CopyingObjectsExamples.html).
|
||||
// information, see Storage Classes (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html)
|
||||
// in the Amazon S3 User Guide. If the source object's storage class is GLACIER,
|
||||
// you must restore a copy of this object before you can use it as a source object
|
||||
// for the copy operation. For more information, see RestoreObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html)
|
||||
// . For more information, see Copying Objects (https://docs.aws.amazon.com/AmazonS3/latest/dev/CopyingObjectsExamples.html)
|
||||
// . Versioning By default, x-amz-copy-source identifies the current version of an
|
||||
// object to copy. If the current version is a delete marker, Amazon S3 behaves as
|
||||
// if the object was deleted. To copy a different version, use the versionId
|
||||
// subresource. If you enable versioning on the target bucket, Amazon S3 generates
|
||||
// a unique version ID for the object being copied. This version ID is different
|
||||
// from the version ID of the source object. Amazon S3 returns the version ID of
|
||||
// the copied object in the x-amz-version-id response header in the response. If
|
||||
// you do not enable versioning or suspend it on the target bucket, the version ID
|
||||
// that Amazon S3 generates is always null. The following operations are related to
|
||||
// CopyObject :
|
||||
// - PutObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html)
|
||||
// - GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html)
|
||||
func (c *Client) CopyObject(ctx context.Context, params *CopyObjectInput, optFns ...func(*Options)) (*CopyObjectOutput, error) {
|
||||
if params == nil {
|
||||
params = &CopyObjectInput{}
|
||||
|
@ -196,58 +161,53 @@ func (c *Client) CopyObject(ctx context.Context, params *CopyObjectInput, optFns
|
|||
|
||||
type CopyObjectInput struct {
|
||||
|
||||
// The name of the destination bucket. When using this action with an access point,
|
||||
// you must direct requests to the access point hostname. The access point hostname
|
||||
// takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com.
|
||||
// When using this action with an access point through the Amazon Web Services
|
||||
// SDKs, you provide the access point ARN in place of the bucket name. For more
|
||||
// information about access point ARNs, see Using access points
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// The name of the destination bucket. When using this action with an access
|
||||
// point, you must direct requests to the access point hostname. The access point
|
||||
// hostname takes the form
|
||||
// AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this
|
||||
// action with an access point through the Amazon Web Services SDKs, you provide
|
||||
// the access point ARN in place of the bucket name. For more information about
|
||||
// access point ARNs, see Using access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// in the Amazon S3 User Guide. When you use this action with Amazon S3 on
|
||||
// Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on
|
||||
// Outposts hostname takes the form
|
||||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you
|
||||
// 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) in the
|
||||
// Amazon S3 User Guide.
|
||||
// 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
|
||||
|
||||
// Specifies the source object for the copy operation. You specify the value in one
|
||||
// of two formats, depending on whether you want to access the source object
|
||||
// through an access point
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html):
|
||||
//
|
||||
// *
|
||||
// For objects not accessed through an access point, specify the name of the source
|
||||
// bucket and the key of the source object, separated by a slash (/). For example,
|
||||
// to copy the object reports/january.pdf from the bucket awsexamplebucket, use
|
||||
// awsexamplebucket/reports/january.pdf. The value must be URL-encoded.
|
||||
//
|
||||
// * For
|
||||
// objects accessed through access points, specify the Amazon Resource Name (ARN)
|
||||
// of the object as accessed through the access point, in the format
|
||||
// arn:aws:s3:::accesspoint//object/. For example, to copy the object
|
||||
// reports/january.pdf through access point my-access-point owned by account
|
||||
// 123456789012 in Region us-west-2, use the URL encoding of
|
||||
// arn:aws:s3:us-west-2:123456789012:accesspoint/my-access-point/object/reports/january.pdf.
|
||||
// The value must be URL encoded. Amazon S3 supports copy operations using access
|
||||
// points only when the source and destination buckets are in the same Amazon Web
|
||||
// Services Region. Alternatively, for objects accessed through Amazon S3 on
|
||||
// Outposts, specify the ARN of the object as accessed in the format
|
||||
// arn:aws:s3-outposts:::outpost//object/. For example, to copy the object
|
||||
// reports/january.pdf through outpost my-outpost owned by account 123456789012 in
|
||||
// Region us-west-2, use the URL encoding of
|
||||
// arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/object/reports/january.pdf.
|
||||
// The value must be URL-encoded.
|
||||
//
|
||||
// To copy a specific version of an object, append
|
||||
// ?versionId= to the value (for example,
|
||||
// awsexamplebucket/reports/january.pdf?versionId=QUpfdndhfd8438MNFDN93jdnJFkdmqnh893).
|
||||
// If you don't specify a version ID, Amazon S3 copies the latest version of the
|
||||
// Specifies the source object for the copy operation. You specify the value in
|
||||
// one of two formats, depending on whether you want to access the source object
|
||||
// through an access point (https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html)
|
||||
// :
|
||||
// - For objects not accessed through an access point, specify the name of the
|
||||
// source bucket and the key of the source object, separated by a slash (/). For
|
||||
// example, to copy the object reports/january.pdf from the bucket
|
||||
// awsexamplebucket , use awsexamplebucket/reports/january.pdf . The value must
|
||||
// be URL-encoded.
|
||||
// - For objects accessed through access points, specify the Amazon Resource
|
||||
// Name (ARN) of the object as accessed through the access point, in the format
|
||||
// arn:aws:s3:::accesspoint//object/ . For example, to copy the object
|
||||
// reports/january.pdf through access point my-access-point owned by account
|
||||
// 123456789012 in Region us-west-2 , use the URL encoding of
|
||||
// arn:aws:s3:us-west-2:123456789012:accesspoint/my-access-point/object/reports/january.pdf
|
||||
// . The value must be URL encoded. Amazon S3 supports copy operations using access
|
||||
// points only when the source and destination buckets are in the same Amazon Web
|
||||
// Services Region. Alternatively, for objects accessed through Amazon S3 on
|
||||
// Outposts, specify the ARN of the object as accessed in the format
|
||||
// arn:aws:s3-outposts:::outpost//object/ . For example, to copy the object
|
||||
// reports/january.pdf through outpost my-outpost owned by account 123456789012
|
||||
// in Region us-west-2 , use the URL encoding of
|
||||
// arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/object/reports/january.pdf
|
||||
// . The value must be URL-encoded.
|
||||
// To copy a specific version of an object, append ?versionId= to the value (for
|
||||
// example,
|
||||
// awsexamplebucket/reports/january.pdf?versionId=QUpfdndhfd8438MNFDN93jdnJFkdmqnh893
|
||||
// ). If you don't specify a version ID, Amazon S3 copies the latest version of the
|
||||
// source object.
|
||||
//
|
||||
// This member is required.
|
||||
|
@ -258,8 +218,8 @@ type CopyObjectInput struct {
|
|||
// This member is required.
|
||||
Key *string
|
||||
|
||||
// The canned ACL to apply to the object. This action is not supported by Amazon S3
|
||||
// on Outposts.
|
||||
// The canned ACL to apply to the object. This action is not supported by Amazon
|
||||
// S3 on Outposts.
|
||||
ACL types.ObjectCannedACL
|
||||
|
||||
// Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption
|
||||
|
@ -272,9 +232,8 @@ type CopyObjectInput struct {
|
|||
// Specifies caching behavior along the request/reply chain.
|
||||
CacheControl *string
|
||||
|
||||
// Indicates the algorithm you want Amazon S3 to use to create the checksum for the
|
||||
// object. For more information, see Checking object integrity
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html)
|
||||
// Indicates the algorithm you want Amazon S3 to use to create the checksum for
|
||||
// the object. For more information, see Checking object integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
ChecksumAlgorithm types.ChecksumAlgorithm
|
||||
|
||||
|
@ -339,8 +298,8 @@ type CopyObjectInput struct {
|
|||
// supported by Amazon S3 on Outposts.
|
||||
GrantRead *string
|
||||
|
||||
// Allows grantee to read the object ACL. This action is not supported by Amazon S3
|
||||
// on Outposts.
|
||||
// Allows grantee to read the object ACL. This action is not supported by Amazon
|
||||
// S3 on Outposts.
|
||||
GrantReadACP *string
|
||||
|
||||
// Allows grantee to write the ACL for the applicable object. This action is not
|
||||
|
@ -350,8 +309,8 @@ type CopyObjectInput struct {
|
|||
// A map of metadata to store with the object in S3.
|
||||
Metadata map[string]string
|
||||
|
||||
// Specifies whether the metadata is copied from the source object or replaced with
|
||||
// metadata provided in the request.
|
||||
// Specifies whether the metadata is copied from the source object or replaced
|
||||
// with metadata provided in the request.
|
||||
MetadataDirective types.MetadataDirective
|
||||
|
||||
// Specifies whether you want to apply a legal hold to the copied object.
|
||||
|
@ -366,8 +325,7 @@ type CopyObjectInput struct {
|
|||
// Confirms that the requester knows that they will be charged for the request.
|
||||
// Bucket owners need not specify this parameter in their requests. For information
|
||||
// about downloading objects from Requester Pays buckets, see Downloading Objects
|
||||
// in Requester Pays Buckets
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
|
||||
// in Requester Pays Buckets (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
RequestPayer types.RequestPayer
|
||||
|
||||
|
@ -396,26 +354,24 @@ type CopyObjectInput struct {
|
|||
// GET and PUT requests for an object protected by Amazon Web Services KMS will
|
||||
// fail if not made via SSL or using SigV4. For information about configuring using
|
||||
// any of the officially supported Amazon Web Services SDKs and Amazon Web Services
|
||||
// CLI, see Specifying the Signature Version in Request Authentication
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version)
|
||||
// CLI, see Specifying the Signature Version in Request Authentication (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version)
|
||||
// in the Amazon S3 User Guide.
|
||||
SSEKMSKeyId *string
|
||||
|
||||
// The server-side encryption algorithm used when storing this object in Amazon S3
|
||||
// (for example, AES256, aws:kms).
|
||||
// (for example, AES256, aws:kms ).
|
||||
ServerSideEncryption types.ServerSideEncryption
|
||||
|
||||
// By default, Amazon S3 uses the STANDARD Storage Class to store newly created
|
||||
// objects. The STANDARD storage class provides high durability and high
|
||||
// availability. Depending on performance needs, you can specify a different
|
||||
// Storage Class. Amazon S3 on Outposts only uses the OUTPOSTS Storage Class. For
|
||||
// more information, see Storage Classes
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html) in
|
||||
// the Amazon S3 User Guide.
|
||||
// more information, see Storage Classes (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
StorageClass types.StorageClass
|
||||
|
||||
// The tag-set for the object destination object this value must be used in
|
||||
// conjunction with the TaggingDirective. The tag-set must be encoded as URL Query
|
||||
// conjunction with the TaggingDirective . The tag-set must be encoded as URL Query
|
||||
// parameters.
|
||||
Tagging *string
|
||||
|
||||
|
@ -452,13 +408,14 @@ type CopyObjectOutput struct {
|
|||
// request.
|
||||
RequestCharged types.RequestCharged
|
||||
|
||||
// If server-side encryption with a customer-provided encryption key was requested,
|
||||
// the response will include this header confirming the encryption algorithm used.
|
||||
// If server-side encryption with a customer-provided encryption key was
|
||||
// requested, the response will include this header confirming the encryption
|
||||
// algorithm used.
|
||||
SSECustomerAlgorithm *string
|
||||
|
||||
// If server-side encryption with a customer-provided encryption key was requested,
|
||||
// the response will include this header to provide round-trip message integrity
|
||||
// verification of the customer-provided encryption key.
|
||||
// If server-side encryption with a customer-provided encryption key was
|
||||
// requested, the response will include this header to provide round-trip message
|
||||
// integrity verification of the customer-provided encryption key.
|
||||
SSECustomerKeyMD5 *string
|
||||
|
||||
// If present, specifies the Amazon Web Services KMS Encryption Context to use for
|
||||
|
@ -472,7 +429,7 @@ type CopyObjectOutput struct {
|
|||
SSEKMSKeyId *string
|
||||
|
||||
// The server-side encryption algorithm used when storing this object in Amazon S3
|
||||
// (for example, AES256, aws:kms).
|
||||
// (for example, AES256, aws:kms ).
|
||||
ServerSideEncryption types.ServerSideEncryption
|
||||
|
||||
// Version ID of the newly created copy.
|
||||
|
@ -541,6 +498,9 @@ func (c *Client) addOperationCopyObjectMiddlewares(stack *middleware.Stack, opti
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addCopyObjectUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
@ -571,8 +531,9 @@ func newServiceMetadataMiddleware_opCopyObject(region string) *awsmiddleware.Reg
|
|||
}
|
||||
}
|
||||
|
||||
// getCopyObjectBucketMember returns a pointer to string denoting a provided bucket
|
||||
// member valueand a boolean indicating if the input has a modeled bucket name,
|
||||
// getCopyObjectBucketMember returns a pointer to string denoting a provided
|
||||
// bucket member valueand a boolean indicating if the input has a modeled bucket
|
||||
// name,
|
||||
func getCopyObjectBucketMember(input interface{}) (*string, bool) {
|
||||
in := input.(*CopyObjectInput)
|
||||
if in.Bucket == nil {
|
||||
|
|
157
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateBucket.go
generated
vendored
157
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateBucket.go
generated
vendored
|
@ -16,121 +16,81 @@ import (
|
|||
// and have a valid Amazon Web Services Access Key ID to authenticate requests.
|
||||
// Anonymous requests are never allowed to create buckets. By creating the bucket,
|
||||
// you become the bucket owner. Not every string is an acceptable bucket name. For
|
||||
// information about bucket naming restrictions, see Bucket naming rules
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html).
|
||||
// If you want to create an Amazon S3 on Outposts bucket, see Create Bucket
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html).
|
||||
// By default, the bucket is created in the US East (N. Virginia) Region. You can
|
||||
// information about bucket naming restrictions, see Bucket naming rules (https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html)
|
||||
// . If you want to create an Amazon S3 on Outposts bucket, see Create Bucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html)
|
||||
// . By default, the bucket is created in the US East (N. Virginia) Region. You can
|
||||
// optionally specify a Region in the request body. You might choose a Region to
|
||||
// optimize latency, minimize costs, or address regulatory requirements. For
|
||||
// example, if you reside in Europe, you will probably find it advantageous to
|
||||
// create buckets in the Europe (Ireland) Region. For more information, see
|
||||
// Accessing a bucket
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html#access-bucket-intro).
|
||||
// If you send your create bucket request to the s3.amazonaws.com endpoint, the
|
||||
// Accessing a bucket (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html#access-bucket-intro)
|
||||
// . If you send your create bucket request to the s3.amazonaws.com endpoint, the
|
||||
// request goes to the us-east-1 Region. Accordingly, the signature calculations in
|
||||
// Signature Version 4 must use us-east-1 as the Region, even if the location
|
||||
// constraint in the request specifies another Region where the bucket is to be
|
||||
// created. If you create a bucket in a Region other than US East (N. Virginia),
|
||||
// your application must be able to handle 307 redirect. For more information, see
|
||||
// Virtual hosting of buckets
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html). Access
|
||||
// control lists (ACLs) When creating a bucket using this operation, you can
|
||||
// optionally configure the bucket ACL to specify the accounts or groups that
|
||||
// Virtual hosting of buckets (https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html)
|
||||
// . Access control lists (ACLs) When creating a bucket using this operation, you
|
||||
// can optionally configure the bucket ACL to specify the accounts or groups that
|
||||
// should be granted specific permissions on the bucket. If your CreateBucket
|
||||
// request sets bucket owner enforced for S3 Object Ownership and specifies a
|
||||
// bucket ACL that provides access to an external Amazon Web Services account, your
|
||||
// request fails with a 400 error and returns the
|
||||
// InvalidBucketAclWithObjectOwnership error code. For more information, see
|
||||
// Controlling object ownership
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html)
|
||||
// Controlling object ownership (https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html)
|
||||
// in the Amazon S3 User Guide. There are two ways to grant the appropriate
|
||||
// permissions using the request headers.
|
||||
// - Specify a canned ACL using the x-amz-acl request header. Amazon S3 supports
|
||||
// a set of predefined ACLs, known as canned ACLs. Each canned ACL has a predefined
|
||||
// set of grantees and permissions. For more information, see Canned ACL (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL)
|
||||
// .
|
||||
// - Specify access permissions explicitly using the x-amz-grant-read ,
|
||||
// x-amz-grant-write , x-amz-grant-read-acp , x-amz-grant-write-acp , and
|
||||
// x-amz-grant-full-control headers. These headers map to the set of permissions
|
||||
// Amazon S3 supports in an ACL. For more information, see Access control list
|
||||
// (ACL) overview (https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html)
|
||||
// . You specify each grantee as a type=value pair, where the type is one of the
|
||||
// following:
|
||||
// - id – if the value specified is the canonical user ID of an Amazon Web
|
||||
// Services account
|
||||
// - uri – if you are granting permissions to a predefined group
|
||||
// - emailAddress – if the value specified is the email address of an Amazon Web
|
||||
// Services account Using email addresses to specify a grantee is only supported in
|
||||
// the following Amazon Web Services Regions:
|
||||
// - US East (N. Virginia)
|
||||
// - US West (N. California)
|
||||
// - US West (Oregon)
|
||||
// - Asia Pacific (Singapore)
|
||||
// - Asia Pacific (Sydney)
|
||||
// - Asia Pacific (Tokyo)
|
||||
// - Europe (Ireland)
|
||||
// - South America (São Paulo) For a list of all the Amazon S3 supported Regions
|
||||
// and endpoints, see Regions and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region)
|
||||
// in the Amazon Web Services General Reference. For example, the following
|
||||
// x-amz-grant-read header grants the Amazon Web Services accounts identified by
|
||||
// account IDs permissions to read object data and its metadata:
|
||||
// x-amz-grant-read: id="11112222333", id="444455556666"
|
||||
//
|
||||
// * Specify a canned ACL using the
|
||||
// x-amz-acl request header. Amazon S3 supports a set of predefined ACLs, known as
|
||||
// canned ACLs. Each canned ACL has a predefined set of grantees and permissions.
|
||||
// For more information, see Canned ACL
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL).
|
||||
// You can use either a canned ACL or specify access permissions explicitly. You
|
||||
// cannot do both. Permissions In addition to s3:CreateBucket , the following
|
||||
// permissions are required when your CreateBucket includes specific headers:
|
||||
// - ACLs - If your CreateBucket request specifies ACL permissions and the ACL is
|
||||
// public-read, public-read-write, authenticated-read, or if you specify access
|
||||
// permissions explicitly through any other ACL, both s3:CreateBucket and
|
||||
// s3:PutBucketAcl permissions are needed. If the ACL the CreateBucket request is
|
||||
// private or doesn't specify any ACLs, only s3:CreateBucket permission is
|
||||
// needed.
|
||||
// - Object Lock - If ObjectLockEnabledForBucket is set to true in your
|
||||
// CreateBucket request, s3:PutBucketObjectLockConfiguration and
|
||||
// s3:PutBucketVersioning permissions are required.
|
||||
// - S3 Object Ownership - If your CreateBucket request includes the
|
||||
// x-amz-object-ownership header, s3:PutBucketOwnershipControls permission is
|
||||
// required.
|
||||
//
|
||||
// *
|
||||
// Specify access permissions explicitly using the x-amz-grant-read,
|
||||
// x-amz-grant-write, x-amz-grant-read-acp, x-amz-grant-write-acp, and
|
||||
// x-amz-grant-full-control headers. These headers map to the set of permissions
|
||||
// Amazon S3 supports in an ACL. For more information, see Access control list
|
||||
// (ACL) overview
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html). You
|
||||
// specify each grantee as a type=value pair, where the type is one of the
|
||||
// following:
|
||||
//
|
||||
// * id – if the value specified is the canonical user ID of an Amazon
|
||||
// Web Services account
|
||||
//
|
||||
// * uri – if you are granting permissions to a predefined
|
||||
// group
|
||||
//
|
||||
// * emailAddress – if the value specified is the email address of an Amazon
|
||||
// Web Services account Using email addresses to specify a grantee is only
|
||||
// supported in the following Amazon Web Services Regions:
|
||||
//
|
||||
// * US East (N.
|
||||
// Virginia)
|
||||
//
|
||||
// * US West (N. California)
|
||||
//
|
||||
// * US West (Oregon)
|
||||
//
|
||||
// * Asia Pacific
|
||||
// (Singapore)
|
||||
//
|
||||
// * Asia Pacific (Sydney)
|
||||
//
|
||||
// * Asia Pacific (Tokyo)
|
||||
//
|
||||
// * Europe
|
||||
// (Ireland)
|
||||
//
|
||||
// * South America (São Paulo)
|
||||
//
|
||||
// For a list of all the Amazon S3
|
||||
// supported Regions and endpoints, see Regions and Endpoints
|
||||
// (https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region) in the
|
||||
// Amazon Web Services General Reference.
|
||||
//
|
||||
// For example, the following
|
||||
// x-amz-grant-read header grants the Amazon Web Services accounts identified by
|
||||
// account IDs permissions to read object data and its metadata: x-amz-grant-read:
|
||||
// id="11112222333", id="444455556666"
|
||||
//
|
||||
// You can use either a canned ACL or specify
|
||||
// access permissions explicitly. You cannot do both. Permissions In addition to
|
||||
// s3:CreateBucket, the following permissions are required when your CreateBucket
|
||||
// includes specific headers:
|
||||
//
|
||||
// * ACLs - If your CreateBucket request specifies ACL
|
||||
// permissions and the ACL is public-read, public-read-write, authenticated-read,
|
||||
// or if you specify access permissions explicitly through any other ACL, both
|
||||
// s3:CreateBucket and s3:PutBucketAcl permissions are needed. If the ACL the
|
||||
// CreateBucket request is private or doesn't specify any ACLs, only
|
||||
// s3:CreateBucket permission is needed.
|
||||
//
|
||||
// * Object Lock - If
|
||||
// ObjectLockEnabledForBucket is set to true in your CreateBucket request,
|
||||
// s3:PutBucketObjectLockConfiguration and s3:PutBucketVersioning permissions are
|
||||
// required.
|
||||
//
|
||||
// * S3 Object Ownership - If your CreateBucket request includes the the
|
||||
// x-amz-object-ownership header, s3:PutBucketOwnershipControls permission is
|
||||
// required.
|
||||
//
|
||||
// The following operations are related to CreateBucket:
|
||||
//
|
||||
// * PutObject
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html)
|
||||
//
|
||||
// *
|
||||
// DeleteBucket
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucket.html)
|
||||
// The following operations are related to CreateBucket :
|
||||
// - PutObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html)
|
||||
// - DeleteBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucket.html)
|
||||
func (c *Client) CreateBucket(ctx context.Context, params *CreateBucketInput, optFns ...func(*Options)) (*CreateBucketOutput, error) {
|
||||
if params == nil {
|
||||
params = &CreateBucketInput{}
|
||||
|
@ -264,6 +224,9 @@ func (c *Client) addOperationCreateBucketMiddlewares(stack *middleware.Stack, op
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addCreateBucketUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
411
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateMultipartUpload.go
generated
vendored
411
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateMultipartUpload.go
generated
vendored
|
@ -16,29 +16,25 @@ import (
|
|||
// This action initiates a multipart upload and returns an upload ID. This upload
|
||||
// ID is used to associate all of the parts in the specific multipart upload. You
|
||||
// specify this upload ID in each of your subsequent upload part requests (see
|
||||
// UploadPart
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html)). You also
|
||||
// include this upload ID in the final request to either complete or abort the
|
||||
// multipart upload request. For more information about multipart uploads, see
|
||||
// Multipart Upload Overview
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html). If you have
|
||||
// configured a lifecycle rule to abort incomplete multipart uploads, the upload
|
||||
// must complete within the number of days specified in the bucket lifecycle
|
||||
// configuration. Otherwise, the incomplete multipart upload becomes eligible for
|
||||
// an abort action and Amazon S3 aborts the multipart upload. For more information,
|
||||
// see Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Policy
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html#mpu-abort-incomplete-mpu-lifecycle-config).
|
||||
// For information about the permissions required to use the multipart upload API,
|
||||
// see Multipart Upload and Permissions
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html). For
|
||||
// request signing, multipart upload is just a series of regular requests. You
|
||||
// initiate a multipart upload, send one or more requests to upload parts, and then
|
||||
// complete the multipart upload process. You sign each request individually. There
|
||||
// is nothing special about signing multipart upload requests. For more information
|
||||
// about signing, see Authenticating Requests (Amazon Web Services Signature
|
||||
// Version 4)
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html).
|
||||
// After you initiate a multipart upload and upload one or more parts, to stop
|
||||
// UploadPart (https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html)
|
||||
// ). You also include this upload ID in the final request to either complete or
|
||||
// abort the multipart upload request. For more information about multipart
|
||||
// uploads, see Multipart Upload Overview (https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html)
|
||||
// . If you have configured a lifecycle rule to abort incomplete multipart uploads,
|
||||
// the upload must complete within the number of days specified in the bucket
|
||||
// lifecycle configuration. Otherwise, the incomplete multipart upload becomes
|
||||
// eligible for an abort action and Amazon S3 aborts the multipart upload. For more
|
||||
// information, see Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle
|
||||
// Configuration (https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html#mpu-abort-incomplete-mpu-lifecycle-config)
|
||||
// . For information about the permissions required to use the multipart upload
|
||||
// API, see Multipart Upload and Permissions (https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html)
|
||||
// . For request signing, multipart upload is just a series of regular requests.
|
||||
// You initiate a multipart upload, send one or more requests to upload parts, and
|
||||
// then complete the multipart upload process. You sign each request individually.
|
||||
// There is nothing special about signing multipart upload requests. For more
|
||||
// information about signing, see Authenticating Requests (Amazon Web Services
|
||||
// Signature Version 4) (https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html)
|
||||
// . After you initiate a multipart upload and upload one or more parts, to stop
|
||||
// being charged for storing the uploaded parts, you must either complete or abort
|
||||
// the multipart upload. Amazon S3 frees up the space used to store the parts and
|
||||
// stop charging you for storing them only after you either complete or abort a
|
||||
|
@ -60,199 +56,123 @@ import (
|
|||
// customer-provided key. If the encryption setting in your request is different
|
||||
// from the default encryption configuration of the destination bucket, the
|
||||
// encryption setting in your request takes precedence. If you choose to provide
|
||||
// your own encryption key, the request headers you provide in UploadPart
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html) and
|
||||
// UploadPartCopy
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html)
|
||||
// your own encryption key, the request headers you provide in UploadPart (https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html)
|
||||
// and UploadPartCopy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html)
|
||||
// requests must match the headers you used in the request to initiate the upload
|
||||
// by using CreateMultipartUpload. you can request that Amazon S3 save the uploaded
|
||||
// parts encrypted with server-side encryption with an Amazon S3 managed key
|
||||
// (SSE-S3), an Key Management Service (KMS) key (SSE-KMS), or a customer-provided
|
||||
// encryption key (SSE-C). To perform a multipart upload with encryption by using
|
||||
// an Amazon Web Services KMS key, the requester must have permission to the
|
||||
// kms:Decrypt and kms:GenerateDataKey* actions on the key. These permissions are
|
||||
// required because Amazon S3 must decrypt and read data from the encrypted file
|
||||
// parts before it completes the multipart upload. For more information, see
|
||||
// Multipart upload API and permissions
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html#mpuAndPermissions)
|
||||
// and Protecting data using server-side encryption with Amazon Web Services KMS
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html)
|
||||
// by using CreateMultipartUpload . You can request that Amazon S3 save the
|
||||
// uploaded parts encrypted with server-side encryption with an Amazon S3 managed
|
||||
// key (SSE-S3), an Key Management Service (KMS) key (SSE-KMS), or a
|
||||
// customer-provided encryption key (SSE-C). To perform a multipart upload with
|
||||
// encryption by using an Amazon Web Services KMS key, the requester must have
|
||||
// permission to the kms:Decrypt and kms:GenerateDataKey* actions on the key.
|
||||
// These permissions are required because Amazon S3 must decrypt and read data from
|
||||
// the encrypted file parts before it completes the multipart upload. For more
|
||||
// information, see Multipart upload API and permissions (https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html#mpuAndPermissions)
|
||||
// and Protecting data using server-side encryption with Amazon Web Services KMS (https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html)
|
||||
// in the Amazon S3 User Guide. If your Identity and Access Management (IAM) user
|
||||
// or role is in the same Amazon Web Services account as the KMS key, then you must
|
||||
// have these permissions on the key policy. If your IAM user or role belongs to a
|
||||
// different account than the key, then you must have the permissions on both the
|
||||
// key policy and your IAM user or role. For more information, see Protecting Data
|
||||
// Using Server-Side Encryption
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html).
|
||||
// Access Permissions When copying an object, you can optionally specify the
|
||||
// Using Server-Side Encryption (https://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html)
|
||||
// . Access Permissions When copying an object, you can optionally specify the
|
||||
// accounts or groups that should be granted specific permissions on the new
|
||||
// object. There are two ways to grant the permissions using the request
|
||||
// headers:
|
||||
// object. There are two ways to grant the permissions using the request headers:
|
||||
// - Specify a canned ACL with the x-amz-acl request header. For more
|
||||
// information, see Canned ACL (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL)
|
||||
// .
|
||||
// - Specify access permissions explicitly with the x-amz-grant-read ,
|
||||
// x-amz-grant-read-acp , x-amz-grant-write-acp , and x-amz-grant-full-control
|
||||
// headers. These parameters map to the set of permissions that Amazon S3 supports
|
||||
// in an ACL. For more information, see Access Control List (ACL) Overview (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html)
|
||||
// .
|
||||
//
|
||||
// * Specify a canned ACL with the x-amz-acl request header. For more
|
||||
// information, see Canned ACL
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL).
|
||||
// You can use either a canned ACL or specify access permissions explicitly. You
|
||||
// cannot do both. Server-Side- Encryption-Specific Request Headers Amazon S3
|
||||
// encrypts data by using server-side encryption with an Amazon S3 managed key
|
||||
// (SSE-S3) by default. Server-side encryption is for data encryption at rest.
|
||||
// Amazon S3 encrypts your data as it writes it to disks in its data centers and
|
||||
// decrypts it when you access it. You can request that Amazon S3 encrypts data at
|
||||
// rest by using server-side encryption with other key options. The option you use
|
||||
// depends on whether you want to use KMS keys (SSE-KMS) or provide your own
|
||||
// encryption keys (SSE-C).
|
||||
// - Use KMS keys (SSE-KMS) that include the Amazon Web Services managed key (
|
||||
// aws/s3 ) and KMS customer managed keys stored in Key Management Service (KMS)
|
||||
// – If you want Amazon Web Services to manage the keys used to encrypt data,
|
||||
// specify the following headers in the request.
|
||||
// - x-amz-server-side-encryption
|
||||
// - x-amz-server-side-encryption-aws-kms-key-id
|
||||
// - x-amz-server-side-encryption-context If you specify
|
||||
// x-amz-server-side-encryption:aws:kms , but don't provide
|
||||
// x-amz-server-side-encryption-aws-kms-key-id , Amazon S3 uses the Amazon Web
|
||||
// Services managed key ( aws/s3 key) in KMS to protect the data. All GET and PUT
|
||||
// requests for an object protected by KMS fail if you don't make them by using
|
||||
// Secure Sockets Layer (SSL), Transport Layer Security (TLS), or Signature Version
|
||||
// 4. For more information about server-side encryption with KMS keys (SSE-KMS),
|
||||
// see Protecting Data Using Server-Side Encryption with KMS keys (https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html)
|
||||
// .
|
||||
// - Use customer-provided encryption keys (SSE-C) – If you want to manage your
|
||||
// own encryption keys, provide all the following headers in the request.
|
||||
// - x-amz-server-side-encryption-customer-algorithm
|
||||
// - x-amz-server-side-encryption-customer-key
|
||||
// - x-amz-server-side-encryption-customer-key-MD5 For more information about
|
||||
// server-side encryption with customer-provided encryption keys (SSE-C), see
|
||||
// Protecting data using server-side encryption with customer-provided encryption
|
||||
// keys (SSE-C) (https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerSideEncryptionCustomerKeys.html)
|
||||
// .
|
||||
//
|
||||
// *
|
||||
// Specify access permissions explicitly with the x-amz-grant-read,
|
||||
// x-amz-grant-read-acp, x-amz-grant-write-acp, and x-amz-grant-full-control
|
||||
// headers. These parameters map to the set of permissions that Amazon S3 supports
|
||||
// in an ACL. For more information, see Access Control List (ACL) Overview
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html).
|
||||
// Access-Control-List (ACL)-Specific Request Headers You also can use the
|
||||
// following access control–related headers with this operation. By default, all
|
||||
// objects are private. Only the owner has full access control. When adding a new
|
||||
// object, you can grant permissions to individual Amazon Web Services accounts or
|
||||
// to predefined groups defined by Amazon S3. These permissions are then added to
|
||||
// the access control list (ACL) on the object. For more information, see Using
|
||||
// ACLs (https://docs.aws.amazon.com/AmazonS3/latest/dev/S3_ACLs_UsingACLs.html) .
|
||||
// With this operation, you can grant access permissions using one of the following
|
||||
// two methods:
|
||||
// - Specify a canned ACL ( x-amz-acl ) — Amazon S3 supports a set of predefined
|
||||
// ACLs, known as canned ACLs. Each canned ACL has a predefined set of grantees and
|
||||
// permissions. For more information, see Canned ACL (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL)
|
||||
// .
|
||||
// - Specify access permissions explicitly — To explicitly grant access
|
||||
// permissions to specific Amazon Web Services accounts or groups, use the
|
||||
// following headers. Each header maps to specific permissions that Amazon S3
|
||||
// supports in an ACL. For more information, see Access Control List (ACL)
|
||||
// Overview (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html) .
|
||||
// In the header, you specify a list of grantees who get the specific permission.
|
||||
// To grant permissions explicitly, use:
|
||||
// - x-amz-grant-read
|
||||
// - x-amz-grant-write
|
||||
// - x-amz-grant-read-acp
|
||||
// - x-amz-grant-write-acp
|
||||
// - x-amz-grant-full-control You specify each grantee as a type=value pair,
|
||||
// where the type is one of the following:
|
||||
// - id – if the value specified is the canonical user ID of an Amazon Web
|
||||
// Services account
|
||||
// - uri – if you are granting permissions to a predefined group
|
||||
// - emailAddress – if the value specified is the email address of an Amazon Web
|
||||
// Services account Using email addresses to specify a grantee is only supported in
|
||||
// the following Amazon Web Services Regions:
|
||||
// - US East (N. Virginia)
|
||||
// - US West (N. California)
|
||||
// - US West (Oregon)
|
||||
// - Asia Pacific (Singapore)
|
||||
// - Asia Pacific (Sydney)
|
||||
// - Asia Pacific (Tokyo)
|
||||
// - Europe (Ireland)
|
||||
// - South America (São Paulo) For a list of all the Amazon S3 supported Regions
|
||||
// and endpoints, see Regions and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region)
|
||||
// in the Amazon Web Services General Reference. For example, the following
|
||||
// x-amz-grant-read header grants the Amazon Web Services accounts identified by
|
||||
// account IDs permissions to read object data and its metadata:
|
||||
// x-amz-grant-read: id="11112222333", id="444455556666"
|
||||
//
|
||||
// You can
|
||||
// use either a canned ACL or specify access permissions explicitly. You cannot do
|
||||
// both. Server-Side- Encryption-Specific Request Headers Amazon S3 encrypts data
|
||||
// by using server-side encryption with an Amazon S3 managed key (SSE-S3) by
|
||||
// default. Server-side encryption is for data encryption at rest. Amazon S3
|
||||
// encrypts your data as it writes it to disks in its data centers and decrypts it
|
||||
// when you access it. You can request that Amazon S3 encrypts data at rest by
|
||||
// using server-side encryption with other key options. The option you use depends
|
||||
// on whether you want to use KMS keys (SSE-KMS) or provide your own encryption
|
||||
// keys (SSE-C).
|
||||
//
|
||||
// * Use KMS keys (SSE-KMS) that include the Amazon Web Services
|
||||
// managed key (aws/s3) and KMS customer managed keys stored in Key Management
|
||||
// Service (KMS) – If you want Amazon Web Services to manage the keys used to
|
||||
// encrypt data, specify the following headers in the request.
|
||||
//
|
||||
// *
|
||||
// x-amz-server-side-encryption
|
||||
//
|
||||
// * x-amz-server-side-encryption-aws-kms-key-id
|
||||
//
|
||||
// *
|
||||
// x-amz-server-side-encryption-context
|
||||
//
|
||||
// If you specify
|
||||
// x-amz-server-side-encryption:aws:kms, but don't provide
|
||||
// x-amz-server-side-encryption-aws-kms-key-id, Amazon S3 uses the Amazon Web
|
||||
// Services managed key (aws/s3 key) in KMS to protect the data. All GET and PUT
|
||||
// requests for an object protected by KMS fail if you don't make them by using
|
||||
// Secure Sockets Layer (SSL), Transport Layer Security (TLS), or Signature Version
|
||||
// 4. For more information about server-side encryption with KMS keys (SSE-KMS),
|
||||
// see Protecting Data Using Server-Side Encryption with KMS keys
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html).
|
||||
//
|
||||
// *
|
||||
// Use customer-provided encryption keys (SSE-C) – If you want to manage your own
|
||||
// encryption keys, provide all the following headers in the request.
|
||||
//
|
||||
// *
|
||||
// x-amz-server-side-encryption-customer-algorithm
|
||||
//
|
||||
// *
|
||||
// x-amz-server-side-encryption-customer-key
|
||||
//
|
||||
// *
|
||||
// x-amz-server-side-encryption-customer-key-MD5
|
||||
//
|
||||
// For more information about
|
||||
// server-side encryption with customer-provided encryption keys (SSE-C), see
|
||||
// Protecting data using server-side encryption with customer-provided encryption
|
||||
// keys (SSE-C)
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerSideEncryptionCustomerKeys.html).
|
||||
//
|
||||
// Access-Control-List
|
||||
// (ACL)-Specific Request Headers You also can use the following access
|
||||
// control–related headers with this operation. By default, all objects are
|
||||
// private. Only the owner has full access control. When adding a new object, you
|
||||
// can grant permissions to individual Amazon Web Services accounts or to
|
||||
// predefined groups defined by Amazon S3. These permissions are then added to the
|
||||
// access control list (ACL) on the object. For more information, see Using ACLs
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/S3_ACLs_UsingACLs.html). With
|
||||
// this operation, you can grant access permissions using one of the following two
|
||||
// methods:
|
||||
//
|
||||
// * Specify a canned ACL (x-amz-acl) — Amazon S3 supports a set of
|
||||
// predefined ACLs, known as canned ACLs. Each canned ACL has a predefined set of
|
||||
// grantees and permissions. For more information, see Canned ACL
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL).
|
||||
//
|
||||
// *
|
||||
// Specify access permissions explicitly — To explicitly grant access permissions
|
||||
// to specific Amazon Web Services accounts or groups, use the following headers.
|
||||
// Each header maps to specific permissions that Amazon S3 supports in an ACL. For
|
||||
// more information, see Access Control List (ACL) Overview
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html). In the
|
||||
// header, you specify a list of grantees who get the specific permission. To grant
|
||||
// permissions explicitly, use:
|
||||
//
|
||||
// * x-amz-grant-read
|
||||
//
|
||||
// * x-amz-grant-write
|
||||
//
|
||||
// *
|
||||
// x-amz-grant-read-acp
|
||||
//
|
||||
// * x-amz-grant-write-acp
|
||||
//
|
||||
// * x-amz-grant-full-control
|
||||
//
|
||||
// You
|
||||
// specify each grantee as a type=value pair, where the type is one of the
|
||||
// following:
|
||||
//
|
||||
// * id – if the value specified is the canonical user ID of an Amazon
|
||||
// Web Services account
|
||||
//
|
||||
// * uri – if you are granting permissions to a predefined
|
||||
// group
|
||||
//
|
||||
// * emailAddress – if the value specified is the email address of an Amazon
|
||||
// Web Services account Using email addresses to specify a grantee is only
|
||||
// supported in the following Amazon Web Services Regions:
|
||||
//
|
||||
// * US East (N.
|
||||
// Virginia)
|
||||
//
|
||||
// * US West (N. California)
|
||||
//
|
||||
// * US West (Oregon)
|
||||
//
|
||||
// * Asia Pacific
|
||||
// (Singapore)
|
||||
//
|
||||
// * Asia Pacific (Sydney)
|
||||
//
|
||||
// * Asia Pacific (Tokyo)
|
||||
//
|
||||
// * Europe
|
||||
// (Ireland)
|
||||
//
|
||||
// * South America (São Paulo)
|
||||
//
|
||||
// For a list of all the Amazon S3
|
||||
// supported Regions and endpoints, see Regions and Endpoints
|
||||
// (https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region) in the
|
||||
// Amazon Web Services General Reference.
|
||||
//
|
||||
// For example, the following
|
||||
// x-amz-grant-read header grants the Amazon Web Services accounts identified by
|
||||
// account IDs permissions to read object data and its metadata: x-amz-grant-read:
|
||||
// id="11112222333", id="444455556666"
|
||||
//
|
||||
// The following operations are related to
|
||||
// CreateMultipartUpload:
|
||||
//
|
||||
// * UploadPart
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html)
|
||||
//
|
||||
// *
|
||||
// CompleteMultipartUpload
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html)
|
||||
//
|
||||
// *
|
||||
// AbortMultipartUpload
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html)
|
||||
//
|
||||
// *
|
||||
// ListParts
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html)
|
||||
//
|
||||
// *
|
||||
// ListMultipartUploads
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListMultipartUploads.html)
|
||||
// The following operations are related to CreateMultipartUpload :
|
||||
// - UploadPart (https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html)
|
||||
// - CompleteMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html)
|
||||
// - AbortMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html)
|
||||
// - ListParts (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html)
|
||||
// - ListMultipartUploads (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListMultipartUploads.html)
|
||||
func (c *Client) CreateMultipartUpload(ctx context.Context, params *CreateMultipartUploadInput, optFns ...func(*Options)) (*CreateMultipartUploadOutput, error) {
|
||||
if params == nil {
|
||||
params = &CreateMultipartUploadInput{}
|
||||
|
@ -276,17 +196,15 @@ type CreateMultipartUploadInput struct {
|
|||
// AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this
|
||||
// action with an access point through the Amazon Web Services SDKs, you provide
|
||||
// the access point ARN in place of the bucket name. For more information about
|
||||
// access point ARNs, see Using access points
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// access point ARNs, see Using access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// in the Amazon S3 User Guide. When you use this action with Amazon S3 on
|
||||
// Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on
|
||||
// Outposts hostname takes the form
|
||||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you
|
||||
// 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) in the
|
||||
// Amazon S3 User Guide.
|
||||
// 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
|
||||
|
@ -296,8 +214,8 @@ type CreateMultipartUploadInput struct {
|
|||
// This member is required.
|
||||
Key *string
|
||||
|
||||
// The canned ACL to apply to the object. This action is not supported by Amazon S3
|
||||
// on Outposts.
|
||||
// The canned ACL to apply to the object. This action is not supported by Amazon
|
||||
// S3 on Outposts.
|
||||
ACL types.ObjectCannedACL
|
||||
|
||||
// Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption
|
||||
|
@ -310,9 +228,8 @@ type CreateMultipartUploadInput struct {
|
|||
// Specifies caching behavior along the request/reply chain.
|
||||
CacheControl *string
|
||||
|
||||
// Indicates the algorithm you want Amazon S3 to use to create the checksum for the
|
||||
// object. For more information, see Checking object integrity
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html)
|
||||
// Indicates the algorithm you want Amazon S3 to use to create the checksum for
|
||||
// the object. For more information, see Checking object integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
ChecksumAlgorithm types.ChecksumAlgorithm
|
||||
|
||||
|
@ -346,8 +263,8 @@ type CreateMultipartUploadInput struct {
|
|||
// supported by Amazon S3 on Outposts.
|
||||
GrantRead *string
|
||||
|
||||
// Allows grantee to read the object ACL. This action is not supported by Amazon S3
|
||||
// on Outposts.
|
||||
// Allows grantee to read the object ACL. This action is not supported by Amazon
|
||||
// S3 on Outposts.
|
||||
GrantReadACP *string
|
||||
|
||||
// Allows grantee to write the ACL for the applicable object. This action is not
|
||||
|
@ -369,8 +286,7 @@ type CreateMultipartUploadInput struct {
|
|||
// Confirms that the requester knows that they will be charged for the request.
|
||||
// Bucket owners need not specify this parameter in their requests. For information
|
||||
// about downloading objects from Requester Pays buckets, see Downloading Objects
|
||||
// in Requester Pays Buckets
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
|
||||
// in Requester Pays Buckets (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
RequestPayer types.RequestPayer
|
||||
|
||||
|
@ -400,22 +316,20 @@ type CreateMultipartUploadInput struct {
|
|||
// Web Services KMS will fail if not made via SSL or using SigV4. For information
|
||||
// about configuring using any of the officially supported Amazon Web Services SDKs
|
||||
// and Amazon Web Services CLI, see Specifying the Signature Version in Request
|
||||
// Authentication
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version)
|
||||
// Authentication (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version)
|
||||
// in the Amazon S3 User Guide.
|
||||
SSEKMSKeyId *string
|
||||
|
||||
// The server-side encryption algorithm used when storing this object in Amazon S3
|
||||
// (for example, AES256, aws:kms).
|
||||
// (for example, AES256, aws:kms ).
|
||||
ServerSideEncryption types.ServerSideEncryption
|
||||
|
||||
// By default, Amazon S3 uses the STANDARD Storage Class to store newly created
|
||||
// objects. The STANDARD storage class provides high durability and high
|
||||
// availability. Depending on performance needs, you can specify a different
|
||||
// Storage Class. Amazon S3 on Outposts only uses the OUTPOSTS Storage Class. For
|
||||
// more information, see Storage Classes
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html) in
|
||||
// the Amazon S3 User Guide.
|
||||
// more information, see Storage Classes (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
StorageClass types.StorageClass
|
||||
|
||||
// The tag-set for the object. The tag-set must be encoded as URL Query parameters.
|
||||
|
@ -431,15 +345,14 @@ type CreateMultipartUploadInput struct {
|
|||
|
||||
type CreateMultipartUploadOutput struct {
|
||||
|
||||
// If the bucket has a lifecycle rule configured with an action to abort incomplete
|
||||
// multipart uploads and the prefix in the lifecycle rule matches the object name
|
||||
// in the request, the response includes this header. The header indicates when the
|
||||
// initiated multipart upload becomes eligible for an abort operation. For more
|
||||
// information, see Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle
|
||||
// Policy
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html#mpu-abort-incomplete-mpu-lifecycle-config).
|
||||
// The response also includes the x-amz-abort-rule-id header that provides the ID
|
||||
// of the lifecycle configuration rule that defines this action.
|
||||
// If the bucket has a lifecycle rule configured with an action to abort
|
||||
// incomplete multipart uploads and the prefix in the lifecycle rule matches the
|
||||
// object name in the request, the response includes this header. The header
|
||||
// indicates when the initiated multipart upload becomes eligible for an abort
|
||||
// operation. For more information, see Aborting Incomplete Multipart Uploads
|
||||
// Using a Bucket Lifecycle Configuration (https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html#mpu-abort-incomplete-mpu-lifecycle-config)
|
||||
// . The response also includes the x-amz-abort-rule-id header that provides the
|
||||
// ID of the lifecycle configuration rule that defines this action.
|
||||
AbortDate *time.Time
|
||||
|
||||
// This header is returned along with the x-amz-abort-date header. It identifies
|
||||
|
@ -454,17 +367,15 @@ type CreateMultipartUploadOutput struct {
|
|||
// AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this
|
||||
// action with an access point through the Amazon Web Services SDKs, you provide
|
||||
// the access point ARN in place of the bucket name. For more information about
|
||||
// access point ARNs, see Using access points
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// access point ARNs, see Using access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// in the Amazon S3 User Guide. When you use this action with Amazon S3 on
|
||||
// Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on
|
||||
// Outposts hostname takes the form
|
||||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you
|
||||
// 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) in the
|
||||
// Amazon S3 User Guide.
|
||||
// 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
|
||||
|
||||
// Indicates whether the multipart upload uses an S3 Bucket Key for server-side
|
||||
|
@ -481,13 +392,14 @@ type CreateMultipartUploadOutput struct {
|
|||
// request.
|
||||
RequestCharged types.RequestCharged
|
||||
|
||||
// If server-side encryption with a customer-provided encryption key was requested,
|
||||
// the response will include this header confirming the encryption algorithm used.
|
||||
// If server-side encryption with a customer-provided encryption key was
|
||||
// requested, the response will include this header confirming the encryption
|
||||
// algorithm used.
|
||||
SSECustomerAlgorithm *string
|
||||
|
||||
// If server-side encryption with a customer-provided encryption key was requested,
|
||||
// the response will include this header to provide round-trip message integrity
|
||||
// verification of the customer-provided encryption key.
|
||||
// If server-side encryption with a customer-provided encryption key was
|
||||
// requested, the response will include this header to provide round-trip message
|
||||
// integrity verification of the customer-provided encryption key.
|
||||
SSECustomerKeyMD5 *string
|
||||
|
||||
// If present, specifies the Amazon Web Services KMS Encryption Context to use for
|
||||
|
@ -501,7 +413,7 @@ type CreateMultipartUploadOutput struct {
|
|||
SSEKMSKeyId *string
|
||||
|
||||
// The server-side encryption algorithm used when storing this object in Amazon S3
|
||||
// (for example, AES256, aws:kms).
|
||||
// (for example, AES256, aws:kms ).
|
||||
ServerSideEncryption types.ServerSideEncryption
|
||||
|
||||
// ID for the initiated multipart upload.
|
||||
|
@ -570,6 +482,9 @@ func (c *Client) addOperationCreateMultipartUploadMiddlewares(stack *middleware.
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addCreateMultipartUploadUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
14
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucket.go
generated
vendored
14
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucket.go
generated
vendored
|
@ -13,14 +13,9 @@ import (
|
|||
|
||||
// Deletes the S3 bucket. All objects (including all object versions and delete
|
||||
// markers) in the bucket must be deleted before the bucket itself can be deleted.
|
||||
// Related Resources
|
||||
//
|
||||
// * CreateBucket
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html)
|
||||
//
|
||||
// *
|
||||
// DeleteObject
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html)
|
||||
// The following operations are related to DeleteBucket :
|
||||
// - CreateBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html)
|
||||
// - DeleteObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html)
|
||||
func (c *Client) DeleteBucket(ctx context.Context, params *DeleteBucketInput, optFns ...func(*Options)) (*DeleteBucketOutput, error) {
|
||||
if params == nil {
|
||||
params = &DeleteBucketInput{}
|
||||
|
@ -115,6 +110,9 @@ func (c *Client) addOperationDeleteBucketMiddlewares(stack *middleware.Stack, op
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addDeleteBucketUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
@ -13,29 +13,17 @@ import (
|
|||
|
||||
// Deletes an analytics configuration for the bucket (specified by the analytics
|
||||
// configuration ID). To use this operation, you must have permissions to perform
|
||||
// the s3:PutAnalyticsConfiguration action. The bucket owner has this permission by
|
||||
// default. The bucket owner can grant this permission to others. For more
|
||||
// the s3:PutAnalyticsConfiguration action. The bucket owner has this permission
|
||||
// by default. The bucket owner 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).
|
||||
// For information about the Amazon S3 analytics feature, see Amazon S3 Analytics –
|
||||
// Storage Class Analysis
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/analytics-storage-class.html).
|
||||
// The following operations are related to DeleteBucketAnalyticsConfiguration:
|
||||
//
|
||||
// *
|
||||
// GetBucketAnalyticsConfiguration
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketAnalyticsConfiguration.html)
|
||||
//
|
||||
// *
|
||||
// ListBucketAnalyticsConfigurations
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketAnalyticsConfigurations.html)
|
||||
//
|
||||
// *
|
||||
// PutBucketAnalyticsConfiguration
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketAnalyticsConfiguration.html)
|
||||
// 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)
|
||||
// . For information about the Amazon S3 analytics feature, see Amazon S3
|
||||
// Analytics – Storage Class Analysis (https://docs.aws.amazon.com/AmazonS3/latest/dev/analytics-storage-class.html)
|
||||
// . The following operations are related to DeleteBucketAnalyticsConfiguration :
|
||||
// - GetBucketAnalyticsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketAnalyticsConfiguration.html)
|
||||
// - ListBucketAnalyticsConfigurations (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketAnalyticsConfigurations.html)
|
||||
// - PutBucketAnalyticsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketAnalyticsConfiguration.html)
|
||||
func (c *Client) DeleteBucketAnalyticsConfiguration(ctx context.Context, params *DeleteBucketAnalyticsConfigurationInput, optFns ...func(*Options)) (*DeleteBucketAnalyticsConfigurationOutput, error) {
|
||||
if params == nil {
|
||||
params = &DeleteBucketAnalyticsConfigurationInput{}
|
||||
|
@ -135,6 +123,9 @@ func (c *Client) addOperationDeleteBucketAnalyticsConfigurationMiddlewares(stack
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addDeleteBucketAnalyticsConfigurationUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
18
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketCors.go
generated
vendored
18
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketCors.go
generated
vendored
|
@ -14,16 +14,11 @@ import (
|
|||
// Deletes the cors configuration information set for the bucket. To use this
|
||||
// operation, you must have permission to perform the s3:PutBucketCORS action. The
|
||||
// bucket owner has this permission by default and can grant this permission to
|
||||
// others. For information about cors, see Enabling Cross-Origin Resource Sharing
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html) in the Amazon S3
|
||||
// User Guide. Related Resources:
|
||||
//
|
||||
// * PutBucketCors
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketCors.html)
|
||||
//
|
||||
// *
|
||||
// RESTOPTIONSobject
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTOPTIONSobject.html)
|
||||
// others. For information about cors , see Enabling Cross-Origin Resource Sharing (https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html)
|
||||
// in the Amazon S3 User Guide. The following operations are related to
|
||||
// DeleteBucketCors :
|
||||
// - PutBucketCors (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketCors.html)
|
||||
// - RESTOPTIONSobject (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTOPTIONSobject.html)
|
||||
func (c *Client) DeleteBucketCors(ctx context.Context, params *DeleteBucketCorsInput, optFns ...func(*Options)) (*DeleteBucketCorsOutput, error) {
|
||||
if params == nil {
|
||||
params = &DeleteBucketCorsInput{}
|
||||
|
@ -118,6 +113,9 @@ func (c *Client) addOperationDeleteBucketCorsMiddlewares(stack *middleware.Stack
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addDeleteBucketCorsUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
26
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketEncryption.go
generated
vendored
26
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketEncryption.go
generated
vendored
|
@ -14,24 +14,17 @@ import (
|
|||
// This implementation of the DELETE action resets the default encryption for the
|
||||
// bucket as server-side encryption with Amazon S3 managed keys (SSE-S3). For
|
||||
// information about the bucket default encryption feature, see Amazon S3 Bucket
|
||||
// Default Encryption
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html) in the
|
||||
// Amazon S3 User Guide. To use this operation, you must have permissions to
|
||||
// Default Encryption (https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html)
|
||||
// in the Amazon S3 User Guide. To use this operation, you must have permissions to
|
||||
// perform the s3:PutEncryptionConfiguration action. The bucket owner has this
|
||||
// permission by default. The bucket owner 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)
|
||||
// in the Amazon S3 User Guide. Related Resources
|
||||
//
|
||||
// * PutBucketEncryption
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketEncryption.html)
|
||||
//
|
||||
// *
|
||||
// GetBucketEncryption
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketEncryption.html)
|
||||
// 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)
|
||||
// in the Amazon S3 User Guide. The following operations are related to
|
||||
// DeleteBucketEncryption :
|
||||
// - PutBucketEncryption (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketEncryption.html)
|
||||
// - GetBucketEncryption (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketEncryption.html)
|
||||
func (c *Client) DeleteBucketEncryption(ctx context.Context, params *DeleteBucketEncryptionInput, optFns ...func(*Options)) (*DeleteBucketEncryptionOutput, error) {
|
||||
if params == nil {
|
||||
params = &DeleteBucketEncryptionInput{}
|
||||
|
@ -127,6 +120,9 @@ func (c *Client) addOperationDeleteBucketEncryptionMiddlewares(stack *middleware
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addDeleteBucketEncryptionUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
@ -24,21 +24,11 @@ import (
|
|||
// monitored and not eligible for auto-tiering. Smaller objects can be stored, but
|
||||
// they are always charged at the Frequent Access tier rates in the S3
|
||||
// Intelligent-Tiering storage class. For more information, see Storage class for
|
||||
// automatically optimizing frequently and infrequently accessed objects
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html#sc-dynamic-data-access).
|
||||
// Operations related to DeleteBucketIntelligentTieringConfiguration include:
|
||||
//
|
||||
// *
|
||||
// GetBucketIntelligentTieringConfiguration
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketIntelligentTieringConfiguration.html)
|
||||
//
|
||||
// *
|
||||
// PutBucketIntelligentTieringConfiguration
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketIntelligentTieringConfiguration.html)
|
||||
//
|
||||
// *
|
||||
// ListBucketIntelligentTieringConfigurations
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketIntelligentTieringConfigurations.html)
|
||||
// automatically optimizing frequently and infrequently accessed objects (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html#sc-dynamic-data-access)
|
||||
// . Operations related to DeleteBucketIntelligentTieringConfiguration include:
|
||||
// - GetBucketIntelligentTieringConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketIntelligentTieringConfiguration.html)
|
||||
// - PutBucketIntelligentTieringConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketIntelligentTieringConfiguration.html)
|
||||
// - ListBucketIntelligentTieringConfigurations (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketIntelligentTieringConfigurations.html)
|
||||
func (c *Client) DeleteBucketIntelligentTieringConfiguration(ctx context.Context, params *DeleteBucketIntelligentTieringConfigurationInput, optFns ...func(*Options)) (*DeleteBucketIntelligentTieringConfigurationOutput, error) {
|
||||
if params == nil {
|
||||
params = &DeleteBucketIntelligentTieringConfigurationInput{}
|
||||
|
@ -134,6 +124,9 @@ func (c *Client) addOperationDeleteBucketIntelligentTieringConfigurationMiddlewa
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addDeleteBucketIntelligentTieringConfigurationUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
@ -16,25 +16,13 @@ import (
|
|||
// s3:PutInventoryConfiguration action. The bucket owner has this permission by
|
||||
// default. The bucket owner 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).
|
||||
// For information about the Amazon S3 inventory feature, see Amazon S3 Inventory
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-inventory.html).
|
||||
// Operations related to DeleteBucketInventoryConfiguration include:
|
||||
//
|
||||
// *
|
||||
// GetBucketInventoryConfiguration
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketInventoryConfiguration.html)
|
||||
//
|
||||
// *
|
||||
// PutBucketInventoryConfiguration
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketInventoryConfiguration.html)
|
||||
//
|
||||
// *
|
||||
// ListBucketInventoryConfigurations
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketInventoryConfigurations.html)
|
||||
// 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)
|
||||
// . For information about the Amazon S3 inventory feature, see Amazon S3 Inventory (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-inventory.html)
|
||||
// . Operations related to DeleteBucketInventoryConfiguration include:
|
||||
// - GetBucketInventoryConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketInventoryConfiguration.html)
|
||||
// - PutBucketInventoryConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketInventoryConfiguration.html)
|
||||
// - ListBucketInventoryConfigurations (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketInventoryConfigurations.html)
|
||||
func (c *Client) DeleteBucketInventoryConfiguration(ctx context.Context, params *DeleteBucketInventoryConfigurationInput, optFns ...func(*Options)) (*DeleteBucketInventoryConfigurationOutput, error) {
|
||||
if params == nil {
|
||||
params = &DeleteBucketInventoryConfigurationInput{}
|
||||
|
@ -134,6 +122,9 @@ func (c *Client) addOperationDeleteBucketInventoryConfigurationMiddlewares(stack
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addDeleteBucketInventoryConfigurationUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
23
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketLifecycle.go
generated
vendored
23
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketLifecycle.go
generated
vendored
|
@ -11,25 +11,19 @@ import (
|
|||
smithyhttp "github.com/aws/smithy-go/transport/http"
|
||||
)
|
||||
|
||||
// Deletes the lifecycle configuration from the specified bucket. Amazon S3 removes
|
||||
// all the lifecycle configuration rules in the lifecycle subresource associated
|
||||
// with the bucket. Your objects never expire, and Amazon S3 no longer
|
||||
// Deletes the lifecycle configuration from the specified bucket. Amazon S3
|
||||
// removes all the lifecycle configuration rules in the lifecycle subresource
|
||||
// associated with the bucket. Your objects never expire, and Amazon S3 no longer
|
||||
// automatically deletes any objects on the basis of rules contained in the deleted
|
||||
// lifecycle configuration. To use this operation, you must have permission to
|
||||
// perform the s3:PutLifecycleConfiguration action. By default, the bucket owner
|
||||
// has this permission and the bucket owner can grant this permission to others.
|
||||
// There is usually some time lag before lifecycle configuration deletion is fully
|
||||
// propagated to all the Amazon S3 systems. For more information about the object
|
||||
// expiration, see Elements to Describe Lifecycle Actions
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#intro-lifecycle-rules-actions).
|
||||
// Related actions include:
|
||||
//
|
||||
// * PutBucketLifecycleConfiguration
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html)
|
||||
//
|
||||
// *
|
||||
// GetBucketLifecycleConfiguration
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycleConfiguration.html)
|
||||
// expiration, see Elements to Describe Lifecycle Actions (https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#intro-lifecycle-rules-actions)
|
||||
// . Related actions include:
|
||||
// - PutBucketLifecycleConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html)
|
||||
// - GetBucketLifecycleConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycleConfiguration.html)
|
||||
func (c *Client) DeleteBucketLifecycle(ctx context.Context, params *DeleteBucketLifecycleInput, optFns ...func(*Options)) (*DeleteBucketLifecycleOutput, error) {
|
||||
if params == nil {
|
||||
params = &DeleteBucketLifecycleInput{}
|
||||
|
@ -124,6 +118,9 @@ func (c *Client) addOperationDeleteBucketLifecycleMiddlewares(stack *middleware.
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addDeleteBucketLifecycleUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
@ -17,30 +17,15 @@ import (
|
|||
// permissions to perform the s3:PutMetricsConfiguration action. The bucket owner
|
||||
// has this permission by default. The bucket owner 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).
|
||||
// For information about CloudWatch request metrics for Amazon S3, see Monitoring
|
||||
// Metrics with Amazon CloudWatch
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/cloudwatch-monitoring.html).
|
||||
// The following operations are related to DeleteBucketMetricsConfiguration:
|
||||
//
|
||||
// *
|
||||
// GetBucketMetricsConfiguration
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketMetricsConfiguration.html)
|
||||
//
|
||||
// *
|
||||
// PutBucketMetricsConfiguration
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketMetricsConfiguration.html)
|
||||
//
|
||||
// *
|
||||
// ListBucketMetricsConfigurations
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketMetricsConfigurations.html)
|
||||
//
|
||||
// *
|
||||
// Monitoring Metrics with Amazon CloudWatch
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/cloudwatch-monitoring.html)
|
||||
// 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)
|
||||
// . For information about CloudWatch request metrics for Amazon S3, see
|
||||
// Monitoring Metrics with Amazon CloudWatch (https://docs.aws.amazon.com/AmazonS3/latest/dev/cloudwatch-monitoring.html)
|
||||
// . The following operations are related to DeleteBucketMetricsConfiguration :
|
||||
// - GetBucketMetricsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketMetricsConfiguration.html)
|
||||
// - PutBucketMetricsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketMetricsConfiguration.html)
|
||||
// - ListBucketMetricsConfigurations (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketMetricsConfigurations.html)
|
||||
// - Monitoring Metrics with Amazon CloudWatch (https://docs.aws.amazon.com/AmazonS3/latest/dev/cloudwatch-monitoring.html)
|
||||
func (c *Client) DeleteBucketMetricsConfiguration(ctx context.Context, params *DeleteBucketMetricsConfigurationInput, optFns ...func(*Options)) (*DeleteBucketMetricsConfigurationOutput, error) {
|
||||
if params == nil {
|
||||
params = &DeleteBucketMetricsConfigurationInput{}
|
||||
|
@ -141,6 +126,9 @@ func (c *Client) addOperationDeleteBucketMetricsConfigurationMiddlewares(stack *
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addDeleteBucketMetricsConfigurationUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
18
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketOwnershipControls.go
generated
vendored
18
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketOwnershipControls.go
generated
vendored
|
@ -13,16 +13,11 @@ import (
|
|||
|
||||
// Removes OwnershipControls for an Amazon S3 bucket. To use this operation, you
|
||||
// must have the s3:PutBucketOwnershipControls permission. For more information
|
||||
// about Amazon S3 permissions, see Specifying Permissions in a Policy
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html).
|
||||
// For information about Amazon S3 Object Ownership, see Using Object Ownership
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/about-object-ownership.html).
|
||||
// The following operations are related to DeleteBucketOwnershipControls:
|
||||
//
|
||||
// *
|
||||
// GetBucketOwnershipControls
|
||||
//
|
||||
// * PutBucketOwnershipControls
|
||||
// about Amazon S3 permissions, see Specifying Permissions in a Policy (https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html)
|
||||
// . For information about Amazon S3 Object Ownership, see Using Object Ownership (https://docs.aws.amazon.com/AmazonS3/latest/dev/about-object-ownership.html)
|
||||
// . The following operations are related to DeleteBucketOwnershipControls :
|
||||
// - GetBucketOwnershipControls
|
||||
// - PutBucketOwnershipControls
|
||||
func (c *Client) DeleteBucketOwnershipControls(ctx context.Context, params *DeleteBucketOwnershipControlsInput, optFns ...func(*Options)) (*DeleteBucketOwnershipControlsOutput, error) {
|
||||
if params == nil {
|
||||
params = &DeleteBucketOwnershipControlsInput{}
|
||||
|
@ -117,6 +112,9 @@ func (c *Client) addOperationDeleteBucketOwnershipControlsMiddlewares(stack *mid
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addDeleteBucketOwnershipControlsUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
28
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketPolicy.go
generated
vendored
28
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketPolicy.go
generated
vendored
|
@ -19,20 +19,17 @@ import (
|
|||
// have DeleteBucketPolicy permissions, Amazon S3 returns a 403 Access Denied
|
||||
// error. If you have the correct permissions, but you're not using an identity
|
||||
// that belongs to the bucket owner's account, Amazon S3 returns a 405 Method Not
|
||||
// Allowed error. As a security precaution, the root user of the Amazon Web
|
||||
// Services account that owns a bucket can always use this operation, even if the
|
||||
// policy explicitly denies the root user the ability to perform this action. For
|
||||
// more information about bucket policies, see Using Bucket Policies and
|
||||
// UserPolicies
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html). The
|
||||
// following operations are related to DeleteBucketPolicy
|
||||
//
|
||||
// * CreateBucket
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html)
|
||||
//
|
||||
// *
|
||||
// DeleteObject
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html)
|
||||
// Allowed error. To ensure that bucket owners don't inadvertently lock themselves
|
||||
// out of their own buckets, the root principal in a bucket owner's Amazon Web
|
||||
// Services account can perform the GetBucketPolicy , PutBucketPolicy , and
|
||||
// DeleteBucketPolicy API actions, even if their bucket policy explicitly denies
|
||||
// the root principal's access. Bucket owner root principals can only be blocked
|
||||
// from performing these API actions by VPC endpoint policies and Amazon Web
|
||||
// Services Organizations policies. For more information about bucket policies, see
|
||||
// Using Bucket Policies and UserPolicies (https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html)
|
||||
// . The following operations are related to DeleteBucketPolicy
|
||||
// - CreateBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html)
|
||||
// - DeleteObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html)
|
||||
func (c *Client) DeleteBucketPolicy(ctx context.Context, params *DeleteBucketPolicyInput, optFns ...func(*Options)) (*DeleteBucketPolicyOutput, error) {
|
||||
if params == nil {
|
||||
params = &DeleteBucketPolicyInput{}
|
||||
|
@ -127,6 +124,9 @@ func (c *Client) addOperationDeleteBucketPolicyMiddlewares(stack *middleware.Sta
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addDeleteBucketPolicyUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
27
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketReplication.go
generated
vendored
27
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketReplication.go
generated
vendored
|
@ -15,22 +15,14 @@ import (
|
|||
// you must have permissions to perform the s3:PutReplicationConfiguration action.
|
||||
// The bucket owner has these permissions by default and can grant it 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).
|
||||
// It can take a while for the deletion of a replication configuration to fully
|
||||
// propagate. For information about replication configuration, see Replication
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/replication.html) in the Amazon
|
||||
// S3 User Guide. The following operations are related to
|
||||
// DeleteBucketReplication:
|
||||
//
|
||||
// * PutBucketReplication
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketReplication.html)
|
||||
//
|
||||
// *
|
||||
// GetBucketReplication
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketReplication.html)
|
||||
// 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)
|
||||
// . It can take a while for the deletion of a replication configuration to fully
|
||||
// propagate. For information about replication configuration, see Replication (https://docs.aws.amazon.com/AmazonS3/latest/dev/replication.html)
|
||||
// in the Amazon S3 User Guide. The following operations are related to
|
||||
// DeleteBucketReplication :
|
||||
// - PutBucketReplication (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketReplication.html)
|
||||
// - GetBucketReplication (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketReplication.html)
|
||||
func (c *Client) DeleteBucketReplication(ctx context.Context, params *DeleteBucketReplicationInput, optFns ...func(*Options)) (*DeleteBucketReplicationOutput, error) {
|
||||
if params == nil {
|
||||
params = &DeleteBucketReplicationInput{}
|
||||
|
@ -125,6 +117,9 @@ func (c *Client) addOperationDeleteBucketReplicationMiddlewares(stack *middlewar
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addDeleteBucketReplicationUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
14
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketTagging.go
generated
vendored
14
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketTagging.go
generated
vendored
|
@ -14,14 +14,9 @@ import (
|
|||
// Deletes the tags from the bucket. To use this operation, you must have
|
||||
// permission to perform the s3:PutBucketTagging action. By default, the bucket
|
||||
// owner has this permission and can grant this permission to others. The following
|
||||
// operations are related to DeleteBucketTagging:
|
||||
//
|
||||
// * GetBucketTagging
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketTagging.html)
|
||||
//
|
||||
// *
|
||||
// PutBucketTagging
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketTagging.html)
|
||||
// operations are related to DeleteBucketTagging :
|
||||
// - GetBucketTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketTagging.html)
|
||||
// - PutBucketTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketTagging.html)
|
||||
func (c *Client) DeleteBucketTagging(ctx context.Context, params *DeleteBucketTaggingInput, optFns ...func(*Options)) (*DeleteBucketTaggingOutput, error) {
|
||||
if params == nil {
|
||||
params = &DeleteBucketTaggingInput{}
|
||||
|
@ -116,6 +111,9 @@ func (c *Client) addOperationDeleteBucketTaggingMiddlewares(stack *middleware.St
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addDeleteBucketTaggingUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
17
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketWebsite.go
generated
vendored
17
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketWebsite.go
generated
vendored
|
@ -21,16 +21,10 @@ import (
|
|||
// bucket owners can grant other users permission to delete the website
|
||||
// configuration by writing a bucket policy granting them the
|
||||
// S3:DeleteBucketWebsite permission. For more information about hosting websites,
|
||||
// see Hosting Websites on Amazon S3
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html). The
|
||||
// following operations are related to DeleteBucketWebsite:
|
||||
//
|
||||
// * GetBucketWebsite
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketWebsite.html)
|
||||
//
|
||||
// *
|
||||
// PutBucketWebsite
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketWebsite.html)
|
||||
// see Hosting Websites on Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html)
|
||||
// . The following operations are related to DeleteBucketWebsite :
|
||||
// - GetBucketWebsite (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketWebsite.html)
|
||||
// - PutBucketWebsite (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketWebsite.html)
|
||||
func (c *Client) DeleteBucketWebsite(ctx context.Context, params *DeleteBucketWebsiteInput, optFns ...func(*Options)) (*DeleteBucketWebsiteOutput, error) {
|
||||
if params == nil {
|
||||
params = &DeleteBucketWebsiteInput{}
|
||||
|
@ -125,6 +119,9 @@ func (c *Client) addOperationDeleteBucketWebsiteMiddlewares(stack *middleware.St
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addDeleteBucketWebsiteUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
50
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteObject.go
generated
vendored
50
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteObject.go
generated
vendored
|
@ -18,24 +18,19 @@ import (
|
|||
// command was successful. To remove a specific version, you must use the version
|
||||
// Id subresource. Using this subresource permanently deletes the version. If the
|
||||
// object deleted is a delete marker, Amazon S3 sets the response header,
|
||||
// x-amz-delete-marker, to true. If the object you want to delete is in a bucket
|
||||
// x-amz-delete-marker , to true. If the object you want to delete is in a bucket
|
||||
// where the bucket versioning configuration is MFA Delete enabled, you must
|
||||
// include the x-amz-mfa request header in the DELETE versionId request. Requests
|
||||
// that include x-amz-mfa must use HTTPS. For more information about MFA Delete,
|
||||
// see Using MFA Delete
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMFADelete.html). To see
|
||||
// sample requests that use versioning, see Sample Request
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectDELETE.html#ExampleVersionObjectDelete).
|
||||
// You can delete objects by explicitly calling DELETE Object or configure its
|
||||
// lifecycle (PutBucketLifecycle
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycle.html))
|
||||
// to enable Amazon S3 to remove them for you. If you want to block users or
|
||||
// see Using MFA Delete (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMFADelete.html)
|
||||
// . To see sample requests that use versioning, see Sample Request (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectDELETE.html#ExampleVersionObjectDelete)
|
||||
// . You can delete objects by explicitly calling DELETE Object or configure its
|
||||
// lifecycle ( PutBucketLifecycle (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycle.html)
|
||||
// ) to enable Amazon S3 to remove them for you. If you want to block users or
|
||||
// accounts from removing or deleting objects from your bucket, you must deny them
|
||||
// the s3:DeleteObject, s3:DeleteObjectVersion, and s3:PutLifeCycleConfiguration
|
||||
// actions. The following action is related to DeleteObject:
|
||||
//
|
||||
// * PutObject
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html)
|
||||
// the s3:DeleteObject , s3:DeleteObjectVersion , and s3:PutLifeCycleConfiguration
|
||||
// actions. The following action is related to DeleteObject :
|
||||
// - PutObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html)
|
||||
func (c *Client) DeleteObject(ctx context.Context, params *DeleteObjectInput, optFns ...func(*Options)) (*DeleteObjectOutput, error) {
|
||||
if params == nil {
|
||||
params = &DeleteObjectInput{}
|
||||
|
@ -53,23 +48,21 @@ func (c *Client) DeleteObject(ctx context.Context, params *DeleteObjectInput, op
|
|||
|
||||
type DeleteObjectInput struct {
|
||||
|
||||
// The bucket name of the bucket containing the object. When using this action with
|
||||
// an access point, you must direct requests to the access point hostname. The
|
||||
// The bucket name of the bucket containing the object. When using this action
|
||||
// with an access point, you must direct requests to the access point hostname. The
|
||||
// access point hostname takes the form
|
||||
// AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this
|
||||
// action with an access point through the Amazon Web Services SDKs, you provide
|
||||
// the access point ARN in place of the bucket name. For more information about
|
||||
// access point ARNs, see Using access points
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// access point ARNs, see Using access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// in the Amazon S3 User Guide. When you use this action with Amazon S3 on
|
||||
// Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on
|
||||
// Outposts hostname takes the form
|
||||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you
|
||||
// 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) in the
|
||||
// Amazon S3 User Guide.
|
||||
// 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
|
||||
|
@ -89,16 +82,16 @@ type DeleteObjectInput struct {
|
|||
// (access denied).
|
||||
ExpectedBucketOwner *string
|
||||
|
||||
// The concatenation of the authentication device's serial number, a space, and the
|
||||
// value that is displayed on your authentication device. Required to permanently
|
||||
// delete a versioned object if versioning is configured with MFA delete enabled.
|
||||
// The concatenation of the authentication device's serial number, a space, and
|
||||
// the value that is displayed on your authentication device. Required to
|
||||
// permanently delete a versioned object if versioning is configured with MFA
|
||||
// delete enabled.
|
||||
MFA *string
|
||||
|
||||
// Confirms that the requester knows that they will be charged for the request.
|
||||
// Bucket owners need not specify this parameter in their requests. For information
|
||||
// about downloading objects from Requester Pays buckets, see Downloading Objects
|
||||
// in Requester Pays Buckets
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
|
||||
// in Requester Pays Buckets (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
RequestPayer types.RequestPayer
|
||||
|
||||
|
@ -185,6 +178,9 @@ func (c *Client) addOperationDeleteObjectMiddlewares(stack *middleware.Stack, op
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addDeleteObjectUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
41
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteObjectTagging.go
generated
vendored
41
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteObjectTagging.go
generated
vendored
|
@ -11,21 +11,15 @@ import (
|
|||
smithyhttp "github.com/aws/smithy-go/transport/http"
|
||||
)
|
||||
|
||||
// Removes the entire tag set from the specified object. For more information about
|
||||
// managing object tags, see Object Tagging
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/object-tagging.html). To use
|
||||
// this operation, you must have permission to perform the s3:DeleteObjectTagging
|
||||
// action. To delete tags of a specific object version, add the versionId query
|
||||
// parameter in the request. You will need permission for the
|
||||
// Removes the entire tag set from the specified object. For more information
|
||||
// about managing object tags, see Object Tagging (https://docs.aws.amazon.com/AmazonS3/latest/dev/object-tagging.html)
|
||||
// . To use this operation, you must have permission to perform the
|
||||
// s3:DeleteObjectTagging action. To delete tags of a specific object version, add
|
||||
// the versionId query parameter in the request. You will need permission for the
|
||||
// s3:DeleteObjectVersionTagging action. The following operations are related to
|
||||
// DeleteObjectTagging:
|
||||
//
|
||||
// * PutObjectTagging
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectTagging.html)
|
||||
//
|
||||
// *
|
||||
// GetObjectTagging
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTagging.html)
|
||||
// DeleteObjectTagging :
|
||||
// - PutObjectTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectTagging.html)
|
||||
// - GetObjectTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTagging.html)
|
||||
func (c *Client) DeleteObjectTagging(ctx context.Context, params *DeleteObjectTaggingInput, optFns ...func(*Options)) (*DeleteObjectTaggingOutput, error) {
|
||||
if params == nil {
|
||||
params = &DeleteObjectTaggingInput{}
|
||||
|
@ -43,23 +37,21 @@ func (c *Client) DeleteObjectTagging(ctx context.Context, params *DeleteObjectTa
|
|||
|
||||
type DeleteObjectTaggingInput struct {
|
||||
|
||||
// The bucket name containing the objects from which to remove the tags. When using
|
||||
// this action with an access point, you must direct requests to the access point
|
||||
// hostname. The access point hostname takes the form
|
||||
// The bucket name containing the objects from which to remove the tags. When
|
||||
// using this action with an access point, you must direct requests to the access
|
||||
// point hostname. The access point hostname takes the form
|
||||
// AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this
|
||||
// action with an access point through the Amazon Web Services SDKs, you provide
|
||||
// the access point ARN in place of the bucket name. For more information about
|
||||
// access point ARNs, see Using access points
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// access point ARNs, see Using access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// in the Amazon S3 User Guide. When you use this action with Amazon S3 on
|
||||
// Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on
|
||||
// Outposts hostname takes the form
|
||||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you
|
||||
// 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) in the
|
||||
// Amazon S3 User Guide.
|
||||
// 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
|
||||
|
@ -148,6 +140,9 @@ func (c *Client) addOperationDeleteObjectTaggingMiddlewares(stack *middleware.St
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addDeleteObjectTaggingUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
69
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteObjects.go
generated
vendored
69
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteObjects.go
generated
vendored
|
@ -33,31 +33,16 @@ import (
|
|||
// even if there are non-versioned objects you are trying to delete. If you provide
|
||||
// an invalid token, whether there are versioned keys in the request or not, the
|
||||
// entire Multi-Object Delete request will fail. For information about MFA Delete,
|
||||
// see MFA Delete
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/Versioning.html#MultiFactorAuthenticationDelete).
|
||||
// Finally, the Content-MD5 header is required for all Multi-Object Delete
|
||||
// see MFA Delete (https://docs.aws.amazon.com/AmazonS3/latest/dev/Versioning.html#MultiFactorAuthenticationDelete)
|
||||
// . Finally, the Content-MD5 header is required for all Multi-Object Delete
|
||||
// requests. Amazon S3 uses the header value to ensure that your request body has
|
||||
// not been altered in transit. The following operations are related to
|
||||
// DeleteObjects:
|
||||
//
|
||||
// * CreateMultipartUpload
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html)
|
||||
//
|
||||
// *
|
||||
// UploadPart
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html)
|
||||
//
|
||||
// *
|
||||
// CompleteMultipartUpload
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html)
|
||||
//
|
||||
// *
|
||||
// ListParts
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html)
|
||||
//
|
||||
// *
|
||||
// AbortMultipartUpload
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html)
|
||||
// DeleteObjects :
|
||||
// - CreateMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html)
|
||||
// - UploadPart (https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html)
|
||||
// - CompleteMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html)
|
||||
// - ListParts (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html)
|
||||
// - AbortMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html)
|
||||
func (c *Client) DeleteObjects(ctx context.Context, params *DeleteObjectsInput, optFns ...func(*Options)) (*DeleteObjectsOutput, error) {
|
||||
if params == nil {
|
||||
params = &DeleteObjectsInput{}
|
||||
|
@ -75,23 +60,21 @@ func (c *Client) DeleteObjects(ctx context.Context, params *DeleteObjectsInput,
|
|||
|
||||
type DeleteObjectsInput struct {
|
||||
|
||||
// The bucket name containing the objects to delete. When using this action with an
|
||||
// access point, you must direct requests to the access point hostname. The access
|
||||
// point hostname takes the form
|
||||
// The bucket name containing the objects to delete. When using this action with
|
||||
// an access point, you must direct requests to the access point hostname. The
|
||||
// access point hostname takes the form
|
||||
// AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this
|
||||
// action with an access point through the Amazon Web Services SDKs, you provide
|
||||
// the access point ARN in place of the bucket name. For more information about
|
||||
// access point ARNs, see Using access points
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// access point ARNs, see Using access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// in the Amazon S3 User Guide. When you use this action with Amazon S3 on
|
||||
// Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on
|
||||
// Outposts hostname takes the form
|
||||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you
|
||||
// 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) in the
|
||||
// Amazon S3 User Guide.
|
||||
// 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
|
||||
|
@ -110,9 +93,8 @@ type DeleteObjectsInput struct {
|
|||
// the SDK. This header will not provide any additional functionality if not using
|
||||
// the SDK. When sending this header, there must be a corresponding x-amz-checksum
|
||||
// or x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the
|
||||
// HTTP status code 400 Bad Request. For more information, see Checking object
|
||||
// integrity
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html)
|
||||
// HTTP status code 400 Bad Request . For more information, see Checking object
|
||||
// integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html)
|
||||
// in the Amazon S3 User Guide. If you provide an individual checksum, Amazon S3
|
||||
// ignores any provided ChecksumAlgorithm parameter. This checksum algorithm must
|
||||
// be the same for all parts and it match the checksum value supplied in the
|
||||
|
@ -124,16 +106,16 @@ type DeleteObjectsInput struct {
|
|||
// (access denied).
|
||||
ExpectedBucketOwner *string
|
||||
|
||||
// The concatenation of the authentication device's serial number, a space, and the
|
||||
// value that is displayed on your authentication device. Required to permanently
|
||||
// delete a versioned object if versioning is configured with MFA delete enabled.
|
||||
// The concatenation of the authentication device's serial number, a space, and
|
||||
// the value that is displayed on your authentication device. Required to
|
||||
// permanently delete a versioned object if versioning is configured with MFA
|
||||
// delete enabled.
|
||||
MFA *string
|
||||
|
||||
// Confirms that the requester knows that they will be charged for the request.
|
||||
// Bucket owners need not specify this parameter in their requests. For information
|
||||
// about downloading objects from Requester Pays buckets, see Downloading Objects
|
||||
// in Requester Pays Buckets
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
|
||||
// in Requester Pays Buckets (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
RequestPayer types.RequestPayer
|
||||
|
||||
|
@ -217,6 +199,9 @@ func (c *Client) addOperationDeleteObjectsMiddlewares(stack *middleware.Stack, o
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addDeleteObjectsInputChecksumMiddlewares(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
@ -247,8 +232,8 @@ func newServiceMetadataMiddleware_opDeleteObjects(region string) *awsmiddleware.
|
|||
}
|
||||
}
|
||||
|
||||
// getDeleteObjectsRequestAlgorithmMember gets the request checksum algorithm value
|
||||
// provided as input.
|
||||
// getDeleteObjectsRequestAlgorithmMember gets the request checksum algorithm
|
||||
// value provided as input.
|
||||
func getDeleteObjectsRequestAlgorithmMember(input interface{}) (string, bool) {
|
||||
in := input.(*DeleteObjectsInput)
|
||||
if len(in.ChecksumAlgorithm) == 0 {
|
||||
|
|
37
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeletePublicAccessBlock.go
generated
vendored
37
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeletePublicAccessBlock.go
generated
vendored
|
@ -11,30 +11,16 @@ import (
|
|||
smithyhttp "github.com/aws/smithy-go/transport/http"
|
||||
)
|
||||
|
||||
// Removes the PublicAccessBlock configuration for an Amazon S3 bucket. To use this
|
||||
// operation, you must have the s3:PutBucketPublicAccessBlock permission. 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).
|
||||
// The following operations are related to DeletePublicAccessBlock:
|
||||
//
|
||||
// * Using Amazon
|
||||
// S3 Block Public Access
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html)
|
||||
//
|
||||
// *
|
||||
// GetPublicAccessBlock
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetPublicAccessBlock.html)
|
||||
//
|
||||
// *
|
||||
// PutPublicAccessBlock
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutPublicAccessBlock.html)
|
||||
//
|
||||
// *
|
||||
// GetBucketPolicyStatus
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketPolicyStatus.html)
|
||||
// Removes the PublicAccessBlock configuration for an Amazon S3 bucket. To use
|
||||
// this operation, you must have the s3:PutBucketPublicAccessBlock permission. 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)
|
||||
// . The following operations are related to DeletePublicAccessBlock :
|
||||
// - Using Amazon S3 Block Public Access (https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html)
|
||||
// - GetPublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetPublicAccessBlock.html)
|
||||
// - PutPublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutPublicAccessBlock.html)
|
||||
// - GetBucketPolicyStatus (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketPolicyStatus.html)
|
||||
func (c *Client) DeletePublicAccessBlock(ctx context.Context, params *DeletePublicAccessBlockInput, optFns ...func(*Options)) (*DeletePublicAccessBlockOutput, error) {
|
||||
if params == nil {
|
||||
params = &DeletePublicAccessBlockInput{}
|
||||
|
@ -129,6 +115,9 @@ func (c *Client) addOperationDeletePublicAccessBlockMiddlewares(stack *middlewar
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addDeletePublicAccessBlockUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
@ -14,28 +14,23 @@ import (
|
|||
|
||||
// This implementation of the GET action uses the accelerate subresource to return
|
||||
// the Transfer Acceleration state of a bucket, which is either Enabled or
|
||||
// Suspended. Amazon S3 Transfer Acceleration is a bucket-level feature that
|
||||
// Suspended . Amazon S3 Transfer Acceleration is a bucket-level feature that
|
||||
// enables you to perform faster data transfers to and from Amazon S3. To use this
|
||||
// operation, you must have permission to perform the s3:GetAccelerateConfiguration
|
||||
// action. The bucket owner has this permission by default. The bucket owner 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)
|
||||
// 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)
|
||||
// in the Amazon S3 User Guide. You set the Transfer Acceleration state of an
|
||||
// existing bucket to Enabled or Suspended by using the
|
||||
// PutBucketAccelerateConfiguration
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketAccelerateConfiguration.html)
|
||||
// PutBucketAccelerateConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketAccelerateConfiguration.html)
|
||||
// operation. A GET accelerate request does not return a state value for a bucket
|
||||
// that has no transfer acceleration state. A bucket has no Transfer Acceleration
|
||||
// state if a state has never been set on the bucket. For more information about
|
||||
// transfer acceleration, see Transfer Acceleration
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html) in
|
||||
// the Amazon S3 User Guide. Related Resources
|
||||
//
|
||||
// * PutBucketAccelerateConfiguration
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketAccelerateConfiguration.html)
|
||||
// transfer acceleration, see Transfer Acceleration (https://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html)
|
||||
// in the Amazon S3 User Guide. The following operations are related to
|
||||
// GetBucketAccelerateConfiguration :
|
||||
// - PutBucketAccelerateConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketAccelerateConfiguration.html)
|
||||
func (c *Client) GetBucketAccelerateConfiguration(ctx context.Context, params *GetBucketAccelerateConfigurationInput, optFns ...func(*Options)) (*GetBucketAccelerateConfigurationOutput, error) {
|
||||
if params == nil {
|
||||
params = &GetBucketAccelerateConfigurationInput{}
|
||||
|
@ -134,6 +129,9 @@ func (c *Client) addOperationGetBucketAccelerateConfigurationMiddlewares(stack *
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addGetBucketAccelerateConfigurationUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
38
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAcl.go
generated
vendored
38
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAcl.go
generated
vendored
|
@ -16,17 +16,21 @@ import (
|
|||
// access control list (ACL) of a bucket. To use GET to return the ACL of the
|
||||
// bucket, you must have READ_ACP access to the bucket. If READ_ACP permission is
|
||||
// granted to the anonymous user, you can return the ACL of the bucket without
|
||||
// using an authorization header. To use this API against an access point, provide
|
||||
// the alias of the access point in place of the bucket name. If your bucket uses
|
||||
// the bucket owner enforced setting for S3 Object Ownership, requests to read ACLs
|
||||
// are still supported and return the bucket-owner-full-control ACL with the owner
|
||||
// being the account that created the bucket. For more information, see
|
||||
// Controlling object ownership and disabling ACLs
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html)
|
||||
// in the Amazon S3 User Guide. Related Resources
|
||||
//
|
||||
// * ListObjects
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjects.html)
|
||||
// using an authorization header. To use this API operation against an access
|
||||
// point, provide the alias of the access point in place of the bucket name. To use
|
||||
// this API operation against an Object Lambda access point, provide the alias of
|
||||
// the Object Lambda access point in place of the bucket name. If the Object Lambda
|
||||
// access point alias in a request is not valid, the error code
|
||||
// InvalidAccessPointAliasError is returned. For more information about
|
||||
// InvalidAccessPointAliasError , see List of Error Codes (https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList)
|
||||
// . If your bucket uses the bucket owner enforced setting for S3 Object Ownership,
|
||||
// requests to read ACLs are still supported and return the
|
||||
// bucket-owner-full-control ACL with the owner being the account that created the
|
||||
// bucket. For more information, see Controlling object ownership and disabling
|
||||
// ACLs (https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html)
|
||||
// in the Amazon S3 User Guide. The following operations are related to
|
||||
// GetBucketAcl :
|
||||
// - ListObjects (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjects.html)
|
||||
func (c *Client) GetBucketAcl(ctx context.Context, params *GetBucketAclInput, optFns ...func(*Options)) (*GetBucketAclOutput, error) {
|
||||
if params == nil {
|
||||
params = &GetBucketAclInput{}
|
||||
|
@ -44,7 +48,14 @@ func (c *Client) GetBucketAcl(ctx context.Context, params *GetBucketAclInput, op
|
|||
|
||||
type GetBucketAclInput struct {
|
||||
|
||||
// Specifies the S3 bucket whose ACL is being requested.
|
||||
// Specifies the S3 bucket whose ACL is being requested. To use this API operation
|
||||
// against an access point, provide the alias of the access point in place of the
|
||||
// bucket name. To use this API operation against an Object Lambda access point,
|
||||
// provide the alias of the Object Lambda access point in place of the bucket name.
|
||||
// If the Object Lambda access point alias in a request is not valid, the error
|
||||
// code InvalidAccessPointAliasError is returned. For more information about
|
||||
// InvalidAccessPointAliasError , see List of Error Codes (https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList)
|
||||
// .
|
||||
//
|
||||
// This member is required.
|
||||
Bucket *string
|
||||
|
@ -128,6 +139,9 @@ func (c *Client) addOperationGetBucketAclMiddlewares(stack *middleware.Stack, op
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addGetBucketAclUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
30
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAnalyticsConfiguration.go
generated
vendored
30
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAnalyticsConfiguration.go
generated
vendored
|
@ -17,26 +17,15 @@ import (
|
|||
// operation, you must have permissions to perform the s3:GetAnalyticsConfiguration
|
||||
// action. The bucket owner has this permission by default. The bucket owner 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)
|
||||
// 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)
|
||||
// in the Amazon S3 User Guide. For information about Amazon S3 analytics feature,
|
||||
// see Amazon S3 Analytics – Storage Class Analysis
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/analytics-storage-class.html)
|
||||
// in the Amazon S3 User Guide. Related Resources
|
||||
//
|
||||
// *
|
||||
// DeleteBucketAnalyticsConfiguration
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketAnalyticsConfiguration.html)
|
||||
//
|
||||
// *
|
||||
// ListBucketAnalyticsConfigurations
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketAnalyticsConfigurations.html)
|
||||
//
|
||||
// *
|
||||
// PutBucketAnalyticsConfiguration
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketAnalyticsConfiguration.html)
|
||||
// see Amazon S3 Analytics – Storage Class Analysis (https://docs.aws.amazon.com/AmazonS3/latest/dev/analytics-storage-class.html)
|
||||
// in the Amazon S3 User Guide. The following operations are related to
|
||||
// GetBucketAnalyticsConfiguration :
|
||||
// - DeleteBucketAnalyticsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketAnalyticsConfiguration.html)
|
||||
// - ListBucketAnalyticsConfigurations (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketAnalyticsConfigurations.html)
|
||||
// - PutBucketAnalyticsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketAnalyticsConfiguration.html)
|
||||
func (c *Client) GetBucketAnalyticsConfiguration(ctx context.Context, params *GetBucketAnalyticsConfigurationInput, optFns ...func(*Options)) (*GetBucketAnalyticsConfigurationOutput, error) {
|
||||
if params == nil {
|
||||
params = &GetBucketAnalyticsConfigurationInput{}
|
||||
|
@ -140,6 +129,9 @@ func (c *Client) addOperationGetBucketAnalyticsConfigurationMiddlewares(stack *m
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addGetBucketAnalyticsConfigurationUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
35
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketCors.go
generated
vendored
35
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketCors.go
generated
vendored
|
@ -15,18 +15,17 @@ import (
|
|||
// Returns the Cross-Origin Resource Sharing (CORS) configuration information set
|
||||
// for the bucket. To use this operation, you must have permission to perform the
|
||||
// s3:GetBucketCORS action. By default, the bucket owner has this permission and
|
||||
// can grant it to others. To use this API against an access point, provide the
|
||||
// alias of the access point in place of the bucket name. For more information
|
||||
// about CORS, see Enabling Cross-Origin Resource Sharing
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html). The following
|
||||
// operations are related to GetBucketCors:
|
||||
//
|
||||
// * PutBucketCors
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketCors.html)
|
||||
//
|
||||
// *
|
||||
// DeleteBucketCors
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketCors.html)
|
||||
// can grant it to others. To use this API operation against an access point,
|
||||
// provide the alias of the access point in place of the bucket name. To use this
|
||||
// API operation against an Object Lambda access point, provide the alias of the
|
||||
// Object Lambda access point in place of the bucket name. If the Object Lambda
|
||||
// access point alias in a request is not valid, the error code
|
||||
// InvalidAccessPointAliasError is returned. For more information about
|
||||
// InvalidAccessPointAliasError , see List of Error Codes (https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList)
|
||||
// . For more information about CORS, see Enabling Cross-Origin Resource Sharing (https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html)
|
||||
// . The following operations are related to GetBucketCors :
|
||||
// - PutBucketCors (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketCors.html)
|
||||
// - DeleteBucketCors (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketCors.html)
|
||||
func (c *Client) GetBucketCors(ctx context.Context, params *GetBucketCorsInput, optFns ...func(*Options)) (*GetBucketCorsOutput, error) {
|
||||
if params == nil {
|
||||
params = &GetBucketCorsInput{}
|
||||
|
@ -44,7 +43,14 @@ func (c *Client) GetBucketCors(ctx context.Context, params *GetBucketCorsInput,
|
|||
|
||||
type GetBucketCorsInput struct {
|
||||
|
||||
// The bucket name for which to get the cors configuration.
|
||||
// The bucket name for which to get the cors configuration. To use this API
|
||||
// operation against an access point, provide the alias of the access point in
|
||||
// place of the bucket name. To use this API operation against an Object Lambda
|
||||
// access point, provide the alias of the Object Lambda access point in place of
|
||||
// the bucket name. If the Object Lambda access point alias in a request is not
|
||||
// valid, the error code InvalidAccessPointAliasError is returned. For more
|
||||
// information about InvalidAccessPointAliasError , see List of Error Codes (https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList)
|
||||
// .
|
||||
//
|
||||
// This member is required.
|
||||
Bucket *string
|
||||
|
@ -126,6 +132,9 @@ func (c *Client) addOperationGetBucketCorsMiddlewares(stack *middleware.Stack, o
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addGetBucketCorsUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
32
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketEncryption.go
generated
vendored
32
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketEncryption.go
generated
vendored
|
@ -16,25 +16,16 @@ import (
|
|||
// default, all buckets have a default encryption configuration that uses
|
||||
// server-side encryption with Amazon S3 managed keys (SSE-S3). For information
|
||||
// about the bucket default encryption feature, see Amazon S3 Bucket Default
|
||||
// Encryption
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html) in the
|
||||
// Amazon S3 User Guide. To use this operation, you must have permission to perform
|
||||
// the s3:GetEncryptionConfiguration action. The bucket owner has this permission
|
||||
// by default. The bucket owner 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).
|
||||
// The following operations are related to GetBucketEncryption:
|
||||
//
|
||||
// *
|
||||
// PutBucketEncryption
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketEncryption.html)
|
||||
//
|
||||
// *
|
||||
// DeleteBucketEncryption
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketEncryption.html)
|
||||
// Encryption (https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html)
|
||||
// in the Amazon S3 User Guide. To use this operation, you must have permission to
|
||||
// perform the s3:GetEncryptionConfiguration action. The bucket owner has this
|
||||
// permission by default. The bucket owner 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)
|
||||
// . The following operations are related to GetBucketEncryption :
|
||||
// - PutBucketEncryption (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketEncryption.html)
|
||||
// - DeleteBucketEncryption (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketEncryption.html)
|
||||
func (c *Client) GetBucketEncryption(ctx context.Context, params *GetBucketEncryptionInput, optFns ...func(*Options)) (*GetBucketEncryptionOutput, error) {
|
||||
if params == nil {
|
||||
params = &GetBucketEncryptionInput{}
|
||||
|
@ -134,6 +125,9 @@ func (c *Client) addOperationGetBucketEncryptionMiddlewares(stack *middleware.St
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addGetBucketEncryptionUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
@ -25,21 +25,11 @@ import (
|
|||
// monitored and not eligible for auto-tiering. Smaller objects can be stored, but
|
||||
// they are always charged at the Frequent Access tier rates in the S3
|
||||
// Intelligent-Tiering storage class. For more information, see Storage class for
|
||||
// automatically optimizing frequently and infrequently accessed objects
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html#sc-dynamic-data-access).
|
||||
// Operations related to GetBucketIntelligentTieringConfiguration include:
|
||||
//
|
||||
// *
|
||||
// DeleteBucketIntelligentTieringConfiguration
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketIntelligentTieringConfiguration.html)
|
||||
//
|
||||
// *
|
||||
// PutBucketIntelligentTieringConfiguration
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketIntelligentTieringConfiguration.html)
|
||||
//
|
||||
// *
|
||||
// ListBucketIntelligentTieringConfigurations
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketIntelligentTieringConfigurations.html)
|
||||
// automatically optimizing frequently and infrequently accessed objects (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html#sc-dynamic-data-access)
|
||||
// . Operations related to GetBucketIntelligentTieringConfiguration include:
|
||||
// - DeleteBucketIntelligentTieringConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketIntelligentTieringConfiguration.html)
|
||||
// - PutBucketIntelligentTieringConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketIntelligentTieringConfiguration.html)
|
||||
// - ListBucketIntelligentTieringConfigurations (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketIntelligentTieringConfigurations.html)
|
||||
func (c *Client) GetBucketIntelligentTieringConfiguration(ctx context.Context, params *GetBucketIntelligentTieringConfigurationInput, optFns ...func(*Options)) (*GetBucketIntelligentTieringConfigurationOutput, error) {
|
||||
if params == nil {
|
||||
params = &GetBucketIntelligentTieringConfigurationInput{}
|
||||
|
@ -139,6 +129,9 @@ func (c *Client) addOperationGetBucketIntelligentTieringConfigurationMiddlewares
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addGetBucketIntelligentTieringConfigurationUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
33
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketInventoryConfiguration.go
generated
vendored
33
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketInventoryConfiguration.go
generated
vendored
|
@ -14,27 +14,15 @@ import (
|
|||
|
||||
// Returns an inventory configuration (identified by the inventory configuration
|
||||
// ID) from the bucket. To use this operation, you must have permissions to perform
|
||||
// the s3:GetInventoryConfiguration 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).
|
||||
// For information about the Amazon S3 inventory feature, see Amazon S3 Inventory
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-inventory.html). The
|
||||
// following operations are related to GetBucketInventoryConfiguration:
|
||||
//
|
||||
// *
|
||||
// DeleteBucketInventoryConfiguration
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketInventoryConfiguration.html)
|
||||
//
|
||||
// *
|
||||
// ListBucketInventoryConfigurations
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketInventoryConfigurations.html)
|
||||
//
|
||||
// *
|
||||
// PutBucketInventoryConfiguration
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketInventoryConfiguration.html)
|
||||
// the s3:GetInventoryConfiguration 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)
|
||||
// . For information about the Amazon S3 inventory feature, see Amazon S3 Inventory (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-inventory.html)
|
||||
// . The following operations are related to GetBucketInventoryConfiguration :
|
||||
// - DeleteBucketInventoryConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketInventoryConfiguration.html)
|
||||
// - ListBucketInventoryConfigurations (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketInventoryConfigurations.html)
|
||||
// - PutBucketInventoryConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketInventoryConfiguration.html)
|
||||
func (c *Client) GetBucketInventoryConfiguration(ctx context.Context, params *GetBucketInventoryConfigurationInput, optFns ...func(*Options)) (*GetBucketInventoryConfigurationOutput, error) {
|
||||
if params == nil {
|
||||
params = &GetBucketInventoryConfigurationInput{}
|
||||
|
@ -138,6 +126,9 @@ func (c *Client) addOperationGetBucketInventoryConfigurationMiddlewares(stack *m
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addGetBucketInventoryConfigurationUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
57
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketLifecycleConfiguration.go
generated
vendored
57
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketLifecycleConfiguration.go
generated
vendored
|
@ -12,51 +12,31 @@ import (
|
|||
smithyhttp "github.com/aws/smithy-go/transport/http"
|
||||
)
|
||||
|
||||
// Bucket lifecycle configuration now supports specifying a lifecycle rule using an
|
||||
// object key name prefix, one or more object tags, or a combination of both.
|
||||
// Bucket lifecycle configuration now supports specifying a lifecycle rule using
|
||||
// an object key name prefix, one or more object tags, or a combination of both.
|
||||
// Accordingly, this section describes the latest API. The response describes the
|
||||
// new filter element that you can use to specify a filter to select a subset of
|
||||
// objects to which the rule applies. If you are using a previous version of the
|
||||
// lifecycle configuration, it still works. For the earlier action, see
|
||||
// GetBucketLifecycle
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycle.html).
|
||||
// Returns the lifecycle configuration information set on the bucket. For
|
||||
// information about lifecycle configuration, see Object Lifecycle Management
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html). To
|
||||
// use this operation, you must have permission to perform the
|
||||
// GetBucketLifecycle (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycle.html)
|
||||
// . Returns the lifecycle configuration information set on the bucket. For
|
||||
// information about lifecycle configuration, see Object Lifecycle Management (https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html)
|
||||
// . To use this operation, you must have permission to perform the
|
||||
// s3:GetLifecycleConfiguration action. The bucket owner has this permission, by
|
||||
// default. The bucket owner 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).
|
||||
// GetBucketLifecycleConfiguration has the following special error:
|
||||
// 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)
|
||||
// . GetBucketLifecycleConfiguration has the following special error:
|
||||
// - Error code: NoSuchLifecycleConfiguration
|
||||
// - Description: The lifecycle configuration does not exist.
|
||||
// - HTTP Status Code: 404 Not Found
|
||||
// - SOAP Fault Code Prefix: Client
|
||||
//
|
||||
// * Error code:
|
||||
// NoSuchLifecycleConfiguration
|
||||
//
|
||||
// * Description: The lifecycle configuration does
|
||||
// not exist.
|
||||
//
|
||||
// * HTTP Status Code: 404 Not Found
|
||||
//
|
||||
// * SOAP Fault Code Prefix:
|
||||
// Client
|
||||
//
|
||||
// The following operations are related to
|
||||
// GetBucketLifecycleConfiguration:
|
||||
//
|
||||
// * GetBucketLifecycle
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycle.html)
|
||||
//
|
||||
// *
|
||||
// PutBucketLifecycle
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycle.html)
|
||||
//
|
||||
// *
|
||||
// DeleteBucketLifecycle
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketLifecycle.html)
|
||||
// The following operations are related to GetBucketLifecycleConfiguration :
|
||||
// - GetBucketLifecycle (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycle.html)
|
||||
// - PutBucketLifecycle (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycle.html)
|
||||
// - DeleteBucketLifecycle (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketLifecycle.html)
|
||||
func (c *Client) GetBucketLifecycleConfiguration(ctx context.Context, params *GetBucketLifecycleConfigurationInput, optFns ...func(*Options)) (*GetBucketLifecycleConfigurationOutput, error) {
|
||||
if params == nil {
|
||||
params = &GetBucketLifecycleConfigurationInput{}
|
||||
|
@ -155,6 +135,9 @@ func (c *Client) addOperationGetBucketLifecycleConfigurationMiddlewares(stack *m
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addGetBucketLifecycleConfigurationUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
53
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketLocation.go
generated
vendored
53
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketLocation.go
generated
vendored
|
@ -21,22 +21,20 @@ import (
|
|||
|
||||
// Returns the Region the bucket resides in. You set the bucket's Region using the
|
||||
// LocationConstraint request parameter in a CreateBucket request. For more
|
||||
// information, see CreateBucket
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html). To use
|
||||
// this implementation of the operation, you must be the bucket owner. To use this
|
||||
// API against an access point, provide the alias of the access point in place of
|
||||
// the bucket name. For requests made using Amazon Web Services Signature Version 4
|
||||
// (SigV4), we recommend that you use HeadBucket
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadBucket.html) to return
|
||||
// the bucket Region instead of GetBucketLocation. The following operations are
|
||||
// related to GetBucketLocation:
|
||||
//
|
||||
// * GetObject
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html)
|
||||
//
|
||||
// *
|
||||
// CreateBucket
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html)
|
||||
// information, see CreateBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html)
|
||||
// . To use this API operation against an access point, provide the alias of the
|
||||
// access point in place of the bucket name. To use this API operation against an
|
||||
// Object Lambda access point, provide the alias of the Object Lambda access point
|
||||
// in place of the bucket name. If the Object Lambda access point alias in a
|
||||
// request is not valid, the error code InvalidAccessPointAliasError is returned.
|
||||
// For more information about InvalidAccessPointAliasError , see List of Error
|
||||
// Codes (https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList)
|
||||
// . We recommend that you use HeadBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadBucket.html)
|
||||
// to return the Region that a bucket resides in. For backward compatibility,
|
||||
// Amazon S3 continues to support GetBucketLocation. The following operations are
|
||||
// related to GetBucketLocation :
|
||||
// - GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html)
|
||||
// - CreateBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html)
|
||||
func (c *Client) GetBucketLocation(ctx context.Context, params *GetBucketLocationInput, optFns ...func(*Options)) (*GetBucketLocationOutput, error) {
|
||||
if params == nil {
|
||||
params = &GetBucketLocationInput{}
|
||||
|
@ -54,7 +52,14 @@ func (c *Client) GetBucketLocation(ctx context.Context, params *GetBucketLocatio
|
|||
|
||||
type GetBucketLocationInput struct {
|
||||
|
||||
// The name of the bucket for which to get the location.
|
||||
// The name of the bucket for which to get the location. To use this API operation
|
||||
// against an access point, provide the alias of the access point in place of the
|
||||
// bucket name. To use this API operation against an Object Lambda access point,
|
||||
// provide the alias of the Object Lambda access point in place of the bucket name.
|
||||
// If the Object Lambda access point alias in a request is not valid, the error
|
||||
// code InvalidAccessPointAliasError is returned. For more information about
|
||||
// InvalidAccessPointAliasError , see List of Error Codes (https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList)
|
||||
// .
|
||||
//
|
||||
// This member is required.
|
||||
Bucket *string
|
||||
|
@ -70,9 +75,8 @@ type GetBucketLocationInput struct {
|
|||
type GetBucketLocationOutput struct {
|
||||
|
||||
// Specifies the Region where the bucket resides. For a list of all the Amazon S3
|
||||
// supported location constraints by Region, see Regions and Endpoints
|
||||
// (https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region). Buckets in
|
||||
// Region us-east-1 have a LocationConstraint of null.
|
||||
// supported location constraints by Region, see Regions and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region)
|
||||
// . Buckets in Region us-east-1 have a LocationConstraint of null .
|
||||
LocationConstraint types.BucketLocationConstraint
|
||||
|
||||
// Metadata pertaining to the operation's result.
|
||||
|
@ -141,6 +145,9 @@ func (c *Client) addOperationGetBucketLocationMiddlewares(stack *middleware.Stac
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addGetBucketLocationUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
@ -224,9 +231,9 @@ func newServiceMetadataMiddleware_opGetBucketLocation(region string) *awsmiddlew
|
|||
}
|
||||
}
|
||||
|
||||
// getGetBucketLocationBucketMember returns a pointer to string denoting a provided
|
||||
// bucket member valueand a boolean indicating if the input has a modeled bucket
|
||||
// name,
|
||||
// getGetBucketLocationBucketMember returns a pointer to string denoting a
|
||||
// provided bucket member valueand a boolean indicating if the input has a modeled
|
||||
// bucket name,
|
||||
func getGetBucketLocationBucketMember(input interface{}) (*string, bool) {
|
||||
in := input.(*GetBucketLocationInput)
|
||||
if in.Bucket == nil {
|
||||
|
|
23
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketLogging.go
generated
vendored
23
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketLogging.go
generated
vendored
|
@ -13,15 +13,10 @@ import (
|
|||
)
|
||||
|
||||
// Returns the logging status of a bucket and the permissions users have to view
|
||||
// and modify that status. The following operations are related to
|
||||
// GetBucketLogging:
|
||||
//
|
||||
// * CreateBucket
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html)
|
||||
//
|
||||
// *
|
||||
// PutBucketLogging
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLogging.html)
|
||||
// and modify that status. The following operations are related to GetBucketLogging
|
||||
// :
|
||||
// - CreateBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html)
|
||||
// - PutBucketLogging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLogging.html)
|
||||
func (c *Client) GetBucketLogging(ctx context.Context, params *GetBucketLoggingInput, optFns ...func(*Options)) (*GetBucketLoggingOutput, error) {
|
||||
if params == nil {
|
||||
params = &GetBucketLoggingInput{}
|
||||
|
@ -54,10 +49,9 @@ type GetBucketLoggingInput struct {
|
|||
|
||||
type GetBucketLoggingOutput struct {
|
||||
|
||||
// Describes where logs are stored and the prefix that Amazon S3 assigns to all log
|
||||
// object keys for a bucket. For more information, see PUT Bucket logging
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTlogging.html) in
|
||||
// the Amazon S3 API Reference.
|
||||
// Describes where logs are stored and the prefix that Amazon S3 assigns to all
|
||||
// log object keys for a bucket. For more information, see PUT Bucket logging (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTlogging.html)
|
||||
// in the Amazon S3 API Reference.
|
||||
LoggingEnabled *types.LoggingEnabled
|
||||
|
||||
// Metadata pertaining to the operation's result.
|
||||
|
@ -123,6 +117,9 @@ func (c *Client) addOperationGetBucketLoggingMiddlewares(stack *middleware.Stack
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addGetBucketLoggingUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
36
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketMetricsConfiguration.go
generated
vendored
36
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketMetricsConfiguration.go
generated
vendored
|
@ -18,30 +18,15 @@ import (
|
|||
// s3:GetMetricsConfiguration action. The bucket owner has this permission by
|
||||
// default. The bucket owner 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).
|
||||
// For information about CloudWatch request metrics for Amazon S3, see Monitoring
|
||||
// Metrics with Amazon CloudWatch
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/cloudwatch-monitoring.html).
|
||||
// The following operations are related to GetBucketMetricsConfiguration:
|
||||
//
|
||||
// *
|
||||
// PutBucketMetricsConfiguration
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketMetricsConfiguration.html)
|
||||
//
|
||||
// *
|
||||
// DeleteBucketMetricsConfiguration
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketMetricsConfiguration.html)
|
||||
//
|
||||
// *
|
||||
// ListBucketMetricsConfigurations
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketMetricsConfigurations.html)
|
||||
//
|
||||
// *
|
||||
// Monitoring Metrics with Amazon CloudWatch
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/cloudwatch-monitoring.html)
|
||||
// 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)
|
||||
// . For information about CloudWatch request metrics for Amazon S3, see
|
||||
// Monitoring Metrics with Amazon CloudWatch (https://docs.aws.amazon.com/AmazonS3/latest/dev/cloudwatch-monitoring.html)
|
||||
// . The following operations are related to GetBucketMetricsConfiguration :
|
||||
// - PutBucketMetricsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketMetricsConfiguration.html)
|
||||
// - DeleteBucketMetricsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketMetricsConfiguration.html)
|
||||
// - ListBucketMetricsConfigurations (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketMetricsConfigurations.html)
|
||||
// - Monitoring Metrics with Amazon CloudWatch (https://docs.aws.amazon.com/AmazonS3/latest/dev/cloudwatch-monitoring.html)
|
||||
func (c *Client) GetBucketMetricsConfiguration(ctx context.Context, params *GetBucketMetricsConfigurationInput, optFns ...func(*Options)) (*GetBucketMetricsConfigurationOutput, error) {
|
||||
if params == nil {
|
||||
params = &GetBucketMetricsConfigurationInput{}
|
||||
|
@ -146,6 +131,9 @@ func (c *Client) addOperationGetBucketMetricsConfigurationMiddlewares(stack *mid
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addGetBucketMetricsConfigurationUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
@ -17,17 +17,18 @@ import (
|
|||
// element. By default, you must be the bucket owner to read the notification
|
||||
// configuration of a bucket. However, the bucket owner can use a bucket policy to
|
||||
// grant permission to other users to read this configuration with the
|
||||
// s3:GetBucketNotification permission. To use this API against an access point,
|
||||
// provide the alias of the access point in place of the bucket name. For more
|
||||
// information about setting and reading the notification configuration on a
|
||||
// bucket, see Setting Up Notification of Bucket Events
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html). For
|
||||
// more information about bucket policies, see Using Bucket Policies
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html). The
|
||||
// following action is related to GetBucketNotification:
|
||||
//
|
||||
// * PutBucketNotification
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketNotification.html)
|
||||
// s3:GetBucketNotification permission. To use this API operation against an access
|
||||
// point, provide the alias of the access point in place of the bucket name. To use
|
||||
// this API operation against an Object Lambda access point, provide the alias of
|
||||
// the Object Lambda access point in place of the bucket name. If the Object Lambda
|
||||
// access point alias in a request is not valid, the error code
|
||||
// InvalidAccessPointAliasError is returned. For more information about
|
||||
// InvalidAccessPointAliasError , see List of Error Codes (https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList)
|
||||
// . For more information about setting and reading the notification configuration
|
||||
// on a bucket, see Setting Up Notification of Bucket Events (https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html)
|
||||
// . For more information about bucket policies, see Using Bucket Policies (https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html)
|
||||
// . The following action is related to GetBucketNotification :
|
||||
// - PutBucketNotification (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketNotification.html)
|
||||
func (c *Client) GetBucketNotificationConfiguration(ctx context.Context, params *GetBucketNotificationConfigurationInput, optFns ...func(*Options)) (*GetBucketNotificationConfigurationOutput, error) {
|
||||
if params == nil {
|
||||
params = &GetBucketNotificationConfigurationInput{}
|
||||
|
@ -45,7 +46,14 @@ func (c *Client) GetBucketNotificationConfiguration(ctx context.Context, params
|
|||
|
||||
type GetBucketNotificationConfigurationInput struct {
|
||||
|
||||
// The name of the bucket for which to get the notification configuration.
|
||||
// The name of the bucket for which to get the notification configuration. To use
|
||||
// this API operation against an access point, provide the alias of the access
|
||||
// point in place of the bucket name. To use this API operation against an Object
|
||||
// Lambda access point, provide the alias of the Object Lambda access point in
|
||||
// place of the bucket name. If the Object Lambda access point alias in a request
|
||||
// is not valid, the error code InvalidAccessPointAliasError is returned. For more
|
||||
// information about InvalidAccessPointAliasError , see List of Error Codes (https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList)
|
||||
// .
|
||||
//
|
||||
// This member is required.
|
||||
Bucket *string
|
||||
|
@ -58,8 +66,8 @@ type GetBucketNotificationConfigurationInput struct {
|
|||
noSmithyDocumentSerde
|
||||
}
|
||||
|
||||
// A container for specifying the notification configuration of the bucket. If this
|
||||
// element is empty, notifications are turned off for the bucket.
|
||||
// A container for specifying the notification configuration of the bucket. If
|
||||
// this element is empty, notifications are turned off for the bucket.
|
||||
type GetBucketNotificationConfigurationOutput struct {
|
||||
|
||||
// Enables delivery of events to Amazon EventBridge.
|
||||
|
@ -69,12 +77,12 @@ type GetBucketNotificationConfigurationOutput struct {
|
|||
// them.
|
||||
LambdaFunctionConfigurations []types.LambdaFunctionConfiguration
|
||||
|
||||
// The Amazon Simple Queue Service queues to publish messages to and the events for
|
||||
// which to publish messages.
|
||||
// The Amazon Simple Queue Service queues to publish messages to and the events
|
||||
// for which to publish messages.
|
||||
QueueConfigurations []types.QueueConfiguration
|
||||
|
||||
// The topic to which notifications are sent and the events for which notifications
|
||||
// are generated.
|
||||
// The topic to which notifications are sent and the events for which
|
||||
// notifications are generated.
|
||||
TopicConfigurations []types.TopicConfiguration
|
||||
|
||||
// Metadata pertaining to the operation's result.
|
||||
|
@ -140,6 +148,9 @@ func (c *Client) addOperationGetBucketNotificationConfigurationMiddlewares(stack
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addGetBucketNotificationConfigurationUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
24
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketOwnershipControls.go
generated
vendored
24
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketOwnershipControls.go
generated
vendored
|
@ -14,16 +14,11 @@ import (
|
|||
|
||||
// Retrieves OwnershipControls for an Amazon S3 bucket. To use this operation, you
|
||||
// must have the s3:GetBucketOwnershipControls permission. For more information
|
||||
// about Amazon S3 permissions, see Specifying permissions in a policy
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html).
|
||||
// For information about Amazon S3 Object Ownership, see Using Object Ownership
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html).
|
||||
// The following operations are related to GetBucketOwnershipControls:
|
||||
//
|
||||
// *
|
||||
// PutBucketOwnershipControls
|
||||
//
|
||||
// * DeleteBucketOwnershipControls
|
||||
// about Amazon S3 permissions, see Specifying permissions in a policy (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html)
|
||||
// . For information about Amazon S3 Object Ownership, see Using Object Ownership (https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html)
|
||||
// . The following operations are related to GetBucketOwnershipControls :
|
||||
// - PutBucketOwnershipControls
|
||||
// - DeleteBucketOwnershipControls
|
||||
func (c *Client) GetBucketOwnershipControls(ctx context.Context, params *GetBucketOwnershipControlsInput, optFns ...func(*Options)) (*GetBucketOwnershipControlsOutput, error) {
|
||||
if params == nil {
|
||||
params = &GetBucketOwnershipControlsInput{}
|
||||
|
@ -123,6 +118,9 @@ func (c *Client) addOperationGetBucketOwnershipControlsMiddlewares(stack *middle
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addGetBucketOwnershipControlsUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
@ -150,9 +148,9 @@ func newServiceMetadataMiddleware_opGetBucketOwnershipControls(region string) *a
|
|||
}
|
||||
}
|
||||
|
||||
// getGetBucketOwnershipControlsBucketMember returns a pointer to string denoting a
|
||||
// provided bucket member valueand a boolean indicating if the input has a modeled
|
||||
// bucket name,
|
||||
// getGetBucketOwnershipControlsBucketMember returns a pointer to string denoting
|
||||
// a provided bucket member valueand a boolean indicating if the input has a
|
||||
// modeled bucket name,
|
||||
func getGetBucketOwnershipControlsBucketMember(input interface{}) (*string, bool) {
|
||||
in := input.(*GetBucketOwnershipControlsInput)
|
||||
if in.Bucket == nil {
|
||||
|
|
40
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketPolicy.go
generated
vendored
40
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketPolicy.go
generated
vendored
|
@ -18,17 +18,23 @@ import (
|
|||
// If you don't have GetBucketPolicy permissions, Amazon S3 returns a 403 Access
|
||||
// Denied error. If you have the correct permissions, but you're not using an
|
||||
// identity that belongs to the bucket owner's account, Amazon S3 returns a 405
|
||||
// Method Not Allowed error. As a security precaution, the root user of the Amazon
|
||||
// Web Services account that owns a bucket can always use this operation, even if
|
||||
// the policy explicitly denies the root user the ability to perform this action.
|
||||
// To use this API against an access point, provide the alias of the access point
|
||||
// in place of the bucket name. For more information about bucket policies, see
|
||||
// Using Bucket Policies and User Policies
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html). The
|
||||
// following action is related to GetBucketPolicy:
|
||||
//
|
||||
// * GetObject
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html)
|
||||
// Method Not Allowed error. To ensure that bucket owners don't inadvertently lock
|
||||
// themselves out of their own buckets, the root principal in a bucket owner's
|
||||
// Amazon Web Services account can perform the GetBucketPolicy , PutBucketPolicy ,
|
||||
// and DeleteBucketPolicy API actions, even if their bucket policy explicitly
|
||||
// denies the root principal's access. Bucket owner root principals can only be
|
||||
// blocked from performing these API actions by VPC endpoint policies and Amazon
|
||||
// Web Services Organizations policies. To use this API operation against an access
|
||||
// point, provide the alias of the access point in place of the bucket name. To use
|
||||
// this API operation against an Object Lambda access point, provide the alias of
|
||||
// the Object Lambda access point in place of the bucket name. If the Object Lambda
|
||||
// access point alias in a request is not valid, the error code
|
||||
// InvalidAccessPointAliasError is returned. For more information about
|
||||
// InvalidAccessPointAliasError , see List of Error Codes (https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList)
|
||||
// . For more information about bucket policies, see Using Bucket Policies and
|
||||
// User Policies (https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html)
|
||||
// . The following action is related to GetBucketPolicy :
|
||||
// - GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html)
|
||||
func (c *Client) GetBucketPolicy(ctx context.Context, params *GetBucketPolicyInput, optFns ...func(*Options)) (*GetBucketPolicyOutput, error) {
|
||||
if params == nil {
|
||||
params = &GetBucketPolicyInput{}
|
||||
|
@ -46,7 +52,14 @@ func (c *Client) GetBucketPolicy(ctx context.Context, params *GetBucketPolicyInp
|
|||
|
||||
type GetBucketPolicyInput struct {
|
||||
|
||||
// The bucket name for which to get the bucket policy.
|
||||
// The bucket name for which to get the bucket policy. To use this API operation
|
||||
// against an access point, provide the alias of the access point in place of the
|
||||
// bucket name. To use this API operation against an Object Lambda access point,
|
||||
// provide the alias of the Object Lambda access point in place of the bucket name.
|
||||
// If the Object Lambda access point alias in a request is not valid, the error
|
||||
// code InvalidAccessPointAliasError is returned. For more information about
|
||||
// InvalidAccessPointAliasError , see List of Error Codes (https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList)
|
||||
// .
|
||||
//
|
||||
// This member is required.
|
||||
Bucket *string
|
||||
|
@ -127,6 +140,9 @@ func (c *Client) addOperationGetBucketPolicyMiddlewares(stack *middleware.Stack,
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addGetBucketPolicyUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
33
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketPolicyStatus.go
generated
vendored
33
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketPolicyStatus.go
generated
vendored
|
@ -15,28 +15,14 @@ import (
|
|||
// Retrieves the policy status for an Amazon S3 bucket, indicating whether the
|
||||
// bucket is public. In order to use this operation, you must have the
|
||||
// s3:GetBucketPolicyStatus permission. For more information about Amazon S3
|
||||
// permissions, see Specifying Permissions in a Policy
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html).
|
||||
// For more information about when Amazon S3 considers a bucket public, see The
|
||||
// Meaning of "Public"
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status).
|
||||
// The following operations are related to GetBucketPolicyStatus:
|
||||
//
|
||||
// * Using Amazon
|
||||
// S3 Block Public Access
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html)
|
||||
//
|
||||
// *
|
||||
// GetPublicAccessBlock
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetPublicAccessBlock.html)
|
||||
//
|
||||
// *
|
||||
// PutPublicAccessBlock
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutPublicAccessBlock.html)
|
||||
//
|
||||
// *
|
||||
// DeletePublicAccessBlock
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeletePublicAccessBlock.html)
|
||||
// permissions, see Specifying Permissions in a Policy (https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html)
|
||||
// . For more information about when Amazon S3 considers a bucket public, see The
|
||||
// Meaning of "Public" (https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status)
|
||||
// . The following operations are related to GetBucketPolicyStatus :
|
||||
// - Using Amazon S3 Block Public Access (https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html)
|
||||
// - GetPublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetPublicAccessBlock.html)
|
||||
// - PutPublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutPublicAccessBlock.html)
|
||||
// - DeletePublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeletePublicAccessBlock.html)
|
||||
func (c *Client) GetBucketPolicyStatus(ctx context.Context, params *GetBucketPolicyStatusInput, optFns ...func(*Options)) (*GetBucketPolicyStatusOutput, error) {
|
||||
if params == nil {
|
||||
params = &GetBucketPolicyStatusInput{}
|
||||
|
@ -135,6 +121,9 @@ func (c *Client) addOperationGetBucketPolicyStatusMiddlewares(stack *middleware.
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addGetBucketPolicyStatusUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
32
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketReplication.go
generated
vendored
32
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketReplication.go
generated
vendored
|
@ -15,26 +15,17 @@ import (
|
|||
// Returns the replication configuration of a bucket. It can take a while to
|
||||
// propagate the put or delete a replication configuration to all Amazon S3
|
||||
// systems. Therefore, a get request soon after put or delete can return a wrong
|
||||
// result. For information about replication configuration, see Replication
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/replication.html) in the Amazon
|
||||
// S3 User Guide. This action requires permissions for the
|
||||
// result. For information about replication configuration, see Replication (https://docs.aws.amazon.com/AmazonS3/latest/dev/replication.html)
|
||||
// in the Amazon S3 User Guide. This action requires permissions for the
|
||||
// s3:GetReplicationConfiguration action. For more information about permissions,
|
||||
// see Using Bucket Policies and User Policies
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html). If
|
||||
// you include the Filter element in a replication configuration, you must also
|
||||
// include the DeleteMarkerReplication and Priority elements. The response also
|
||||
// returns those elements. For information about GetBucketReplication errors, see
|
||||
// List of replication-related error codes
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ReplicationErrorCodeList)
|
||||
// The following operations are related to GetBucketReplication:
|
||||
//
|
||||
// *
|
||||
// PutBucketReplication
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketReplication.html)
|
||||
//
|
||||
// *
|
||||
// DeleteBucketReplication
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketReplication.html)
|
||||
// see Using Bucket Policies and User Policies (https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html)
|
||||
// . If you include the Filter element in a replication configuration, you must
|
||||
// also include the DeleteMarkerReplication and Priority elements. The response
|
||||
// also returns those elements. For information about GetBucketReplication errors,
|
||||
// see List of replication-related error codes (https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ReplicationErrorCodeList)
|
||||
// The following operations are related to GetBucketReplication :
|
||||
// - PutBucketReplication (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketReplication.html)
|
||||
// - DeleteBucketReplication (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketReplication.html)
|
||||
func (c *Client) GetBucketReplication(ctx context.Context, params *GetBucketReplicationInput, optFns ...func(*Options)) (*GetBucketReplicationOutput, error) {
|
||||
if params == nil {
|
||||
params = &GetBucketReplicationInput{}
|
||||
|
@ -134,6 +125,9 @@ func (c *Client) addOperationGetBucketReplicationMiddlewares(stack *middleware.S
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addGetBucketReplicationUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
14
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketRequestPayment.go
generated
vendored
14
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketRequestPayment.go
generated
vendored
|
@ -13,13 +13,10 @@ import (
|
|||
)
|
||||
|
||||
// Returns the request payment configuration of a bucket. To use this version of
|
||||
// the operation, you must be the bucket owner. For more information, see Requester
|
||||
// Pays Buckets
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html). The
|
||||
// following operations are related to GetBucketRequestPayment:
|
||||
//
|
||||
// * ListObjects
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjects.html)
|
||||
// the operation, you must be the bucket owner. For more information, see
|
||||
// Requester Pays Buckets (https://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html)
|
||||
// . The following operations are related to GetBucketRequestPayment :
|
||||
// - ListObjects (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjects.html)
|
||||
func (c *Client) GetBucketRequestPayment(ctx context.Context, params *GetBucketRequestPaymentInput, optFns ...func(*Options)) (*GetBucketRequestPaymentOutput, error) {
|
||||
if params == nil {
|
||||
params = &GetBucketRequestPaymentInput{}
|
||||
|
@ -118,6 +115,9 @@ func (c *Client) addOperationGetBucketRequestPaymentMiddlewares(stack *middlewar
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addGetBucketRequestPaymentUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
22
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketTagging.go
generated
vendored
22
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketTagging.go
generated
vendored
|
@ -16,21 +16,12 @@ import (
|
|||
// have permission to perform the s3:GetBucketTagging action. By default, the
|
||||
// bucket owner has this permission and can grant this permission to others.
|
||||
// GetBucketTagging has the following special error:
|
||||
// - Error code: NoSuchTagSet
|
||||
// - Description: There is no tag set associated with the bucket.
|
||||
//
|
||||
// * Error code: NoSuchTagSet
|
||||
//
|
||||
// *
|
||||
// Description: There is no tag set associated with the bucket.
|
||||
//
|
||||
// The following
|
||||
// operations are related to GetBucketTagging:
|
||||
//
|
||||
// * PutBucketTagging
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketTagging.html)
|
||||
//
|
||||
// *
|
||||
// DeleteBucketTagging
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketTagging.html)
|
||||
// The following operations are related to GetBucketTagging :
|
||||
// - PutBucketTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketTagging.html)
|
||||
// - DeleteBucketTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketTagging.html)
|
||||
func (c *Client) GetBucketTagging(ctx context.Context, params *GetBucketTaggingInput, optFns ...func(*Options)) (*GetBucketTaggingOutput, error) {
|
||||
if params == nil {
|
||||
params = &GetBucketTaggingInput{}
|
||||
|
@ -131,6 +122,9 @@ func (c *Client) addOperationGetBucketTaggingMiddlewares(stack *middleware.Stack
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addGetBucketTaggingUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
22
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketVersioning.go
generated
vendored
22
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketVersioning.go
generated
vendored
|
@ -14,21 +14,12 @@ import (
|
|||
|
||||
// Returns the versioning state of a bucket. To retrieve the versioning state of a
|
||||
// bucket, you must be the bucket owner. This implementation also returns the MFA
|
||||
// Delete status of the versioning state. If the MFA Delete status is enabled, the
|
||||
// Delete status of the versioning state. If the MFA Delete status is enabled , the
|
||||
// bucket owner must use an authentication device to change the versioning state of
|
||||
// the bucket. The following operations are related to GetBucketVersioning:
|
||||
//
|
||||
// *
|
||||
// GetObject
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html)
|
||||
//
|
||||
// *
|
||||
// PutObject
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html)
|
||||
//
|
||||
// *
|
||||
// DeleteObject
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html)
|
||||
// the bucket. The following operations are related to GetBucketVersioning :
|
||||
// - GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html)
|
||||
// - PutObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html)
|
||||
// - DeleteObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html)
|
||||
func (c *Client) GetBucketVersioning(ctx context.Context, params *GetBucketVersioningInput, optFns ...func(*Options)) (*GetBucketVersioningOutput, error) {
|
||||
if params == nil {
|
||||
params = &GetBucketVersioningInput{}
|
||||
|
@ -132,6 +123,9 @@ func (c *Client) addOperationGetBucketVersioningMiddlewares(stack *middleware.St
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addGetBucketVersioningUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
27
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketWebsite.go
generated
vendored
27
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketWebsite.go
generated
vendored
|
@ -14,20 +14,14 @@ import (
|
|||
|
||||
// Returns the website configuration for a bucket. To host website on Amazon S3,
|
||||
// you can configure a bucket as website by adding a website configuration. For
|
||||
// more information about hosting websites, see Hosting Websites on Amazon S3
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html). This GET
|
||||
// action requires the S3:GetBucketWebsite permission. By default, only the bucket
|
||||
// owner can read the bucket website configuration. However, bucket owners can
|
||||
// allow other users to read the website configuration by writing a bucket policy
|
||||
// granting them the S3:GetBucketWebsite permission. The following operations are
|
||||
// related to DeleteBucketWebsite:
|
||||
//
|
||||
// * DeleteBucketWebsite
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketWebsite.html)
|
||||
//
|
||||
// *
|
||||
// PutBucketWebsite
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketWebsite.html)
|
||||
// more information about hosting websites, see Hosting Websites on Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html)
|
||||
// . This GET action requires the S3:GetBucketWebsite permission. By default, only
|
||||
// the bucket owner can read the bucket website configuration. However, bucket
|
||||
// owners can allow other users to read the website configuration by writing a
|
||||
// bucket policy granting them the S3:GetBucketWebsite permission. The following
|
||||
// operations are related to GetBucketWebsite :
|
||||
// - DeleteBucketWebsite (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketWebsite.html)
|
||||
// - PutBucketWebsite (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketWebsite.html)
|
||||
func (c *Client) GetBucketWebsite(ctx context.Context, params *GetBucketWebsiteInput, optFns ...func(*Options)) (*GetBucketWebsiteOutput, error) {
|
||||
if params == nil {
|
||||
params = &GetBucketWebsiteInput{}
|
||||
|
@ -63,7 +57,7 @@ type GetBucketWebsiteOutput struct {
|
|||
// The object key name of the website error document to use for 4XX class errors.
|
||||
ErrorDocument *types.ErrorDocument
|
||||
|
||||
// The name of the index document for the website (for example index.html).
|
||||
// The name of the index document for the website (for example index.html ).
|
||||
IndexDocument *types.IndexDocument
|
||||
|
||||
// Specifies the redirect behavior of all requests to a website endpoint of an
|
||||
|
@ -136,6 +130,9 @@ func (c *Client) addOperationGetBucketWebsiteMiddlewares(stack *middleware.Stack
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addGetBucketWebsiteUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
229
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObject.go
generated
vendored
229
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObject.go
generated
vendored
|
@ -15,88 +15,66 @@ import (
|
|||
"time"
|
||||
)
|
||||
|
||||
// Retrieves objects from Amazon S3. To use GET, you must have READ access to the
|
||||
// Retrieves objects from Amazon S3. To use GET , you must have READ access to the
|
||||
// object. If you grant READ access to the anonymous user, you can return the
|
||||
// object without using an authorization header. An Amazon S3 bucket has no
|
||||
// directory hierarchy such as you would find in a typical computer file system.
|
||||
// You can, however, create a logical hierarchy by using object key names that
|
||||
// imply a folder structure. For example, instead of naming an object sample.jpg,
|
||||
// you can name it photos/2006/February/sample.jpg. To get an object from such a
|
||||
// imply a folder structure. For example, instead of naming an object sample.jpg ,
|
||||
// you can name it photos/2006/February/sample.jpg . To get an object from such a
|
||||
// logical hierarchy, specify the full key name for the object in the GET
|
||||
// operation. For a virtual hosted-style request example, if you have the object
|
||||
// photos/2006/February/sample.jpg, specify the resource as
|
||||
// /photos/2006/February/sample.jpg. For a path-style request example, if you have
|
||||
// the object photos/2006/February/sample.jpg in the bucket named examplebucket,
|
||||
// specify the resource as /examplebucket/photos/2006/February/sample.jpg. For more
|
||||
// information about request types, see HTTP Host Header Bucket Specification
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html#VirtualHostingSpecifyBucket).
|
||||
// For more information about returning the ACL of an object, see GetObjectAcl
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAcl.html). If the
|
||||
// object you are retrieving is stored in the S3 Glacier or S3 Glacier Deep Archive
|
||||
// storage class, or S3 Intelligent-Tiering Archive or S3 Intelligent-Tiering Deep
|
||||
// Archive tiers, before you can retrieve the object you must first restore a copy
|
||||
// using RestoreObject
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html).
|
||||
// Otherwise, this action returns an InvalidObjectState error. For information
|
||||
// about restoring archived objects, see Restoring Archived Objects
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/restoring-objects.html).
|
||||
// Encryption request headers, like x-amz-server-side-encryption, should not be
|
||||
// photos/2006/February/sample.jpg , specify the resource as
|
||||
// /photos/2006/February/sample.jpg . For a path-style request example, if you have
|
||||
// the object photos/2006/February/sample.jpg in the bucket named examplebucket ,
|
||||
// specify the resource as /examplebucket/photos/2006/February/sample.jpg . For
|
||||
// more information about request types, see HTTP Host Header Bucket Specification (https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html#VirtualHostingSpecifyBucket)
|
||||
// . For more information about returning the ACL of an object, see GetObjectAcl (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAcl.html)
|
||||
// . If the object you are retrieving is stored in the S3 Glacier or S3 Glacier
|
||||
// Deep Archive storage class, or S3 Intelligent-Tiering Archive or S3
|
||||
// Intelligent-Tiering Deep Archive tiers, before you can retrieve the object you
|
||||
// must first restore a copy using RestoreObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html)
|
||||
// . Otherwise, this action returns an InvalidObjectState error. For information
|
||||
// about restoring archived objects, see Restoring Archived Objects (https://docs.aws.amazon.com/AmazonS3/latest/dev/restoring-objects.html)
|
||||
// . Encryption request headers, like x-amz-server-side-encryption , should not be
|
||||
// sent for GET requests if your object uses server-side encryption with KMS keys
|
||||
// (SSE-KMS) or server-side encryption with Amazon S3–managed encryption keys
|
||||
// (SSE-S3). If your object does use these types of keys, you’ll get an HTTP 400
|
||||
// BadRequest error. If you encrypt an object by using server-side encryption with
|
||||
// customer-provided encryption keys (SSE-C) when you store the object in Amazon
|
||||
// S3, then when you GET the object, you must use the following headers:
|
||||
// - x-amz-server-side-encryption-customer-algorithm
|
||||
// - x-amz-server-side-encryption-customer-key
|
||||
// - x-amz-server-side-encryption-customer-key-MD5
|
||||
//
|
||||
// *
|
||||
// x-amz-server-side-encryption-customer-algorithm
|
||||
//
|
||||
// *
|
||||
// x-amz-server-side-encryption-customer-key
|
||||
//
|
||||
// *
|
||||
// x-amz-server-side-encryption-customer-key-MD5
|
||||
//
|
||||
// For more information about SSE-C,
|
||||
// see Server-Side Encryption (Using Customer-Provided Encryption Keys)
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html).
|
||||
// Assuming you have the relevant permission to read object tags, the response also
|
||||
// returns the x-amz-tagging-count header that provides the count of number of tags
|
||||
// associated with the object. You can use GetObjectTagging
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTagging.html) to
|
||||
// retrieve the tag set associated with an object. Permissions You need the
|
||||
// For more information about SSE-C, see Server-Side Encryption (Using
|
||||
// Customer-Provided Encryption Keys) (https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html)
|
||||
// . Assuming you have the relevant permission to read object tags, the response
|
||||
// also returns the x-amz-tagging-count header that provides the count of number
|
||||
// of tags associated with the object. You can use GetObjectTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTagging.html)
|
||||
// to retrieve the tag set associated with an object. Permissions You need the
|
||||
// relevant read object (or version) permission for this operation. For more
|
||||
// information, see Specifying Permissions in a Policy
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html). If
|
||||
// the object you request does not exist, the error Amazon S3 returns depends on
|
||||
// whether you also have the s3:ListBucket permission.
|
||||
// information, see Specifying Permissions in a Policy (https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html)
|
||||
// . If the object you request does not exist, the error Amazon S3 returns depends
|
||||
// on whether you also have the s3:ListBucket permission.
|
||||
// - If you have the s3:ListBucket permission on the bucket, Amazon S3 will
|
||||
// return an HTTP status code 404 ("no such key") error.
|
||||
// - If you don’t have the s3:ListBucket permission, Amazon S3 will return an
|
||||
// HTTP status code 403 ("access denied") error.
|
||||
//
|
||||
// * If you have the
|
||||
// s3:ListBucket permission on the bucket, Amazon S3 will return an HTTP status
|
||||
// code 404 ("no such key") error.
|
||||
// Versioning By default, the GET action returns the current version of an object.
|
||||
// To return a different version, use the versionId subresource.
|
||||
// - If you supply a versionId , you need the s3:GetObjectVersion permission to
|
||||
// access a specific version of an object. If you request a specific version, you
|
||||
// do not need to have the s3:GetObject permission. If you request the current
|
||||
// version without a specific version ID, only s3:GetObject permission is
|
||||
// required. s3:GetObjectVersion permission won't be required.
|
||||
// - If the current version of the object is a delete marker, Amazon S3 behaves
|
||||
// as if the object was deleted and includes x-amz-delete-marker: true in the
|
||||
// response.
|
||||
//
|
||||
// * If you don’t have the s3:ListBucket
|
||||
// permission, Amazon S3 will return an HTTP status code 403 ("access denied")
|
||||
// error.
|
||||
//
|
||||
// Versioning By default, the GET action returns the current version of an
|
||||
// object. To return a different version, use the versionId subresource.
|
||||
//
|
||||
// * If you
|
||||
// supply a versionId, you need the s3:GetObjectVersion permission to access a
|
||||
// specific version of an object. If you request a specific version, you do not
|
||||
// need to have the s3:GetObject permission. If you request the current version
|
||||
// without a specific version ID, only s3:GetObject permission is required.
|
||||
// s3:GetObjectVersion permission won't be required.
|
||||
//
|
||||
// * If the current version of
|
||||
// the object is a delete marker, Amazon S3 behaves as if the object was deleted
|
||||
// and includes x-amz-delete-marker: true in the response.
|
||||
//
|
||||
// For more information
|
||||
// about versioning, see PutBucketVersioning
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketVersioning.html).
|
||||
// Overriding Response Header Values There are times when you want to override
|
||||
// For more information about versioning, see PutBucketVersioning (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketVersioning.html)
|
||||
// . Overriding Response Header Values There are times when you want to override
|
||||
// certain response header values in a GET response. For example, you might
|
||||
// override the Content-Disposition response header value in your GET request. You
|
||||
// can override values for a set of response headers using the following query
|
||||
|
@ -104,44 +82,30 @@ import (
|
|||
// that is, when status code 200 OK is returned. The set of headers you can
|
||||
// override using these parameters is a subset of the headers that Amazon S3
|
||||
// accepts when you create an object. The response headers that you can override
|
||||
// for the GET response are Content-Type, Content-Language, Expires, Cache-Control,
|
||||
// Content-Disposition, and Content-Encoding. To override these header values in
|
||||
// the GET response, you use the following request parameters. You must sign the
|
||||
// request, either using an Authorization header or a presigned URL, when using
|
||||
// these parameters. They cannot be used with an unsigned (anonymous) request.
|
||||
// for the GET response are Content-Type , Content-Language , Expires ,
|
||||
// Cache-Control , Content-Disposition , and Content-Encoding . To override these
|
||||
// header values in the GET response, you use the following request parameters. You
|
||||
// must sign the request, either using an Authorization header or a presigned URL,
|
||||
// when using these parameters. They cannot be used with an unsigned (anonymous)
|
||||
// request.
|
||||
// - response-content-type
|
||||
// - response-content-language
|
||||
// - response-expires
|
||||
// - response-cache-control
|
||||
// - response-content-disposition
|
||||
// - response-content-encoding
|
||||
//
|
||||
// *
|
||||
// response-content-type
|
||||
//
|
||||
// * response-content-language
|
||||
//
|
||||
// * response-expires
|
||||
//
|
||||
// *
|
||||
// response-cache-control
|
||||
//
|
||||
// * response-content-disposition
|
||||
//
|
||||
// *
|
||||
// response-content-encoding
|
||||
//
|
||||
// Additional Considerations about Request Headers If
|
||||
// both of the If-Match and If-Unmodified-Since headers are present in the request
|
||||
// as follows: If-Match condition evaluates to true, and; If-Unmodified-Since
|
||||
// condition evaluates to false; then, S3 returns 200 OK and the data requested. If
|
||||
// both of the If-None-Match and If-Modified-Since headers are present in the
|
||||
// request as follows: If-None-Match condition evaluates to false, and;
|
||||
// If-Modified-Since condition evaluates to true; then, S3 returns 304 Not Modified
|
||||
// response code. For more information about conditional requests, see RFC 7232
|
||||
// (https://tools.ietf.org/html/rfc7232). The following operations are related to
|
||||
// GetObject:
|
||||
//
|
||||
// * ListBuckets
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBuckets.html)
|
||||
//
|
||||
// *
|
||||
// GetObjectAcl
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAcl.html)
|
||||
// Overriding Response Header Values If both of the If-Match and
|
||||
// If-Unmodified-Since headers are present in the request as follows: If-Match
|
||||
// condition evaluates to true , and; If-Unmodified-Since condition evaluates to
|
||||
// false ; then, S3 returns 200 OK and the data requested. If both of the
|
||||
// If-None-Match and If-Modified-Since headers are present in the request as
|
||||
// follows: If-None-Match condition evaluates to false , and; If-Modified-Since
|
||||
// condition evaluates to true ; then, S3 returns 304 Not Modified response code.
|
||||
// For more information about conditional requests, see RFC 7232 (https://tools.ietf.org/html/rfc7232)
|
||||
// . The following operations are related to GetObject :
|
||||
// - ListBuckets (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBuckets.html)
|
||||
// - GetObjectAcl (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAcl.html)
|
||||
func (c *Client) GetObject(ctx context.Context, params *GetObjectInput, optFns ...func(*Options)) (*GetObjectOutput, error) {
|
||||
if params == nil {
|
||||
params = &GetObjectInput{}
|
||||
|
@ -165,19 +129,17 @@ type GetObjectInput struct {
|
|||
// AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this
|
||||
// action with an access point through the Amazon Web Services SDKs, you provide
|
||||
// the access point ARN in place of the bucket name. For more information about
|
||||
// access point ARNs, see Using access points
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// access point ARNs, see Using access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// in the Amazon S3 User Guide. When using an Object Lambda access point the
|
||||
// hostname takes the form
|
||||
// AccessPointName-AccountId.s3-object-lambda.Region.amazonaws.com. When you use
|
||||
// this action with Amazon S3 on Outposts, you must direct requests to the S3 on
|
||||
// Outposts hostname. The S3 on Outposts hostname takes the form
|
||||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you
|
||||
// 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) in the
|
||||
// Amazon S3 User Guide.
|
||||
// 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
|
||||
|
@ -216,17 +178,16 @@ type GetObjectInput struct {
|
|||
// Useful for downloading just a part of an object.
|
||||
PartNumber int32
|
||||
|
||||
// Downloads the specified range bytes of an object. For more information about the
|
||||
// HTTP Range header, see https://www.rfc-editor.org/rfc/rfc9110.html#name-range
|
||||
// (https://www.rfc-editor.org/rfc/rfc9110.html#name-range). Amazon S3 doesn't
|
||||
// support retrieving multiple ranges of data per GET request.
|
||||
// Downloads the specified range bytes of an object. For more information about
|
||||
// the HTTP Range header, see
|
||||
// https://www.rfc-editor.org/rfc/rfc9110.html#name-range (https://www.rfc-editor.org/rfc/rfc9110.html#name-range)
|
||||
// . Amazon S3 doesn't support retrieving multiple ranges of data per GET request.
|
||||
Range *string
|
||||
|
||||
// Confirms that the requester knows that they will be charged for the request.
|
||||
// Bucket owners need not specify this parameter in their requests. For information
|
||||
// about downloading objects from Requester Pays buckets, see Downloading Objects
|
||||
// in Requester Pays Buckets
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
|
||||
// in Requester Pays Buckets (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
RequestPayer types.RequestPayer
|
||||
|
||||
|
@ -252,11 +213,11 @@ type GetObjectInput struct {
|
|||
// AES256).
|
||||
SSECustomerAlgorithm *string
|
||||
|
||||
// Specifies the customer-provided encryption key for Amazon S3 used to encrypt the
|
||||
// data. This value is used to decrypt the object when recovering it and must match
|
||||
// the one used when storing the data. The key must be appropriate for use with the
|
||||
// algorithm specified in the x-amz-server-side-encryption-customer-algorithm
|
||||
// header.
|
||||
// Specifies the customer-provided encryption key for Amazon S3 used to encrypt
|
||||
// the data. This value is used to decrypt the object when recovering it and must
|
||||
// match the one used when storing the data. The key must be appropriate for use
|
||||
// with the algorithm specified in the
|
||||
// x-amz-server-side-encryption-customer-algorithm header.
|
||||
SSECustomerKey *string
|
||||
|
||||
// Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321.
|
||||
|
@ -288,32 +249,28 @@ type GetObjectOutput struct {
|
|||
// The base64-encoded, 32-bit CRC32 checksum of the object. This will only be
|
||||
// present if it was uploaded with the object. With multipart uploads, this may not
|
||||
// be a checksum value of the object. For more information about how checksums are
|
||||
// calculated with multipart uploads, see Checking object integrity
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
|
||||
// calculated with multipart uploads, see Checking object integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
|
||||
// in the Amazon S3 User Guide.
|
||||
ChecksumCRC32 *string
|
||||
|
||||
// The base64-encoded, 32-bit CRC32C checksum of the object. This will only be
|
||||
// present if it was uploaded with the object. With multipart uploads, this may not
|
||||
// be a checksum value of the object. For more information about how checksums are
|
||||
// calculated with multipart uploads, see Checking object integrity
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
|
||||
// calculated with multipart uploads, see Checking object integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
|
||||
// in the Amazon S3 User Guide.
|
||||
ChecksumCRC32C *string
|
||||
|
||||
// The base64-encoded, 160-bit SHA-1 digest of the object. This will only be
|
||||
// present if it was uploaded with the object. With multipart uploads, this may not
|
||||
// be a checksum value of the object. For more information about how checksums are
|
||||
// calculated with multipart uploads, see Checking object integrity
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
|
||||
// calculated with multipart uploads, see Checking object integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
|
||||
// in the Amazon S3 User Guide.
|
||||
ChecksumSHA1 *string
|
||||
|
||||
// The base64-encoded, 256-bit SHA-256 digest of the object. This will only be
|
||||
// present if it was uploaded with the object. With multipart uploads, this may not
|
||||
// be a checksum value of the object. For more information about how checksums are
|
||||
// calculated with multipart uploads, see Checking object integrity
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
|
||||
// calculated with multipart uploads, see Checking object integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
|
||||
// in the Amazon S3 User Guide.
|
||||
ChecksumSHA256 *string
|
||||
|
||||
|
@ -394,13 +351,14 @@ type GetObjectOutput struct {
|
|||
// restored object copy.
|
||||
Restore *string
|
||||
|
||||
// If server-side encryption with a customer-provided encryption key was requested,
|
||||
// the response will include this header confirming the encryption algorithm used.
|
||||
// If server-side encryption with a customer-provided encryption key was
|
||||
// requested, the response will include this header confirming the encryption
|
||||
// algorithm used.
|
||||
SSECustomerAlgorithm *string
|
||||
|
||||
// If server-side encryption with a customer-provided encryption key was requested,
|
||||
// the response will include this header to provide round-trip message integrity
|
||||
// verification of the customer-provided encryption key.
|
||||
// If server-side encryption with a customer-provided encryption key was
|
||||
// requested, the response will include this header to provide round-trip message
|
||||
// integrity verification of the customer-provided encryption key.
|
||||
SSECustomerKeyMD5 *string
|
||||
|
||||
// If present, specifies the ID of the Amazon Web Services Key Management Service
|
||||
|
@ -409,7 +367,7 @@ type GetObjectOutput struct {
|
|||
SSEKMSKeyId *string
|
||||
|
||||
// The server-side encryption algorithm used when storing this object in Amazon S3
|
||||
// (for example, AES256, aws:kms).
|
||||
// (for example, AES256, aws:kms ).
|
||||
ServerSideEncryption types.ServerSideEncryption
|
||||
|
||||
// Provides storage class information of the object. Amazon S3 returns this header
|
||||
|
@ -487,6 +445,9 @@ func (c *Client) addOperationGetObjectMiddlewares(stack *middleware.Stack, optio
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addGetObjectOutputChecksumMiddlewares(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
49
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectAcl.go
generated
vendored
49
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectAcl.go
generated
vendored
|
@ -13,34 +13,22 @@ import (
|
|||
)
|
||||
|
||||
// Returns the access control list (ACL) of an object. To use this operation, you
|
||||
// must have s3:GetObjectAcl permissions or READ_ACP access to the object. For more
|
||||
// information, see Mapping of ACL permissions and access policy permissions
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#acl-access-policy-permission-mapping)
|
||||
// must have s3:GetObjectAcl permissions or READ_ACP access to the object. For
|
||||
// more information, see Mapping of ACL permissions and access policy permissions (https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#acl-access-policy-permission-mapping)
|
||||
// in the Amazon S3 User Guide This action is not supported by Amazon S3 on
|
||||
// Outposts. Versioning By default, GET returns ACL information about the current
|
||||
// version of an object. To return ACL information about a different version, use
|
||||
// the versionId subresource. If your bucket uses the bucket owner enforced setting
|
||||
// for S3 Object Ownership, requests to read ACLs are still supported and return
|
||||
// the bucket-owner-full-control ACL with the owner being the account that created
|
||||
// the bucket. For more information, see Controlling object ownership and
|
||||
// disabling ACLs
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html)
|
||||
// Outposts. By default, GET returns ACL information about the current version of
|
||||
// an object. To return ACL information about a different version, use the
|
||||
// versionId subresource. If your bucket uses the bucket owner enforced setting for
|
||||
// S3 Object Ownership, requests to read ACLs are still supported and return the
|
||||
// bucket-owner-full-control ACL with the owner being the account that created the
|
||||
// bucket. For more information, see Controlling object ownership and disabling
|
||||
// ACLs (https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html)
|
||||
// in the Amazon S3 User Guide. The following operations are related to
|
||||
// GetObjectAcl:
|
||||
//
|
||||
// * GetObject
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html)
|
||||
//
|
||||
// *
|
||||
// GetObjectAttributes
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html)
|
||||
//
|
||||
// *
|
||||
// DeleteObject
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html)
|
||||
//
|
||||
// *
|
||||
// PutObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html)
|
||||
// GetObjectAcl :
|
||||
// - GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html)
|
||||
// - GetObjectAttributes (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html)
|
||||
// - DeleteObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html)
|
||||
// - PutObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html)
|
||||
func (c *Client) GetObjectAcl(ctx context.Context, params *GetObjectAclInput, optFns ...func(*Options)) (*GetObjectAclOutput, error) {
|
||||
if params == nil {
|
||||
params = &GetObjectAclInput{}
|
||||
|
@ -64,8 +52,7 @@ type GetObjectAclInput struct {
|
|||
// AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this
|
||||
// action with an access point through the Amazon Web Services SDKs, you provide
|
||||
// the access point ARN in place of the bucket name. For more information about
|
||||
// access point ARNs, see Using access points
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// access point ARNs, see Using access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
//
|
||||
// This member is required.
|
||||
|
@ -84,8 +71,7 @@ type GetObjectAclInput struct {
|
|||
// Confirms that the requester knows that they will be charged for the request.
|
||||
// Bucket owners need not specify this parameter in their requests. For information
|
||||
// about downloading objects from Requester Pays buckets, see Downloading Objects
|
||||
// in Requester Pays Buckets
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
|
||||
// in Requester Pays Buckets (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
RequestPayer types.RequestPayer
|
||||
|
||||
|
@ -170,6 +156,9 @@ func (c *Client) addOperationGetObjectAclMiddlewares(stack *middleware.Stack, op
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addGetObjectAclUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
173
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectAttributes.go
generated
vendored
173
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectAttributes.go
generated
vendored
|
@ -15,111 +15,64 @@ import (
|
|||
|
||||
// Retrieves all the metadata from an object without returning the object itself.
|
||||
// This action is useful if you're interested only in an object's metadata. To use
|
||||
// GetObjectAttributes, you must have READ access to the object.
|
||||
// GetObjectAttributes combines the functionality of HeadObject and ListParts. All
|
||||
// GetObjectAttributes , you must have READ access to the object.
|
||||
// GetObjectAttributes combines the functionality of HeadObject and ListParts . All
|
||||
// of the data returned with each of those individual calls can be returned with a
|
||||
// single call to GetObjectAttributes. If you encrypt an object by using
|
||||
// single call to GetObjectAttributes . If you encrypt an object by using
|
||||
// server-side encryption with customer-provided encryption keys (SSE-C) when you
|
||||
// store the object in Amazon S3, then when you retrieve the metadata from the
|
||||
// object, you must use the following headers:
|
||||
// - x-amz-server-side-encryption-customer-algorithm
|
||||
// - x-amz-server-side-encryption-customer-key
|
||||
// - x-amz-server-side-encryption-customer-key-MD5
|
||||
//
|
||||
// *
|
||||
// x-amz-server-side-encryption-customer-algorithm
|
||||
//
|
||||
// *
|
||||
// x-amz-server-side-encryption-customer-key
|
||||
//
|
||||
// *
|
||||
// x-amz-server-side-encryption-customer-key-MD5
|
||||
//
|
||||
// For more information about SSE-C,
|
||||
// see Server-Side Encryption (Using Customer-Provided Encryption Keys)
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html)
|
||||
// For more information about SSE-C, see Server-Side Encryption (Using
|
||||
// Customer-Provided Encryption Keys) (https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
// - Encryption request headers, such as x-amz-server-side-encryption , should
|
||||
// not be sent for GET requests if your object uses server-side encryption with
|
||||
// Amazon Web Services KMS keys stored in Amazon Web Services Key Management
|
||||
// Service (SSE-KMS) or server-side encryption with Amazon S3 managed keys
|
||||
// (SSE-S3). If your object does use these types of keys, you'll get an HTTP 400
|
||||
// Bad Request error.
|
||||
// - The last modified property in this case is the creation date of the object.
|
||||
//
|
||||
// * Encryption request headers, such as
|
||||
// x-amz-server-side-encryption, should not be sent for GET requests if your object
|
||||
// uses server-side encryption with Amazon Web Services KMS keys stored in Amazon
|
||||
// Web Services Key Management Service (SSE-KMS) or server-side encryption with
|
||||
// Amazon S3 managed keys (SSE-S3). If your object does use these types of keys,
|
||||
// you'll get an HTTP 400 Bad Request error.
|
||||
// Consider the following when using request headers:
|
||||
// - If both of the If-Match and If-Unmodified-Since headers are present in the
|
||||
// request as follows, then Amazon S3 returns the HTTP status code 200 OK and the
|
||||
// data requested:
|
||||
// - If-Match condition evaluates to true .
|
||||
// - If-Unmodified-Since condition evaluates to false .
|
||||
// - If both of the If-None-Match and If-Modified-Since headers are present in
|
||||
// the request as follows, then Amazon S3 returns the HTTP status code 304 Not
|
||||
// Modified :
|
||||
// - If-None-Match condition evaluates to false .
|
||||
// - If-Modified-Since condition evaluates to true .
|
||||
//
|
||||
// * The last modified property in this
|
||||
// case is the creation date of the object.
|
||||
//
|
||||
// Consider the following when using
|
||||
// request headers:
|
||||
//
|
||||
// * If both of the If-Match and If-Unmodified-Since headers are
|
||||
// present in the request as follows, then Amazon S3 returns the HTTP status code
|
||||
// 200 OK and the data requested:
|
||||
//
|
||||
// * If-Match condition evaluates to true.
|
||||
//
|
||||
// *
|
||||
// If-Unmodified-Since condition evaluates to false.
|
||||
//
|
||||
// * If both of the
|
||||
// If-None-Match and If-Modified-Since headers are present in the request as
|
||||
// follows, then Amazon S3 returns the HTTP status code 304 Not Modified:
|
||||
//
|
||||
// *
|
||||
// If-None-Match condition evaluates to false.
|
||||
//
|
||||
// * If-Modified-Since condition
|
||||
// evaluates to true.
|
||||
//
|
||||
// For more information about conditional requests, see RFC
|
||||
// 7232 (https://tools.ietf.org/html/rfc7232). Permissions The permissions that you
|
||||
// need to use this operation depend on whether the bucket is versioned. If the
|
||||
// bucket is versioned, you need both the s3:GetObjectVersion and
|
||||
// s3:GetObjectVersionAttributes permissions for this operation. If the bucket is
|
||||
// not versioned, you need the s3:GetObject and s3:GetObjectAttributes permissions.
|
||||
// For more information, see Specifying Permissions in a Policy
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html) in
|
||||
// the Amazon S3 User Guide. If the object that you request does not exist, the
|
||||
// For more information about conditional requests, see RFC 7232 (https://tools.ietf.org/html/rfc7232)
|
||||
// . Permissions The permissions that you need to use this operation depend on
|
||||
// whether the bucket is versioned. If the bucket is versioned, you need both the
|
||||
// s3:GetObjectVersion and s3:GetObjectVersionAttributes permissions for this
|
||||
// operation. If the bucket is not versioned, you need the s3:GetObject and
|
||||
// s3:GetObjectAttributes permissions. For more information, see Specifying
|
||||
// Permissions in a Policy (https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html)
|
||||
// in the Amazon S3 User Guide. If the object that you request does not exist, the
|
||||
// error Amazon S3 returns depends on whether you also have the s3:ListBucket
|
||||
// permission.
|
||||
// - If you have the s3:ListBucket permission on the bucket, Amazon S3 returns an
|
||||
// HTTP status code 404 Not Found ("no such key") error.
|
||||
// - If you don't have the s3:ListBucket permission, Amazon S3 returns an HTTP
|
||||
// status code 403 Forbidden ("access denied") error.
|
||||
//
|
||||
// * If you have the s3:ListBucket permission on the bucket, Amazon S3
|
||||
// returns an HTTP status code 404 Not Found ("no such key") error.
|
||||
//
|
||||
// * If you don't
|
||||
// have the s3:ListBucket permission, Amazon S3 returns an HTTP status code 403
|
||||
// Forbidden ("access denied") error.
|
||||
//
|
||||
// The following actions are related to
|
||||
// GetObjectAttributes:
|
||||
//
|
||||
// * GetObject
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html)
|
||||
//
|
||||
// *
|
||||
// GetObjectAcl
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAcl.html)
|
||||
//
|
||||
// *
|
||||
// GetObjectLegalHold
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectLegalHold.html)
|
||||
//
|
||||
// *
|
||||
// GetObjectLockConfiguration
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectLockConfiguration.html)
|
||||
//
|
||||
// *
|
||||
// GetObjectRetention
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectRetention.html)
|
||||
//
|
||||
// *
|
||||
// GetObjectTagging
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTagging.html)
|
||||
//
|
||||
// *
|
||||
// HeadObject
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadObject.html)
|
||||
//
|
||||
// *
|
||||
// ListParts (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html)
|
||||
// The following actions are related to GetObjectAttributes :
|
||||
// - GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html)
|
||||
// - GetObjectAcl (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAcl.html)
|
||||
// - GetObjectLegalHold (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectLegalHold.html)
|
||||
// - GetObjectLockConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectLockConfiguration.html)
|
||||
// - GetObjectRetention (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectRetention.html)
|
||||
// - GetObjectTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTagging.html)
|
||||
// - HeadObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadObject.html)
|
||||
// - ListParts (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html)
|
||||
func (c *Client) GetObjectAttributes(ctx context.Context, params *GetObjectAttributesInput, optFns ...func(*Options)) (*GetObjectAttributesOutput, error) {
|
||||
if params == nil {
|
||||
params = &GetObjectAttributesInput{}
|
||||
|
@ -143,17 +96,15 @@ type GetObjectAttributesInput struct {
|
|||
// AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this
|
||||
// action with an access point through the Amazon Web Services SDKs, you provide
|
||||
// the access point ARN in place of the bucket name. For more information about
|
||||
// access point ARNs, see Using access points
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// access point ARNs, see Using access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// in the Amazon S3 User Guide. When you use this action with Amazon S3 on
|
||||
// Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on
|
||||
// Outposts hostname takes the form
|
||||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you
|
||||
// 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) in the
|
||||
// Amazon S3 User Guide.
|
||||
// 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
|
||||
|
@ -163,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.
|
||||
// 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.
|
||||
//
|
||||
// This member is required.
|
||||
ObjectAttributes []types.ObjectAttributes
|
||||
|
@ -177,15 +128,14 @@ type GetObjectAttributesInput struct {
|
|||
// Sets the maximum number of parts to return.
|
||||
MaxParts int32
|
||||
|
||||
// Specifies the part after which listing should begin. Only parts with higher part
|
||||
// numbers will be listed.
|
||||
// Specifies the part after which listing should begin. Only parts with higher
|
||||
// part numbers will be listed.
|
||||
PartNumberMarker *string
|
||||
|
||||
// Confirms that the requester knows that they will be charged for the request.
|
||||
// Bucket owners need not specify this parameter in their requests. For information
|
||||
// about downloading objects from Requester Pays buckets, see Downloading Objects
|
||||
// in Requester Pays Buckets
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
|
||||
// in Requester Pays Buckets (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
RequestPayer types.RequestPayer
|
||||
|
||||
|
@ -215,8 +165,8 @@ type GetObjectAttributesOutput struct {
|
|||
// The checksum or digest of the object.
|
||||
Checksum *types.Checksum
|
||||
|
||||
// Specifies whether the object retrieved was (true) or was not (false) a delete
|
||||
// marker. If false, this response header does not appear in the response.
|
||||
// Specifies whether the object retrieved was ( true ) or was not ( false ) a
|
||||
// delete marker. If false , this response header does not appear in the response.
|
||||
DeleteMarker bool
|
||||
|
||||
// An ETag is an opaque identifier assigned by a web server to a specific version
|
||||
|
@ -238,8 +188,8 @@ type GetObjectAttributesOutput struct {
|
|||
|
||||
// Provides the storage class information of the object. Amazon S3 returns this
|
||||
// header for all objects except for S3 Standard storage class objects. For more
|
||||
// information, see Storage Classes
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html).
|
||||
// information, see Storage Classes (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html)
|
||||
// .
|
||||
StorageClass types.StorageClass
|
||||
|
||||
// The version ID of the object.
|
||||
|
@ -308,6 +258,9 @@ func (c *Client) addOperationGetObjectAttributesMiddlewares(stack *middleware.St
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addGetObjectAttributesUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
19
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectLegalHold.go
generated
vendored
19
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectLegalHold.go
generated
vendored
|
@ -13,12 +13,10 @@ import (
|
|||
)
|
||||
|
||||
// Gets an object's current legal hold status. For more information, see Locking
|
||||
// Objects (https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html). This
|
||||
// action is not supported by Amazon S3 on Outposts. The following action is
|
||||
// related to GetObjectLegalHold:
|
||||
//
|
||||
// * GetObjectAttributes
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html)
|
||||
// Objects (https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html) .
|
||||
// This action is not supported by Amazon S3 on Outposts. The following action is
|
||||
// related to GetObjectLegalHold :
|
||||
// - GetObjectAttributes (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html)
|
||||
func (c *Client) GetObjectLegalHold(ctx context.Context, params *GetObjectLegalHoldInput, optFns ...func(*Options)) (*GetObjectLegalHoldOutput, error) {
|
||||
if params == nil {
|
||||
params = &GetObjectLegalHoldInput{}
|
||||
|
@ -42,8 +40,7 @@ type GetObjectLegalHoldInput struct {
|
|||
// AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this
|
||||
// action with an access point through the Amazon Web Services SDKs, you provide
|
||||
// the access point ARN in place of the bucket name. For more information about
|
||||
// access point ARNs, see Using access points
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// access point ARNs, see Using access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
//
|
||||
// This member is required.
|
||||
|
@ -62,8 +59,7 @@ type GetObjectLegalHoldInput struct {
|
|||
// Confirms that the requester knows that they will be charged for the request.
|
||||
// Bucket owners need not specify this parameter in their requests. For information
|
||||
// about downloading objects from Requester Pays buckets, see Downloading Objects
|
||||
// in Requester Pays Buckets
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
|
||||
// in Requester Pays Buckets (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
RequestPayer types.RequestPayer
|
||||
|
||||
|
@ -141,6 +137,9 @@ func (c *Client) addOperationGetObjectLegalHoldMiddlewares(stack *middleware.Sta
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addGetObjectLegalHoldUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
26
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectLockConfiguration.go
generated
vendored
26
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectLockConfiguration.go
generated
vendored
|
@ -14,13 +14,9 @@ import (
|
|||
|
||||
// Gets the Object Lock configuration for a bucket. The rule specified in the
|
||||
// Object Lock configuration will be applied by default to every new object placed
|
||||
// in the specified bucket. For more information, see Locking Objects
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html). The
|
||||
// following action is related to GetObjectLockConfiguration:
|
||||
//
|
||||
// *
|
||||
// GetObjectAttributes
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html)
|
||||
// in the specified bucket. For more information, see Locking Objects (https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html)
|
||||
// . The following action is related to GetObjectLockConfiguration :
|
||||
// - GetObjectAttributes (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html)
|
||||
func (c *Client) GetObjectLockConfiguration(ctx context.Context, params *GetObjectLockConfigurationInput, optFns ...func(*Options)) (*GetObjectLockConfigurationOutput, error) {
|
||||
if params == nil {
|
||||
params = &GetObjectLockConfigurationInput{}
|
||||
|
@ -38,14 +34,13 @@ func (c *Client) GetObjectLockConfiguration(ctx context.Context, params *GetObje
|
|||
|
||||
type GetObjectLockConfigurationInput struct {
|
||||
|
||||
// The bucket whose Object Lock configuration you want to retrieve. When using this
|
||||
// action with an access point, you must direct requests to the access point
|
||||
// The bucket whose Object Lock configuration you want to retrieve. When using
|
||||
// this action with an access point, you must direct requests to the access point
|
||||
// hostname. The access point hostname takes the form
|
||||
// AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this
|
||||
// action with an access point through the Amazon Web Services SDKs, you provide
|
||||
// the access point ARN in place of the bucket name. For more information about
|
||||
// access point ARNs, see Using access points
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// access point ARNs, see Using access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
//
|
||||
// This member is required.
|
||||
|
@ -127,6 +122,9 @@ func (c *Client) addOperationGetObjectLockConfigurationMiddlewares(stack *middle
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addGetObjectLockConfigurationUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
@ -154,9 +152,9 @@ func newServiceMetadataMiddleware_opGetObjectLockConfiguration(region string) *a
|
|||
}
|
||||
}
|
||||
|
||||
// getGetObjectLockConfigurationBucketMember returns a pointer to string denoting a
|
||||
// provided bucket member valueand a boolean indicating if the input has a modeled
|
||||
// bucket name,
|
||||
// getGetObjectLockConfigurationBucketMember returns a pointer to string denoting
|
||||
// a provided bucket member valueand a boolean indicating if the input has a
|
||||
// modeled bucket name,
|
||||
func getGetObjectLockConfigurationBucketMember(input interface{}) (*string, bool) {
|
||||
in := input.(*GetObjectLockConfigurationInput)
|
||||
if in.Bucket == nil {
|
||||
|
|
19
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectRetention.go
generated
vendored
19
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectRetention.go
generated
vendored
|
@ -13,12 +13,10 @@ import (
|
|||
)
|
||||
|
||||
// Retrieves an object's retention settings. For more information, see Locking
|
||||
// Objects (https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html). This
|
||||
// action is not supported by Amazon S3 on Outposts. The following action is
|
||||
// related to GetObjectRetention:
|
||||
//
|
||||
// * GetObjectAttributes
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html)
|
||||
// Objects (https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html) .
|
||||
// This action is not supported by Amazon S3 on Outposts. The following action is
|
||||
// related to GetObjectRetention :
|
||||
// - GetObjectAttributes (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html)
|
||||
func (c *Client) GetObjectRetention(ctx context.Context, params *GetObjectRetentionInput, optFns ...func(*Options)) (*GetObjectRetentionOutput, error) {
|
||||
if params == nil {
|
||||
params = &GetObjectRetentionInput{}
|
||||
|
@ -42,8 +40,7 @@ type GetObjectRetentionInput struct {
|
|||
// AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this
|
||||
// action with an access point through the Amazon Web Services SDKs, you provide
|
||||
// the access point ARN in place of the bucket name. For more information about
|
||||
// access point ARNs, see Using access points
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// access point ARNs, see Using access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
//
|
||||
// This member is required.
|
||||
|
@ -62,8 +59,7 @@ type GetObjectRetentionInput struct {
|
|||
// Confirms that the requester knows that they will be charged for the request.
|
||||
// Bucket owners need not specify this parameter in their requests. For information
|
||||
// about downloading objects from Requester Pays buckets, see Downloading Objects
|
||||
// in Requester Pays Buckets
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
|
||||
// in Requester Pays Buckets (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
RequestPayer types.RequestPayer
|
||||
|
||||
|
@ -141,6 +137,9 @@ func (c *Client) addOperationGetObjectRetentionMiddlewares(stack *middleware.Sta
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addGetObjectRetentionUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
47
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectTagging.go
generated
vendored
47
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectTagging.go
generated
vendored
|
@ -14,26 +14,17 @@ import (
|
|||
|
||||
// Returns the tag-set of an object. You send the GET request against the tagging
|
||||
// subresource associated with the object. To use this operation, you must have
|
||||
// permission to perform the s3:GetObjectTagging action. By default, the GET action
|
||||
// returns information about current version of an object. For a versioned bucket,
|
||||
// you can have multiple versions of an object in your bucket. To retrieve tags of
|
||||
// any other version, use the versionId query parameter. You also need permission
|
||||
// for the s3:GetObjectVersionTagging action. By default, the bucket owner has this
|
||||
// permission and can grant this permission to others. For information about the
|
||||
// Amazon S3 object tagging feature, see Object Tagging
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/object-tagging.html). The
|
||||
// following actions are related to GetObjectTagging:
|
||||
//
|
||||
// * DeleteObjectTagging
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObjectTagging.html)
|
||||
//
|
||||
// *
|
||||
// GetObjectAttributes
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html)
|
||||
//
|
||||
// *
|
||||
// PutObjectTagging
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectTagging.html)
|
||||
// permission to perform the s3:GetObjectTagging action. By default, the GET
|
||||
// action returns information about current version of an object. For a versioned
|
||||
// bucket, you can have multiple versions of an object in your bucket. To retrieve
|
||||
// tags of any other version, use the versionId query parameter. You also need
|
||||
// permission for the s3:GetObjectVersionTagging action. By default, the bucket
|
||||
// owner has this permission and can grant this permission to others. For
|
||||
// information about the Amazon S3 object tagging feature, see Object Tagging (https://docs.aws.amazon.com/AmazonS3/latest/dev/object-tagging.html)
|
||||
// . The following actions are related to GetObjectTagging :
|
||||
// - DeleteObjectTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObjectTagging.html)
|
||||
// - GetObjectAttributes (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html)
|
||||
// - PutObjectTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectTagging.html)
|
||||
func (c *Client) GetObjectTagging(ctx context.Context, params *GetObjectTaggingInput, optFns ...func(*Options)) (*GetObjectTaggingOutput, error) {
|
||||
if params == nil {
|
||||
params = &GetObjectTaggingInput{}
|
||||
|
@ -57,17 +48,15 @@ type GetObjectTaggingInput struct {
|
|||
// AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this
|
||||
// action with an access point through the Amazon Web Services SDKs, you provide
|
||||
// the access point ARN in place of the bucket name. For more information about
|
||||
// access point ARNs, see Using access points
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// access point ARNs, see Using access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// in the Amazon S3 User Guide. When you use this action with Amazon S3 on
|
||||
// Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on
|
||||
// Outposts hostname takes the form
|
||||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you
|
||||
// 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) in the
|
||||
// Amazon S3 User Guide.
|
||||
// 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
|
||||
|
@ -85,8 +74,7 @@ type GetObjectTaggingInput struct {
|
|||
// Confirms that the requester knows that they will be charged for the request.
|
||||
// Bucket owners need not specify this parameter in their requests. For information
|
||||
// about downloading objects from Requester Pays buckets, see Downloading Objects
|
||||
// in Requester Pays Buckets
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
|
||||
// in Requester Pays Buckets (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
RequestPayer types.RequestPayer
|
||||
|
||||
|
@ -169,6 +157,9 @@ func (c *Client) addOperationGetObjectTaggingMiddlewares(stack *middleware.Stack
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addGetObjectTaggingUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
12
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectTorrent.go
generated
vendored
12
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectTorrent.go
generated
vendored
|
@ -18,10 +18,8 @@ import (
|
|||
// less than 5 GB in size, and that are not encrypted using server-side encryption
|
||||
// with a customer-provided encryption key. To use GET, you must have READ access
|
||||
// to the object. This action is not supported by Amazon S3 on Outposts. The
|
||||
// following action is related to GetObjectTorrent:
|
||||
//
|
||||
// * GetObject
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html)
|
||||
// following action is related to GetObjectTorrent :
|
||||
// - GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html)
|
||||
func (c *Client) GetObjectTorrent(ctx context.Context, params *GetObjectTorrentInput, optFns ...func(*Options)) (*GetObjectTorrentOutput, error) {
|
||||
if params == nil {
|
||||
params = &GetObjectTorrentInput{}
|
||||
|
@ -57,8 +55,7 @@ type GetObjectTorrentInput struct {
|
|||
// Confirms that the requester knows that they will be charged for the request.
|
||||
// Bucket owners need not specify this parameter in their requests. For information
|
||||
// about downloading objects from Requester Pays buckets, see Downloading Objects
|
||||
// in Requester Pays Buckets
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
|
||||
// in Requester Pays Buckets (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
RequestPayer types.RequestPayer
|
||||
|
||||
|
@ -134,6 +131,9 @@ func (c *Client) addOperationGetObjectTorrentMiddlewares(stack *middleware.Stack
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addGetObjectTorrentUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
37
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetPublicAccessBlock.go
generated
vendored
37
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetPublicAccessBlock.go
generated
vendored
|
@ -15,33 +15,19 @@ import (
|
|||
// Retrieves the PublicAccessBlock configuration for an Amazon S3 bucket. To use
|
||||
// this operation, you must have the s3:GetBucketPublicAccessBlock permission. For
|
||||
// more information about Amazon S3 permissions, see Specifying Permissions in a
|
||||
// Policy
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html).
|
||||
// When Amazon S3 evaluates the PublicAccessBlock configuration for a bucket or an
|
||||
// object, it checks the PublicAccessBlock configuration for both the bucket (or
|
||||
// the bucket that contains the object) and the bucket owner's account. If the
|
||||
// Policy (https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html)
|
||||
// . When Amazon S3 evaluates the PublicAccessBlock configuration for a bucket or
|
||||
// an object, it checks the PublicAccessBlock configuration for both the bucket
|
||||
// (or the bucket that contains the object) and the bucket owner's account. If the
|
||||
// PublicAccessBlock settings are different between the bucket and the account,
|
||||
// Amazon S3 uses the most restrictive combination of the bucket-level and
|
||||
// account-level settings. For more information about when Amazon S3 considers a
|
||||
// bucket or an object public, see The Meaning of "Public"
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status).
|
||||
// The following operations are related to GetPublicAccessBlock:
|
||||
//
|
||||
// * Using Amazon S3
|
||||
// Block Public Access
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html)
|
||||
//
|
||||
// *
|
||||
// PutPublicAccessBlock
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutPublicAccessBlock.html)
|
||||
//
|
||||
// *
|
||||
// GetPublicAccessBlock
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetPublicAccessBlock.html)
|
||||
//
|
||||
// *
|
||||
// DeletePublicAccessBlock
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeletePublicAccessBlock.html)
|
||||
// bucket or an object public, see The Meaning of "Public" (https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status)
|
||||
// . The following operations are related to GetPublicAccessBlock :
|
||||
// - Using Amazon S3 Block Public Access (https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html)
|
||||
// - PutPublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutPublicAccessBlock.html)
|
||||
// - GetPublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetPublicAccessBlock.html)
|
||||
// - DeletePublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeletePublicAccessBlock.html)
|
||||
func (c *Client) GetPublicAccessBlock(ctx context.Context, params *GetPublicAccessBlockInput, optFns ...func(*Options)) (*GetPublicAccessBlockOutput, error) {
|
||||
if params == nil {
|
||||
params = &GetPublicAccessBlockInput{}
|
||||
|
@ -142,6 +128,9 @@ func (c *Client) addOperationGetPublicAccessBlockMiddlewares(stack *middleware.S
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addGetPublicAccessBlockUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
81
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_HeadBucket.go
generated
vendored
81
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_HeadBucket.go
generated
vendored
|
@ -17,27 +17,30 @@ import (
|
|||
"time"
|
||||
)
|
||||
|
||||
// This action is useful to determine if a bucket exists and you have permission to
|
||||
// access it. The action returns a 200 OK if the bucket exists and you have
|
||||
// This action is useful to determine if a bucket exists and you have permission
|
||||
// to access it. The action returns a 200 OK if the bucket exists and you have
|
||||
// permission to access it. If the bucket does not exist or you do not have
|
||||
// permission to access it, the HEAD request returns a generic 400 Bad Request, 403
|
||||
// Forbidden or 404 Not Found code. A message body is not included, so you cannot
|
||||
// determine the exception beyond these error codes. To use this operation, 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
|
||||
// permission to access it, the HEAD request returns a generic 400 Bad Request ,
|
||||
// 403 Forbidden or 404 Not Found code. A message body is not included, so you
|
||||
// cannot determine the exception beyond these error codes. To use this operation,
|
||||
// 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)
|
||||
// and Managing Access Permissions to Your Amazon S3 Resources
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html).
|
||||
// To use this API against an access point, you must provide the alias of the
|
||||
// access point in place of the bucket name or specify the access point ARN. When
|
||||
// using the access point ARN, you must direct requests to the access point
|
||||
// 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)
|
||||
// . To use this API operation against an access point, you must provide the alias
|
||||
// of the access point in place of the bucket name or specify the access point ARN.
|
||||
// When using the access point ARN, you must direct requests to the access point
|
||||
// hostname. The access point hostname takes the form
|
||||
// AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using the
|
||||
// Amazon Web Services SDKs, you provide the ARN in place of the bucket name. For
|
||||
// more information see, Using access points
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html).
|
||||
// more information, see Using access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// . To use this API operation against an Object Lambda access point, provide the
|
||||
// alias of the Object Lambda access point in place of the bucket name. If the
|
||||
// Object Lambda access point alias in a request is not valid, the error code
|
||||
// InvalidAccessPointAliasError is returned. For more information about
|
||||
// InvalidAccessPointAliasError , see List of Error Codes (https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList)
|
||||
// .
|
||||
func (c *Client) HeadBucket(ctx context.Context, params *HeadBucketInput, optFns ...func(*Options)) (*HeadBucketOutput, error) {
|
||||
if params == nil {
|
||||
params = &HeadBucketInput{}
|
||||
|
@ -60,17 +63,19 @@ type HeadBucketInput struct {
|
|||
// AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this
|
||||
// action with an access point through the Amazon Web Services SDKs, you provide
|
||||
// the access point ARN in place of the bucket name. For more information about
|
||||
// access point ARNs, see Using access points
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// in the Amazon S3 User Guide. When you use this action with Amazon S3 on
|
||||
// Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on
|
||||
// Outposts hostname takes the form
|
||||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you
|
||||
// access point ARNs, see Using access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// in the Amazon S3 User Guide. When you use this action with an Object Lambda
|
||||
// access point, provide the alias of the Object Lambda access point in place of
|
||||
// the bucket name. If the Object Lambda access point alias in a request is not
|
||||
// valid, the error code InvalidAccessPointAliasError is returned. For more
|
||||
// information about InvalidAccessPointAliasError , see List of Error Codes (https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList)
|
||||
// . When you use this action with Amazon S3 on Outposts, you must direct requests
|
||||
// to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
|
||||
// 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) in the
|
||||
// Amazon S3 User Guide.
|
||||
// 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
|
||||
|
@ -147,6 +152,9 @@ func (c *Client) addOperationHeadBucketMiddlewares(stack *middleware.Stack, opti
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addHeadBucketUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
@ -185,9 +193,9 @@ type BucketExistsWaiterOptions struct {
|
|||
// MinDelay must resolve to a value lesser than or equal to the MaxDelay.
|
||||
MinDelay time.Duration
|
||||
|
||||
// MaxDelay is the maximum amount of time to delay between retries. If unset or set
|
||||
// to zero, BucketExistsWaiter will use default max delay of 120 seconds. Note that
|
||||
// MaxDelay must resolve to value greater than or equal to the MinDelay.
|
||||
// MaxDelay is the maximum amount of time to delay between retries. If unset or
|
||||
// set to zero, BucketExistsWaiter will use default max delay of 120 seconds. Note
|
||||
// that MaxDelay must resolve to value greater than or equal to the MinDelay.
|
||||
MaxDelay time.Duration
|
||||
|
||||
// LogWaitAttempts is used to enable logging for waiter retry attempts
|
||||
|
@ -338,9 +346,9 @@ type BucketNotExistsWaiterOptions struct {
|
|||
// MinDelay must resolve to a value lesser than or equal to the MaxDelay.
|
||||
MinDelay time.Duration
|
||||
|
||||
// MaxDelay is the maximum amount of time to delay between retries. If unset or set
|
||||
// to zero, BucketNotExistsWaiter will use default max delay of 120 seconds. Note
|
||||
// that MaxDelay must resolve to value greater than or equal to the MinDelay.
|
||||
// MaxDelay is the maximum amount of time to delay between retries. If unset or
|
||||
// set to zero, BucketNotExistsWaiter will use default max delay of 120 seconds.
|
||||
// Note that MaxDelay must resolve to value greater than or equal to the MinDelay.
|
||||
MaxDelay time.Duration
|
||||
|
||||
// LogWaitAttempts is used to enable logging for waiter retry attempts
|
||||
|
@ -380,9 +388,9 @@ func NewBucketNotExistsWaiter(client HeadBucketAPIClient, optFns ...func(*Bucket
|
|||
}
|
||||
}
|
||||
|
||||
// Wait calls the waiter function for BucketNotExists waiter. The maxWaitDur is the
|
||||
// maximum wait duration the waiter will wait. The maxWaitDur is required and must
|
||||
// be greater than zero.
|
||||
// Wait calls the waiter function for BucketNotExists waiter. The maxWaitDur is
|
||||
// the maximum wait duration the waiter will wait. The maxWaitDur is required and
|
||||
// must be greater than zero.
|
||||
func (w *BucketNotExistsWaiter) Wait(ctx context.Context, params *HeadBucketInput, maxWaitDur time.Duration, optFns ...func(*BucketNotExistsWaiterOptions)) error {
|
||||
_, err := w.WaitForOutput(ctx, params, maxWaitDur, optFns...)
|
||||
return err
|
||||
|
@ -484,8 +492,9 @@ func newServiceMetadataMiddleware_opHeadBucket(region string) *awsmiddleware.Reg
|
|||
}
|
||||
}
|
||||
|
||||
// getHeadBucketBucketMember returns a pointer to string denoting a provided bucket
|
||||
// member valueand a boolean indicating if the input has a modeled bucket name,
|
||||
// getHeadBucketBucketMember returns a pointer to string denoting a provided
|
||||
// bucket member valueand a boolean indicating if the input has a modeled bucket
|
||||
// name,
|
||||
func getHeadBucketBucketMember(input interface{}) (*string, bool) {
|
||||
in := input.(*HeadBucketInput)
|
||||
if in.Bucket == nil {
|
||||
|
|
277
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_HeadObject.go
generated
vendored
277
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_HeadObject.go
generated
vendored
|
@ -23,88 +23,54 @@ import (
|
|||
// To use HEAD, you must have READ access to the object. A HEAD request has the
|
||||
// same options as a GET action on an object. The response is identical to the GET
|
||||
// response except that there is no response body. Because of this, if the HEAD
|
||||
// request generates an error, it returns a generic 400 Bad Request, 403 Forbidden
|
||||
// or 404 Not Found code. It is not possible to retrieve the exact exception beyond
|
||||
// these error codes. If you encrypt an object by using server-side encryption with
|
||||
// customer-provided encryption keys (SSE-C) when you store the object in Amazon
|
||||
// S3, then when you retrieve the metadata from the object, you must use the
|
||||
// following headers:
|
||||
// request generates an error, it returns a generic 400 Bad Request , 403 Forbidden
|
||||
// or 404 Not Found code. It is not possible to retrieve the exact exception
|
||||
// beyond these error codes. If you encrypt an object by using server-side
|
||||
// encryption with customer-provided encryption keys (SSE-C) when you store the
|
||||
// object in Amazon S3, then when you retrieve the metadata from the object, you
|
||||
// must use the following headers:
|
||||
// - x-amz-server-side-encryption-customer-algorithm
|
||||
// - x-amz-server-side-encryption-customer-key
|
||||
// - x-amz-server-side-encryption-customer-key-MD5
|
||||
//
|
||||
// * x-amz-server-side-encryption-customer-algorithm
|
||||
// For more information about SSE-C, see Server-Side Encryption (Using
|
||||
// Customer-Provided Encryption Keys) (https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html)
|
||||
// .
|
||||
// - Encryption request headers, like x-amz-server-side-encryption , should not
|
||||
// be sent for GET requests if your object uses server-side encryption with KMS
|
||||
// keys (SSE-KMS) or server-side encryption with Amazon S3–managed encryption keys
|
||||
// (SSE-S3). If your object does use these types of keys, you’ll get an HTTP 400
|
||||
// BadRequest error.
|
||||
// - The last modified property in this case is the creation date of the object.
|
||||
//
|
||||
// *
|
||||
// x-amz-server-side-encryption-customer-key
|
||||
// Request headers are limited to 8 KB in size. For more information, see Common
|
||||
// Request Headers (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTCommonRequestHeaders.html)
|
||||
// . Consider the following when using request headers:
|
||||
// - Consideration 1 – If both of the If-Match and If-Unmodified-Since headers
|
||||
// are present in the request as follows:
|
||||
// - If-Match condition evaluates to true , and;
|
||||
// - If-Unmodified-Since condition evaluates to false ; Then Amazon S3 returns
|
||||
// 200 OK and the data requested.
|
||||
// - Consideration 2 – If both of the If-None-Match and If-Modified-Since headers
|
||||
// are present in the request as follows:
|
||||
// - If-None-Match condition evaluates to false , and;
|
||||
// - If-Modified-Since condition evaluates to true ; Then Amazon S3 returns the
|
||||
// 304 Not Modified response code.
|
||||
//
|
||||
// *
|
||||
// x-amz-server-side-encryption-customer-key-MD5
|
||||
//
|
||||
// For more information about SSE-C,
|
||||
// see Server-Side Encryption (Using Customer-Provided Encryption Keys)
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html).
|
||||
//
|
||||
// *
|
||||
// Encryption request headers, like x-amz-server-side-encryption, should not be
|
||||
// sent for GET requests if your object uses server-side encryption with KMS keys
|
||||
// (SSE-KMS) or server-side encryption with Amazon S3–managed encryption keys
|
||||
// (SSE-S3). If your object does use these types of keys, you’ll get an HTTP 400
|
||||
// BadRequest error.
|
||||
//
|
||||
// * The last modified property in this case is the creation
|
||||
// date of the object.
|
||||
//
|
||||
// Request headers are limited to 8 KB in size. For more
|
||||
// information, see Common Request Headers
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTCommonRequestHeaders.html).
|
||||
// Consider the following when using request headers:
|
||||
//
|
||||
// * Consideration 1 – If both
|
||||
// of the If-Match and If-Unmodified-Since headers are present in the request as
|
||||
// follows:
|
||||
//
|
||||
// * If-Match condition evaluates to true, and;
|
||||
//
|
||||
// * If-Unmodified-Since
|
||||
// condition evaluates to false;
|
||||
//
|
||||
// Then Amazon S3 returns 200 OK and the data
|
||||
// requested.
|
||||
//
|
||||
// * Consideration 2 – If both of the If-None-Match and
|
||||
// If-Modified-Since headers are present in the request as follows:
|
||||
//
|
||||
// *
|
||||
// If-None-Match condition evaluates to false, and;
|
||||
//
|
||||
// * If-Modified-Since condition
|
||||
// evaluates to true;
|
||||
//
|
||||
// Then Amazon S3 returns the 304 Not Modified response
|
||||
// code.
|
||||
//
|
||||
// For more information about conditional requests, see RFC 7232
|
||||
// (https://tools.ietf.org/html/rfc7232). Permissions You need the relevant read
|
||||
// object (or version) permission for this operation. For more information, see
|
||||
// Specifying Permissions in a Policy
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html). If
|
||||
// the object you request does not exist, the error Amazon S3 returns depends on
|
||||
// For more information about conditional requests, see RFC 7232 (https://tools.ietf.org/html/rfc7232)
|
||||
// . Permissions You need the relevant read object (or version) permission for this
|
||||
// operation. For more information, see Actions, resources, and condition keys for
|
||||
// Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/list_amazons3.html) .
|
||||
// If the object you request does not exist, the error Amazon S3 returns depends on
|
||||
// whether you also have the s3:ListBucket permission.
|
||||
// - If you have the s3:ListBucket permission on the bucket, Amazon S3 returns an
|
||||
// HTTP status code 404 ("no such key") error.
|
||||
// - If you don’t have the s3:ListBucket permission, Amazon S3 returns an HTTP
|
||||
// status code 403 ("access denied") error.
|
||||
//
|
||||
// * If you have the
|
||||
// s3:ListBucket permission on the bucket, Amazon S3 returns an HTTP status code
|
||||
// 404 ("no such key") error.
|
||||
//
|
||||
// * If you don’t have the s3:ListBucket permission,
|
||||
// Amazon S3 returns an HTTP status code 403 ("access denied") error.
|
||||
//
|
||||
// The
|
||||
// following actions are related to HeadObject:
|
||||
//
|
||||
// * GetObject
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html)
|
||||
//
|
||||
// *
|
||||
// GetObjectAttributes
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html)
|
||||
// The following actions are related to HeadObject :
|
||||
// - GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html)
|
||||
// - GetObjectAttributes (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html)
|
||||
func (c *Client) HeadObject(ctx context.Context, params *HeadObjectInput, optFns ...func(*Options)) (*HeadObjectOutput, error) {
|
||||
if params == nil {
|
||||
params = &HeadObjectInput{}
|
||||
|
@ -128,17 +94,15 @@ type HeadObjectInput struct {
|
|||
// AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this
|
||||
// action with an access point through the Amazon Web Services SDKs, you provide
|
||||
// the access point ARN in place of the bucket name. For more information about
|
||||
// access point ARNs, see Using access points
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// access point ARNs, see Using access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// in the Amazon S3 User Guide. When you use this action with Amazon S3 on
|
||||
// Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on
|
||||
// Outposts hostname takes the form
|
||||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you
|
||||
// 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) in the
|
||||
// Amazon S3 User Guide.
|
||||
// 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
|
||||
|
@ -181,16 +145,15 @@ type HeadObjectInput struct {
|
|||
// object.
|
||||
PartNumber int32
|
||||
|
||||
// HeadObject returns only the metadata for an object. If the Range is satisfiable,
|
||||
// only the ContentLength is affected in the response. If the Range is not
|
||||
// satisfiable, S3 returns a 416 - Requested Range Not Satisfiable error.
|
||||
// HeadObject returns only the metadata for an object. If the Range is
|
||||
// satisfiable, only the ContentLength is affected in the response. If the Range
|
||||
// is not satisfiable, S3 returns a 416 - Requested Range Not Satisfiable error.
|
||||
Range *string
|
||||
|
||||
// Confirms that the requester knows that they will be charged for the request.
|
||||
// Bucket owners need not specify this parameter in their requests. For information
|
||||
// about downloading objects from Requester Pays buckets, see Downloading Objects
|
||||
// in Requester Pays Buckets
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
|
||||
// in Requester Pays Buckets (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html)
|
||||
// in the Amazon S3 User Guide.
|
||||
RequestPayer types.RequestPayer
|
||||
|
||||
|
@ -234,32 +197,28 @@ type HeadObjectOutput struct {
|
|||
// The base64-encoded, 32-bit CRC32 checksum of the object. This will only be
|
||||
// present if it was uploaded with the object. With multipart uploads, this may not
|
||||
// be a checksum value of the object. For more information about how checksums are
|
||||
// calculated with multipart uploads, see Checking object integrity
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
|
||||
// calculated with multipart uploads, see Checking object integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
|
||||
// in the Amazon S3 User Guide.
|
||||
ChecksumCRC32 *string
|
||||
|
||||
// The base64-encoded, 32-bit CRC32C checksum of the object. This will only be
|
||||
// present if it was uploaded with the object. With multipart uploads, this may not
|
||||
// be a checksum value of the object. For more information about how checksums are
|
||||
// calculated with multipart uploads, see Checking object integrity
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
|
||||
// calculated with multipart uploads, see Checking object integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
|
||||
// in the Amazon S3 User Guide.
|
||||
ChecksumCRC32C *string
|
||||
|
||||
// The base64-encoded, 160-bit SHA-1 digest of the object. This will only be
|
||||
// present if it was uploaded with the object. With multipart uploads, this may not
|
||||
// be a checksum value of the object. For more information about how checksums are
|
||||
// calculated with multipart uploads, see Checking object integrity
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
|
||||
// calculated with multipart uploads, see Checking object integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
|
||||
// in the Amazon S3 User Guide.
|
||||
ChecksumSHA1 *string
|
||||
|
||||
// The base64-encoded, 256-bit SHA-256 digest of the object. This will only be
|
||||
// present if it was uploaded with the object. With multipart uploads, this may not
|
||||
// be a checksum value of the object. For more information about how checksums are
|
||||
// calculated with multipart uploads, see Checking object integrity
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
|
||||
// calculated with multipart uploads, see Checking object integrity (https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums)
|
||||
// in the Amazon S3 User Guide.
|
||||
ChecksumSHA256 *string
|
||||
|
||||
|
@ -311,17 +270,17 @@ type HeadObjectOutput struct {
|
|||
// can create metadata whose values are not legal HTTP headers.
|
||||
MissingMeta int32
|
||||
|
||||
// Specifies whether a legal hold is in effect for this object. This header is only
|
||||
// returned if the requester has the s3:GetObjectLegalHold permission. This header
|
||||
// is not returned if the specified version of this object has never had a legal
|
||||
// hold applied. For more information about S3 Object Lock, see Object Lock
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html).
|
||||
// Specifies whether a legal hold is in effect for this object. This header is
|
||||
// only returned if the requester has the s3:GetObjectLegalHold permission. This
|
||||
// header is not returned if the specified version of this object has never had a
|
||||
// legal hold applied. For more information about S3 Object Lock, see Object Lock (https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html)
|
||||
// .
|
||||
ObjectLockLegalHoldStatus types.ObjectLockLegalHoldStatus
|
||||
|
||||
// The Object Lock mode, if any, that's in effect for this object. This header is
|
||||
// only returned if the requester has the s3:GetObjectRetention permission. For
|
||||
// more information about S3 Object Lock, see Object Lock
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html).
|
||||
// more information about S3 Object Lock, see Object Lock (https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html)
|
||||
// .
|
||||
ObjectLockMode types.ObjectLockMode
|
||||
|
||||
// The date and time when the Object Lock retention period expires. This header is
|
||||
|
@ -335,36 +294,30 @@ type HeadObjectOutput struct {
|
|||
// Amazon S3 can return this header if your request involves a bucket that is
|
||||
// either a source or a destination in a replication rule. In replication, you have
|
||||
// a source bucket on which you configure replication and destination bucket or
|
||||
// buckets where Amazon S3 stores object replicas. When you request an object
|
||||
// (GetObject) or object metadata (HeadObject) from these buckets, Amazon S3 will
|
||||
// buckets where Amazon S3 stores object replicas. When you request an object (
|
||||
// GetObject ) or object metadata ( HeadObject ) from these buckets, Amazon S3 will
|
||||
// return the x-amz-replication-status header in the response as follows:
|
||||
//
|
||||
// * If
|
||||
// requesting an object from the source bucket, Amazon S3 will return the
|
||||
// x-amz-replication-status header if the object in your request is eligible for
|
||||
// replication. For example, suppose that in your replication configuration, you
|
||||
// specify object prefix TaxDocs requesting Amazon S3 to replicate objects with key
|
||||
// prefix TaxDocs. Any objects you upload with this key name prefix, for example
|
||||
// TaxDocs/document1.pdf, are eligible for replication. For any object request with
|
||||
// this key name prefix, Amazon S3 will return the x-amz-replication-status header
|
||||
// with value PENDING, COMPLETED or FAILED indicating object replication status.
|
||||
//
|
||||
// *
|
||||
// If requesting an object from a destination bucket, Amazon S3 will return the
|
||||
// x-amz-replication-status header with value REPLICA if the object in your request
|
||||
// is a replica that Amazon S3 created and there is no replica modification
|
||||
// replication in progress.
|
||||
//
|
||||
// * When replicating objects to multiple destination
|
||||
// buckets, the x-amz-replication-status header acts differently. The header of the
|
||||
// source object will only return a value of COMPLETED when replication is
|
||||
// successful to all destinations. The header will remain at value PENDING until
|
||||
// replication has completed for all destinations. If one or more destinations
|
||||
// fails replication the header will return FAILED.
|
||||
//
|
||||
// For more information, see
|
||||
// Replication
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html).
|
||||
// - If requesting an object from the source bucket, Amazon S3 will return the
|
||||
// x-amz-replication-status header if the object in your request is eligible for
|
||||
// replication. For example, suppose that in your replication configuration, you
|
||||
// specify object prefix TaxDocs requesting Amazon S3 to replicate objects with
|
||||
// key prefix TaxDocs . Any objects you upload with this key name prefix, for
|
||||
// example TaxDocs/document1.pdf , are eligible for replication. For any object
|
||||
// request with this key name prefix, Amazon S3 will return the
|
||||
// x-amz-replication-status header with value PENDING, COMPLETED or FAILED
|
||||
// indicating object replication status.
|
||||
// - If requesting an object from a destination bucket, Amazon S3 will return
|
||||
// the x-amz-replication-status header with value REPLICA if the object in your
|
||||
// request is a replica that Amazon S3 created and there is no replica modification
|
||||
// replication in progress.
|
||||
// - When replicating objects to multiple destination buckets, the
|
||||
// x-amz-replication-status header acts differently. The header of the source
|
||||
// object will only return a value of COMPLETED when replication is successful to
|
||||
// all destinations. The header will remain at value PENDING until replication has
|
||||
// completed for all destinations. If one or more destinations fails replication
|
||||
// the header will return FAILED.
|
||||
// For more information, see Replication (https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html)
|
||||
// .
|
||||
ReplicationStatus types.ReplicationStatus
|
||||
|
||||
// If present, indicates that the requester was successfully charged for the
|
||||
|
@ -373,24 +326,24 @@ type HeadObjectOutput struct {
|
|||
|
||||
// If the object is an archived object (an object whose storage class is GLACIER),
|
||||
// the response includes this header if either the archive restoration is in
|
||||
// progress (see RestoreObject
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html) or an
|
||||
// archive copy is already restored. If an archive copy is already restored, the
|
||||
// header value indicates when Amazon S3 is scheduled to delete the object copy.
|
||||
// For example: x-amz-restore: ongoing-request="false", expiry-date="Fri, 21 Dec
|
||||
// 2012 00:00:00 GMT" If the object restoration is in progress, the header returns
|
||||
// the value ongoing-request="true". For more information about archiving objects,
|
||||
// see Transitioning Objects: General Considerations
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html#lifecycle-transition-general-considerations).
|
||||
// progress (see RestoreObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html)
|
||||
// or an archive copy is already restored. If an archive copy is already restored,
|
||||
// the header value indicates when Amazon S3 is scheduled to delete the object
|
||||
// copy. For example: x-amz-restore: ongoing-request="false", expiry-date="Fri, 21
|
||||
// Dec 2012 00:00:00 GMT" If the object restoration is in progress, the header
|
||||
// returns the value ongoing-request="true" . For more information about archiving
|
||||
// objects, see Transitioning Objects: General Considerations (https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html#lifecycle-transition-general-considerations)
|
||||
// .
|
||||
Restore *string
|
||||
|
||||
// If server-side encryption with a customer-provided encryption key was requested,
|
||||
// the response will include this header confirming the encryption algorithm used.
|
||||
// If server-side encryption with a customer-provided encryption key was
|
||||
// requested, the response will include this header confirming the encryption
|
||||
// algorithm used.
|
||||
SSECustomerAlgorithm *string
|
||||
|
||||
// If server-side encryption with a customer-provided encryption key was requested,
|
||||
// the response will include this header to provide round-trip message integrity
|
||||
// verification of the customer-provided encryption key.
|
||||
// If server-side encryption with a customer-provided encryption key was
|
||||
// requested, the response will include this header to provide round-trip message
|
||||
// integrity verification of the customer-provided encryption key.
|
||||
SSECustomerKeyMD5 *string
|
||||
|
||||
// If present, specifies the ID of the Amazon Web Services Key Management Service
|
||||
|
@ -399,13 +352,13 @@ type HeadObjectOutput struct {
|
|||
SSEKMSKeyId *string
|
||||
|
||||
// The server-side encryption algorithm used when storing this object in Amazon S3
|
||||
// (for example, AES256, aws:kms).
|
||||
// (for example, AES256, aws:kms ).
|
||||
ServerSideEncryption types.ServerSideEncryption
|
||||
|
||||
// Provides storage class information of the object. Amazon S3 returns this header
|
||||
// for all objects except for S3 Standard storage class objects. For more
|
||||
// information, see Storage Classes
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html).
|
||||
// information, see Storage Classes (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html)
|
||||
// .
|
||||
StorageClass types.StorageClass
|
||||
|
||||
// Version of the object.
|
||||
|
@ -479,6 +432,9 @@ func (c *Client) addOperationHeadObjectMiddlewares(stack *middleware.Stack, opti
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addHeadObjectUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
@ -517,9 +473,9 @@ type ObjectExistsWaiterOptions struct {
|
|||
// MinDelay must resolve to a value lesser than or equal to the MaxDelay.
|
||||
MinDelay time.Duration
|
||||
|
||||
// MaxDelay is the maximum amount of time to delay between retries. If unset or set
|
||||
// to zero, ObjectExistsWaiter will use default max delay of 120 seconds. Note that
|
||||
// MaxDelay must resolve to value greater than or equal to the MinDelay.
|
||||
// MaxDelay is the maximum amount of time to delay between retries. If unset or
|
||||
// set to zero, ObjectExistsWaiter will use default max delay of 120 seconds. Note
|
||||
// that MaxDelay must resolve to value greater than or equal to the MinDelay.
|
||||
MaxDelay time.Duration
|
||||
|
||||
// LogWaitAttempts is used to enable logging for waiter retry attempts
|
||||
|
@ -675,9 +631,9 @@ type ObjectNotExistsWaiterOptions struct {
|
|||
// MinDelay must resolve to a value lesser than or equal to the MaxDelay.
|
||||
MinDelay time.Duration
|
||||
|
||||
// MaxDelay is the maximum amount of time to delay between retries. If unset or set
|
||||
// to zero, ObjectNotExistsWaiter will use default max delay of 120 seconds. Note
|
||||
// that MaxDelay must resolve to value greater than or equal to the MinDelay.
|
||||
// MaxDelay is the maximum amount of time to delay between retries. If unset or
|
||||
// set to zero, ObjectNotExistsWaiter will use default max delay of 120 seconds.
|
||||
// Note that MaxDelay must resolve to value greater than or equal to the MinDelay.
|
||||
MaxDelay time.Duration
|
||||
|
||||
// LogWaitAttempts is used to enable logging for waiter retry attempts
|
||||
|
@ -717,9 +673,9 @@ func NewObjectNotExistsWaiter(client HeadObjectAPIClient, optFns ...func(*Object
|
|||
}
|
||||
}
|
||||
|
||||
// Wait calls the waiter function for ObjectNotExists waiter. The maxWaitDur is the
|
||||
// maximum wait duration the waiter will wait. The maxWaitDur is required and must
|
||||
// be greater than zero.
|
||||
// Wait calls the waiter function for ObjectNotExists waiter. The maxWaitDur is
|
||||
// the maximum wait duration the waiter will wait. The maxWaitDur is required and
|
||||
// must be greater than zero.
|
||||
func (w *ObjectNotExistsWaiter) Wait(ctx context.Context, params *HeadObjectInput, maxWaitDur time.Duration, optFns ...func(*ObjectNotExistsWaiterOptions)) error {
|
||||
_, err := w.WaitForOutput(ctx, params, maxWaitDur, optFns...)
|
||||
return err
|
||||
|
@ -826,8 +782,9 @@ func newServiceMetadataMiddleware_opHeadObject(region string) *awsmiddleware.Reg
|
|||
}
|
||||
}
|
||||
|
||||
// getHeadObjectBucketMember returns a pointer to string denoting a provided bucket
|
||||
// member valueand a boolean indicating if the input has a modeled bucket name,
|
||||
// getHeadObjectBucketMember returns a pointer to string denoting a provided
|
||||
// bucket member valueand a boolean indicating if the input has a modeled bucket
|
||||
// name,
|
||||
func getHeadObjectBucketMember(input interface{}) (*string, bool) {
|
||||
in := input.(*HeadObjectInput)
|
||||
if in.Bucket == nil {
|
||||
|
|
|
@ -17,33 +17,21 @@ import (
|
|||
// does not return more than 100 configurations at a time. You should always check
|
||||
// the IsTruncated element in the response. If there are no more configurations to
|
||||
// list, IsTruncated is set to false. If there are more configurations to list,
|
||||
// IsTruncated is set to true, and there will be a value in NextContinuationToken.
|
||||
// IsTruncated is set to true, and there will be a value in NextContinuationToken .
|
||||
// You use the NextContinuationToken value to continue the pagination of the list
|
||||
// by passing the value in continuation-token in the request to GET the next page.
|
||||
// To use this operation, you must have permissions to perform the
|
||||
// s3:GetAnalyticsConfiguration action. The bucket owner has this permission by
|
||||
// default. The bucket owner 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).
|
||||
// For information about Amazon S3 analytics feature, see Amazon S3 Analytics –
|
||||
// Storage Class Analysis
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/analytics-storage-class.html).
|
||||
// The following operations are related to ListBucketAnalyticsConfigurations:
|
||||
//
|
||||
// *
|
||||
// GetBucketAnalyticsConfiguration
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketAnalyticsConfiguration.html)
|
||||
//
|
||||
// *
|
||||
// DeleteBucketAnalyticsConfiguration
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketAnalyticsConfiguration.html)
|
||||
//
|
||||
// *
|
||||
// PutBucketAnalyticsConfiguration
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketAnalyticsConfiguration.html)
|
||||
// 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)
|
||||
// . For information about Amazon S3 analytics feature, see Amazon S3 Analytics –
|
||||
// Storage Class Analysis (https://docs.aws.amazon.com/AmazonS3/latest/dev/analytics-storage-class.html)
|
||||
// . The following operations are related to ListBucketAnalyticsConfigurations :
|
||||
// - GetBucketAnalyticsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketAnalyticsConfiguration.html)
|
||||
// - DeleteBucketAnalyticsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketAnalyticsConfiguration.html)
|
||||
// - PutBucketAnalyticsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketAnalyticsConfiguration.html)
|
||||
func (c *Client) ListBucketAnalyticsConfigurations(ctx context.Context, params *ListBucketAnalyticsConfigurationsInput, optFns ...func(*Options)) (*ListBucketAnalyticsConfigurationsOutput, error) {
|
||||
if params == nil {
|
||||
params = &ListBucketAnalyticsConfigurationsInput{}
|
||||
|
@ -94,7 +82,7 @@ type ListBucketAnalyticsConfigurationsOutput struct {
|
|||
|
||||
// NextContinuationToken is sent when isTruncated is true, which indicates that
|
||||
// there are more analytics configurations to list. The next request must include
|
||||
// this NextContinuationToken. The token is obfuscated and is not a usable value.
|
||||
// this NextContinuationToken . The token is obfuscated and is not a usable value.
|
||||
NextContinuationToken *string
|
||||
|
||||
// Metadata pertaining to the operation's result.
|
||||
|
@ -160,6 +148,9 @@ func (c *Client) addOperationListBucketAnalyticsConfigurationsMiddlewares(stack
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addListBucketAnalyticsConfigurationsUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
@ -12,8 +12,8 @@ import (
|
|||
smithyhttp "github.com/aws/smithy-go/transport/http"
|
||||
)
|
||||
|
||||
// Lists the S3 Intelligent-Tiering configuration from the specified bucket. The S3
|
||||
// Intelligent-Tiering storage class is designed to optimize storage costs by
|
||||
// Lists the S3 Intelligent-Tiering configuration from the specified bucket. The
|
||||
// S3 Intelligent-Tiering storage class is designed to optimize storage costs by
|
||||
// automatically moving data to the most cost-effective storage access tier,
|
||||
// without performance impact or operational overhead. S3 Intelligent-Tiering
|
||||
// delivers automatic cost savings in three low latency and high throughput access
|
||||
|
@ -25,21 +25,11 @@ import (
|
|||
// monitored and not eligible for auto-tiering. Smaller objects can be stored, but
|
||||
// they are always charged at the Frequent Access tier rates in the S3
|
||||
// Intelligent-Tiering storage class. For more information, see Storage class for
|
||||
// automatically optimizing frequently and infrequently accessed objects
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html#sc-dynamic-data-access).
|
||||
// Operations related to ListBucketIntelligentTieringConfigurations include:
|
||||
//
|
||||
// *
|
||||
// DeleteBucketIntelligentTieringConfiguration
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketIntelligentTieringConfiguration.html)
|
||||
//
|
||||
// *
|
||||
// PutBucketIntelligentTieringConfiguration
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketIntelligentTieringConfiguration.html)
|
||||
//
|
||||
// *
|
||||
// GetBucketIntelligentTieringConfiguration
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketIntelligentTieringConfiguration.html)
|
||||
// automatically optimizing frequently and infrequently accessed objects (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html#sc-dynamic-data-access)
|
||||
// . Operations related to ListBucketIntelligentTieringConfigurations include:
|
||||
// - DeleteBucketIntelligentTieringConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketIntelligentTieringConfiguration.html)
|
||||
// - PutBucketIntelligentTieringConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketIntelligentTieringConfiguration.html)
|
||||
// - GetBucketIntelligentTieringConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketIntelligentTieringConfiguration.html)
|
||||
func (c *Client) ListBucketIntelligentTieringConfigurations(ctx context.Context, params *ListBucketIntelligentTieringConfigurationsInput, optFns ...func(*Options)) (*ListBucketIntelligentTieringConfigurationsOutput, error) {
|
||||
if params == nil {
|
||||
params = &ListBucketIntelligentTieringConfigurationsInput{}
|
||||
|
@ -152,6 +142,9 @@ func (c *Client) addOperationListBucketIntelligentTieringConfigurationsMiddlewar
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addListBucketIntelligentTieringConfigurationsUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
@ -17,32 +17,20 @@ import (
|
|||
// and does not return more than 100 configurations at a time. Always check the
|
||||
// IsTruncated element in the response. If there are no more configurations to
|
||||
// list, IsTruncated is set to false. If there are more configurations to list,
|
||||
// IsTruncated is set to true, and there is a value in NextContinuationToken. You
|
||||
// IsTruncated is set to true, and there is a value in NextContinuationToken . You
|
||||
// use the NextContinuationToken value to continue the pagination of the list by
|
||||
// passing the value in continuation-token in the request to GET the next page. To
|
||||
// use this operation, you must have permissions to perform the
|
||||
// s3:GetInventoryConfiguration action. The bucket owner has this permission by
|
||||
// default. The bucket owner 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).
|
||||
// For information about the Amazon S3 inventory feature, see Amazon S3 Inventory
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-inventory.html) The
|
||||
// following operations are related to ListBucketInventoryConfigurations:
|
||||
//
|
||||
// *
|
||||
// GetBucketInventoryConfiguration
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketInventoryConfiguration.html)
|
||||
//
|
||||
// *
|
||||
// DeleteBucketInventoryConfiguration
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketInventoryConfiguration.html)
|
||||
//
|
||||
// *
|
||||
// PutBucketInventoryConfiguration
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketInventoryConfiguration.html)
|
||||
// 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)
|
||||
// . For information about the Amazon S3 inventory feature, see Amazon S3 Inventory (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-inventory.html)
|
||||
// The following operations are related to ListBucketInventoryConfigurations :
|
||||
// - GetBucketInventoryConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketInventoryConfiguration.html)
|
||||
// - DeleteBucketInventoryConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketInventoryConfiguration.html)
|
||||
// - PutBucketInventoryConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketInventoryConfiguration.html)
|
||||
func (c *Client) ListBucketInventoryConfigurations(ctx context.Context, params *ListBucketInventoryConfigurationsInput, optFns ...func(*Options)) (*ListBucketInventoryConfigurationsOutput, error) {
|
||||
if params == nil {
|
||||
params = &ListBucketInventoryConfigurationsInput{}
|
||||
|
@ -88,9 +76,9 @@ type ListBucketInventoryConfigurationsOutput struct {
|
|||
// The list of inventory configurations for a bucket.
|
||||
InventoryConfigurationList []types.InventoryConfiguration
|
||||
|
||||
// Tells whether the returned list of inventory configurations is complete. A value
|
||||
// of true indicates that the list is not complete and the NextContinuationToken is
|
||||
// provided for a subsequent request.
|
||||
// Tells whether the returned list of inventory configurations is complete. A
|
||||
// value of true indicates that the list is not complete and the
|
||||
// NextContinuationToken is provided for a subsequent request.
|
||||
IsTruncated bool
|
||||
|
||||
// The marker used to continue this inventory configuration listing. Use the
|
||||
|
@ -161,6 +149,9 @@ func (c *Client) addOperationListBucketInventoryConfigurationsMiddlewares(stack
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addListBucketInventoryConfigurationsUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
43
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBucketMetricsConfigurations.go
generated
vendored
43
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBucketMetricsConfigurations.go
generated
vendored
|
@ -16,35 +16,23 @@ import (
|
|||
// only for the request metrics of the bucket and do not provide information on
|
||||
// daily storage metrics. You can have up to 1,000 configurations per bucket. This
|
||||
// action supports list pagination and does not return more than 100 configurations
|
||||
// at a time. Always check the IsTruncated element in the response. If there are no
|
||||
// more configurations to list, IsTruncated is set to false. If there are more
|
||||
// at a time. Always check the IsTruncated element in the response. If there are
|
||||
// no more configurations to list, IsTruncated is set to false. If there are more
|
||||
// configurations to list, IsTruncated is set to true, and there is a value in
|
||||
// NextContinuationToken. You use the NextContinuationToken value to continue the
|
||||
// pagination of the list by passing the value in continuation-token in the request
|
||||
// to GET the next page. To use this operation, you must have permissions to
|
||||
// perform the s3:GetMetricsConfiguration action. The bucket owner has this
|
||||
// NextContinuationToken . You use the NextContinuationToken value to continue the
|
||||
// pagination of the list by passing the value in continuation-token in the
|
||||
// request to GET the next page. To use this operation, you must have permissions
|
||||
// to perform the s3:GetMetricsConfiguration action. The bucket owner has this
|
||||
// permission by default. The bucket owner 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).
|
||||
// For more information about metrics configurations and CloudWatch request
|
||||
// metrics, see Monitoring Metrics with Amazon CloudWatch
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/cloudwatch-monitoring.html).
|
||||
// The following operations are related to ListBucketMetricsConfigurations:
|
||||
//
|
||||
// *
|
||||
// PutBucketMetricsConfiguration
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketMetricsConfiguration.html)
|
||||
//
|
||||
// *
|
||||
// GetBucketMetricsConfiguration
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketMetricsConfiguration.html)
|
||||
//
|
||||
// *
|
||||
// DeleteBucketMetricsConfiguration
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketMetricsConfiguration.html)
|
||||
// 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)
|
||||
// . For more information about metrics configurations and CloudWatch request
|
||||
// metrics, see Monitoring Metrics with Amazon CloudWatch (https://docs.aws.amazon.com/AmazonS3/latest/dev/cloudwatch-monitoring.html)
|
||||
// . The following operations are related to ListBucketMetricsConfigurations :
|
||||
// - PutBucketMetricsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketMetricsConfiguration.html)
|
||||
// - GetBucketMetricsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketMetricsConfiguration.html)
|
||||
// - DeleteBucketMetricsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketMetricsConfiguration.html)
|
||||
func (c *Client) ListBucketMetricsConfigurations(ctx context.Context, params *ListBucketMetricsConfigurationsInput, optFns ...func(*Options)) (*ListBucketMetricsConfigurationsOutput, error) {
|
||||
if params == nil {
|
||||
params = &ListBucketMetricsConfigurationsInput{}
|
||||
|
@ -164,6 +152,9 @@ func (c *Client) addOperationListBucketMetricsConfigurationsMiddlewares(stack *m
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addListBucketMetricsConfigurationsUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
9
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBuckets.go
generated
vendored
9
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBuckets.go
generated
vendored
|
@ -14,9 +14,9 @@ import (
|
|||
|
||||
// Returns a list of all buckets owned by the authenticated sender of the request.
|
||||
// To use this operation, you must have the s3:ListAllMyBuckets permission. For
|
||||
// information about Amazon S3 buckets, see Creating, configuring, and working with
|
||||
// Amazon S3 buckets
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/creating-buckets-s3.html).
|
||||
// information about Amazon S3 buckets, see Creating, configuring, and working
|
||||
// with Amazon S3 buckets (https://docs.aws.amazon.com/AmazonS3/latest/userguide/creating-buckets-s3.html)
|
||||
// .
|
||||
func (c *Client) ListBuckets(ctx context.Context, params *ListBucketsInput, optFns ...func(*Options)) (*ListBucketsOutput, error) {
|
||||
if params == nil {
|
||||
params = &ListBucketsInput{}
|
||||
|
@ -104,6 +104,9 @@ func (c *Client) addOperationListBucketsMiddlewares(stack *middleware.Stack, opt
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addListBucketsUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
99
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListMultipartUploads.go
generated
vendored
99
vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListMultipartUploads.go
generated
vendored
|
@ -12,46 +12,29 @@ import (
|
|||
smithyhttp "github.com/aws/smithy-go/transport/http"
|
||||
)
|
||||
|
||||
// This action lists in-progress multipart uploads. An in-progress multipart upload
|
||||
// is a multipart upload that has been initiated using the Initiate Multipart
|
||||
// Upload request, but has not yet been completed or aborted. This action returns
|
||||
// at most 1,000 multipart uploads in the response. 1,000 multipart uploads is the
|
||||
// maximum number of uploads a response can include, which is also the default
|
||||
// value. You can further limit the number of uploads in a response by specifying
|
||||
// the max-uploads parameter in the response. If additional multipart uploads
|
||||
// satisfy the list criteria, the response will contain an IsTruncated element with
|
||||
// the value true. To list the additional multipart uploads, use the key-marker and
|
||||
// upload-id-marker request parameters. In the response, the uploads are sorted by
|
||||
// key. If your application has initiated more than one multipart upload using the
|
||||
// same object key, then uploads in the response are first sorted by key.
|
||||
// Additionally, uploads are sorted in ascending order within each key by the
|
||||
// upload initiation time. For more information on multipart uploads, see Uploading
|
||||
// Objects Using Multipart Upload
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html). For
|
||||
// information on permissions required to use the multipart upload API, see
|
||||
// Multipart Upload and Permissions
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html). The
|
||||
// following operations are related to ListMultipartUploads:
|
||||
//
|
||||
// *
|
||||
// CreateMultipartUpload
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html)
|
||||
//
|
||||
// *
|
||||
// UploadPart
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html)
|
||||
//
|
||||
// *
|
||||
// CompleteMultipartUpload
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html)
|
||||
//
|
||||
// *
|
||||
// ListParts
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html)
|
||||
//
|
||||
// *
|
||||
// AbortMultipartUpload
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html)
|
||||
// This action lists in-progress multipart uploads. An in-progress multipart
|
||||
// upload is a multipart upload that has been initiated using the Initiate
|
||||
// Multipart Upload request, but has not yet been completed or aborted. This action
|
||||
// returns at most 1,000 multipart uploads in the response. 1,000 multipart uploads
|
||||
// is the maximum number of uploads a response can include, which is also the
|
||||
// default value. You can further limit the number of uploads in a response by
|
||||
// specifying the max-uploads parameter in the response. If additional multipart
|
||||
// uploads satisfy the list criteria, the response will contain an IsTruncated
|
||||
// element with the value true. To list the additional multipart uploads, use the
|
||||
// key-marker and upload-id-marker request parameters. In the response, the
|
||||
// uploads are sorted by key. If your application has initiated more than one
|
||||
// multipart upload using the same object key, then uploads in the response are
|
||||
// first sorted by key. Additionally, uploads are sorted in ascending order within
|
||||
// each key by the upload initiation time. For more information on multipart
|
||||
// uploads, see Uploading Objects Using Multipart Upload (https://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html)
|
||||
// . For information on permissions required to use the multipart upload API, see
|
||||
// Multipart Upload and Permissions (https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html)
|
||||
// . The following operations are related to ListMultipartUploads :
|
||||
// - CreateMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html)
|
||||
// - UploadPart (https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html)
|
||||
// - CompleteMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html)
|
||||
// - ListParts (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html)
|
||||
// - AbortMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html)
|
||||
func (c *Client) ListMultipartUploads(ctx context.Context, params *ListMultipartUploadsInput, optFns ...func(*Options)) (*ListMultipartUploadsOutput, error) {
|
||||
if params == nil {
|
||||
params = &ListMultipartUploadsInput{}
|
||||
|
@ -75,24 +58,22 @@ type ListMultipartUploadsInput struct {
|
|||
// AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this
|
||||
// action with an access point through the Amazon Web Services SDKs, you provide
|
||||
// the access point ARN in place of the bucket name. For more information about
|
||||
// access point ARNs, see Using access points
|
||||
// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// access point ARNs, see Using access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
|
||||
// in the Amazon S3 User Guide. When you use this action with Amazon S3 on
|
||||
// Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on
|
||||
// Outposts hostname takes the form
|
||||
// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you
|
||||
// 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) in the
|
||||
// Amazon S3 User Guide.
|
||||
// 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
|
||||
|
||||
// Character you use to group keys. All keys that contain the same string between
|
||||
// the prefix, if specified, and the first occurrence of the delimiter after the
|
||||
// prefix are grouped under a single result element, CommonPrefixes. If you don't
|
||||
// prefix are grouped under a single result element, CommonPrefixes . If you don't
|
||||
// specify the prefix parameter, then the substring starts at the beginning of the
|
||||
// key. The keys that are grouped under CommonPrefixes result element are not
|
||||
// returned elsewhere in the response.
|
||||
|
@ -112,11 +93,12 @@ type ListMultipartUploadsInput struct {
|
|||
ExpectedBucketOwner *string
|
||||
|
||||
// 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 for a key
|
||||
// equal to the key-marker might also be included, provided those multipart uploads
|
||||
// have upload IDs lexicographically greater than the specified upload-id-marker.
|
||||
// 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
|
||||
// for a key equal to the key-marker might also be included, provided those
|
||||
// multipart uploads have upload IDs lexicographically greater than the specified
|
||||
// upload-id-marker .
|
||||
KeyMarker *string
|
||||
|
||||
// Sets the maximum number of multipart uploads, from 1 to 1,000, to return in the
|
||||
|
@ -134,7 +116,7 @@ type ListMultipartUploadsInput struct {
|
|||
// should begin. If key-marker is not specified, the upload-id-marker parameter is
|
||||
// ignored. Otherwise, any multipart uploads for a key equal to the key-marker
|
||||
// might be included in the list only if they have an upload ID lexicographically
|
||||
// greater than the specified upload-id-marker.
|
||||
// greater than the specified upload-id-marker .
|
||||
UploadIdMarker *string
|
||||
|
||||
noSmithyDocumentSerde
|
||||
|
@ -146,9 +128,9 @@ type ListMultipartUploadsOutput struct {
|
|||
// return the access point ARN or access point alias if used.
|
||||
Bucket *string
|
||||
|
||||
// If you specify a delimiter in the request, then the result returns each distinct
|
||||
// key prefix containing the delimiter in a CommonPrefixes element. The distinct
|
||||
// key prefixes are returned in the Prefix child element.
|
||||
// If you specify a delimiter in the request, then the result returns each
|
||||
// distinct key prefix containing the delimiter in a CommonPrefixes element. The
|
||||
// distinct key prefixes are returned in the Prefix child element.
|
||||
CommonPrefixes []types.CommonPrefix
|
||||
|
||||
// Contains the delimiter you specified in the request. If you don't specify a
|
||||
|
@ -158,7 +140,7 @@ type ListMultipartUploadsOutput struct {
|
|||
// 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
|
||||
// elements: Delimiter, KeyMarker, Prefix, NextKeyMarker, Key.
|
||||
// elements: Delimiter , KeyMarker , Prefix , NextKeyMarker , Key .
|
||||
EncodingType types.EncodingType
|
||||
|
||||
// Indicates whether the returned list of multipart uploads is truncated. A value
|
||||
|
@ -256,6 +238,9 @@ func (c *Client) addOperationListMultipartUploadsMiddlewares(stack *middleware.S
|
|||
if err = addMetadataRetrieverMiddleware(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = awsmiddleware.AddRecursionDetection(stack); err != nil {
|
||||
return err
|
||||
}
|
||||
if err = addListMultipartUploadsUpdateEndpoint(stack, options); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue