From e8bafb8599fcd114fcf056fd3901af608767a9ba Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Tue, 27 Apr 2021 11:15:26 -0700 Subject: [PATCH] Release v1.38.27 (2021-04-27) (#3883) Release v1.38.27 (2021-04-27) === ### Service Client Updates * `service/auditmanager`: Updates service API and documentation --- CHANGELOG.md | 6 ++++++ aws/endpoints/defaults.go | 3 ++- aws/version.go | 2 +- models/apis/auditmanager/2017-07-25/api-2.json | 8 ++++---- models/apis/auditmanager/2017-07-25/docs-2.json | 2 +- models/endpoints/endpoints.json | 3 ++- service/auditmanager/api.go | 6 +++--- 7 files changed, 19 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b7d0a8e503d..1252b80caba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +Release v1.38.27 (2021-04-27) +=== + +### Service Client Updates +* `service/auditmanager`: Updates service API and documentation + Release v1.38.26 (2021-04-26) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index cce4f16a350..257812d9ee3 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -7984,7 +7984,8 @@ var awscnPartition = partition{ Protocols: []string{"https"}, }, Endpoints: endpoints{ - "cn-north-1": endpoint{}, + "cn-north-1": endpoint{}, + "cn-northwest-1": endpoint{}, }, }, "runtime.sagemaker": service{ diff --git a/aws/version.go b/aws/version.go index a203daebbfa..96b5a86d9a6 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.38.26" +const SDKVersion = "1.38.27" diff --git a/models/apis/auditmanager/2017-07-25/api-2.json b/models/apis/auditmanager/2017-07-25/api-2.json index 5e3f51fd96b..1b729f041d9 100644 --- a/models/apis/auditmanager/2017-07-25/api-2.json +++ b/models/apis/auditmanager/2017-07-25/api-2.json @@ -989,7 +989,7 @@ "type":"string", "max":300, "min":1, - "pattern":"^[\\w\\W\\s\\S]*$" + "pattern":"^[^\\\\]*$" }, "AssessmentReport":{ "type":"structure", @@ -1356,7 +1356,7 @@ "type":"string", "max":300, "min":1, - "pattern":"^[\\w\\W\\s\\S]*$" + "pattern":"^[^\\\\]*$" }, "ControlResponse":{ "type":"string", @@ -1866,7 +1866,7 @@ "type":"string", "max":300, "min":1, - "pattern":"^[\\w\\W\\s\\S]*$" + "pattern":"^[^\\\\]*$" }, "FrameworkType":{ "type":"string", @@ -2866,7 +2866,7 @@ "UpdateAssessmentFrameworkControlSet":{ "type":"structure", "members":{ - "id":{"shape":"UUID"}, + "id":{"shape":"ControlSetName"}, "name":{"shape":"ControlSetName"}, "controls":{"shape":"CreateAssessmentFrameworkControls"} } diff --git a/models/apis/auditmanager/2017-07-25/docs-2.json b/models/apis/auditmanager/2017-07-25/docs-2.json index d8dea64e5a3..01280852a24 100644 --- a/models/apis/auditmanager/2017-07-25/docs-2.json +++ b/models/apis/auditmanager/2017-07-25/docs-2.json @@ -577,6 +577,7 @@ "refs": { "ControlSet$name": "

The name of the control set.

", "CreateAssessmentFrameworkControlSet$name": "

The name of the specified control set.

", + "UpdateAssessmentFrameworkControlSet$id": "

The unique identifier for the control set.

", "UpdateAssessmentFrameworkControlSet$name": "

The name of the control set.

" } }, @@ -1727,7 +1728,6 @@ "UpdateAssessmentControlRequest$assessmentId": "

The identifier for the specified assessment.

", "UpdateAssessmentControlRequest$controlId": "

The identifier for the specified control.

", "UpdateAssessmentControlSetStatusRequest$assessmentId": "

The identifier for the specified assessment.

", - "UpdateAssessmentFrameworkControlSet$id": "

The unique identifier for the control set.

", "UpdateAssessmentFrameworkRequest$frameworkId": "

The identifier for the specified framework.

", "UpdateAssessmentRequest$assessmentId": "

The identifier for the specified assessment.

", "UpdateAssessmentStatusRequest$assessmentId": "

The identifier for the specified assessment.

", diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 01fdb2540e2..34b13c4e3df 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -7671,7 +7671,8 @@ "protocols" : [ "https" ] }, "endpoints" : { - "cn-north-1" : { } + "cn-north-1" : { }, + "cn-northwest-1" : { } } }, "runtime.sagemaker" : { diff --git a/service/auditmanager/api.go b/service/auditmanager/api.go index 7933a94a1d5..74298c0a5a8 100644 --- a/service/auditmanager/api.go +++ b/service/auditmanager/api.go @@ -12308,7 +12308,7 @@ type UpdateAssessmentFrameworkControlSet struct { Controls []*CreateAssessmentFrameworkControl `locationName:"controls" min:"1" type:"list"` // The unique identifier for the control set. - Id *string `locationName:"id" min:"36" type:"string"` + Id *string `locationName:"id" min:"1" type:"string"` // The name of the control set. Name *string `locationName:"name" min:"1" type:"string"` @@ -12330,8 +12330,8 @@ func (s *UpdateAssessmentFrameworkControlSet) Validate() error { if s.Controls != nil && len(s.Controls) < 1 { invalidParams.Add(request.NewErrParamMinLen("Controls", 1)) } - if s.Id != nil && len(*s.Id) < 36 { - invalidParams.Add(request.NewErrParamMinLen("Id", 36)) + if s.Id != nil && len(*s.Id) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Id", 1)) } if s.Name != nil && len(*s.Name) < 1 { invalidParams.Add(request.NewErrParamMinLen("Name", 1))