From 6372fc1edb81055143023d984c220c638d5cc95f Mon Sep 17 00:00:00 2001 From: awssdkgo Date: Mon, 27 Jun 2022 18:14:00 +0000 Subject: [PATCH] Release v1.44.43 (2022-06-27) === ### Service Client Updates * `service/iot`: Updates service API * This release ease the restriction for the input of tag value to align with AWS standard, now instead of min length 1, we change it to min length 0. --- CHANGELOG.md | 7 +++++++ aws/version.go | 2 +- models/apis/iot/2015-05-28/api-2.json | 2 +- service/iot/api.go | 5 +---- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c98471fafa..10595e27bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +Release v1.44.43 (2022-06-27) +=== + +### Service Client Updates +* `service/iot`: Updates service API + * This release ease the restriction for the input of tag value to align with AWS standard, now instead of min length 1, we change it to min length 0. + Release v1.44.42 (2022-06-24) === diff --git a/aws/version.go b/aws/version.go index a8a2ed5721..e6612ead48 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.44.42" +const SDKVersion = "1.44.43" diff --git a/models/apis/iot/2015-05-28/api-2.json b/models/apis/iot/2015-05-28/api-2.json index 9ec9b59e5d..ab61f19b31 100644 --- a/models/apis/iot/2015-05-28/api-2.json +++ b/models/apis/iot/2015-05-28/api-2.json @@ -12296,7 +12296,7 @@ "TagValue":{ "type":"string", "max":256, - "min":1 + "min":0 }, "Target":{"type":"string"}, "TargetArn":{ diff --git a/service/iot/api.go b/service/iot/api.go index d502100c2f..f0b4b6db51 100644 --- a/service/iot/api.go +++ b/service/iot/api.go @@ -61250,7 +61250,7 @@ type Tag struct { Key *string `min:"1" type:"string" required:"true"` // The tag's value. - Value *string `min:"1" type:"string"` + Value *string `type:"string"` } // String returns the string representation. @@ -61280,9 +61280,6 @@ func (s *Tag) Validate() error { if s.Key != nil && len(*s.Key) < 1 { invalidParams.Add(request.NewErrParamMinLen("Key", 1)) } - if s.Value != nil && len(*s.Value) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Value", 1)) - } if invalidParams.Len() > 0 { return invalidParams