mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
Reset vendoring to 0.6.3
This commit is contained in:
12
vendor/github.com/aws/aws-sdk-go/service/s3/api.go
generated
vendored
12
vendor/github.com/aws/aws-sdk-go/service/s3/api.go
generated
vendored
@@ -9740,7 +9740,8 @@ type GetObjectTaggingInput struct {
|
||||
// Key is a required field
|
||||
Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"`
|
||||
|
||||
VersionId *string `location:"querystring" locationName:"versionId" type:"string"`
|
||||
// VersionId is a required field
|
||||
VersionId *string `location:"uri" locationName:"VersionId" type:"string" required:"true"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
@@ -9765,6 +9766,9 @@ func (s *GetObjectTaggingInput) Validate() error {
|
||||
if s.Key != nil && len(*s.Key) < 1 {
|
||||
invalidParams.Add(request.NewErrParamMinLen("Key", 1))
|
||||
}
|
||||
if s.VersionId == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("VersionId"))
|
||||
}
|
||||
|
||||
if invalidParams.Len() > 0 {
|
||||
return invalidParams
|
||||
@@ -15449,7 +15453,8 @@ type PutObjectTaggingInput struct {
|
||||
// Tagging is a required field
|
||||
Tagging *Tagging `locationName:"Tagging" type:"structure" required:"true"`
|
||||
|
||||
VersionId *string `location:"querystring" locationName:"versionId" type:"string"`
|
||||
// VersionId is a required field
|
||||
VersionId *string `location:"uri" locationName:"VersionId" type:"string" required:"true"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
@@ -15477,6 +15482,9 @@ func (s *PutObjectTaggingInput) Validate() error {
|
||||
if s.Tagging == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("Tagging"))
|
||||
}
|
||||
if s.VersionId == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("VersionId"))
|
||||
}
|
||||
if s.Tagging != nil {
|
||||
if err := s.Tagging.Validate(); err != nil {
|
||||
invalidParams.AddNested("Tagging", err.(request.ErrInvalidParams))
|
||||
|
||||
Reference in New Issue
Block a user