diff --git a/CHANGELOG.md b/CHANGELOG.md index 69ed46ea610..316454b1d9b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +Release v1.50.7 (2024-01-30) +=== + +### Service Client Updates +* `service/datazone`: Updates service API and documentation +* `service/route53`: Updates service documentation + * Update the SDKs for text changes in the APIs. + Release v1.50.6 (2024-01-29) === diff --git a/aws/version.go b/aws/version.go index 0dfd96d5752..4429c44d131 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.50.6" +const SDKVersion = "1.50.7" diff --git a/models/apis/datazone/2018-05-10/api-2.json b/models/apis/datazone/2018-05-10/api-2.json index 67eef4fba9f..f7da1ce2455 100644 --- a/models/apis/datazone/2018-05-10/api-2.json +++ b/models/apis/datazone/2018-05-10/api-2.json @@ -2955,10 +2955,12 @@ "createdBy":{"shape":"CreatedBy"}, "description":{"shape":"Description"}, "domainId":{"shape":"DomainId"}, + "failureReasons":{"shape":"FailureReasons"}, "glossaryTerms":{"shape":"GlossaryTerms"}, "id":{"shape":"ProjectId"}, "lastUpdatedAt":{"shape":"SyntheticTimestamp_date_time"}, - "name":{"shape":"ProjectName"} + "name":{"shape":"ProjectName"}, + "projectStatus":{"shape":"ProjectStatus"} } }, "CreateSubscriptionGrantInput":{ @@ -3565,6 +3567,11 @@ "shape":"DomainId", "location":"uri", "locationName":"identifier" + }, + "skipDeletionCheck":{ + "shape":"Boolean", + "location":"querystring", + "locationName":"skipDeletionCheck" } } }, @@ -3749,6 +3756,11 @@ "shape":"ProjectId", "location":"uri", "locationName":"identifier" + }, + "skipDeletionCheck":{ + "shape":"Boolean", + "location":"querystring", + "locationName":"skipDeletionCheck" } } }, @@ -4193,6 +4205,10 @@ "message":{"shape":"String"} } }, + "FailureReasons":{ + "type":"list", + "member":{"shape":"ProjectDeletionError"} + }, "Filter":{ "type":"structure", "required":[ @@ -5048,10 +5064,12 @@ "createdBy":{"shape":"CreatedBy"}, "description":{"shape":"Description"}, "domainId":{"shape":"DomainId"}, + "failureReasons":{"shape":"FailureReasons"}, "glossaryTerms":{"shape":"GlossaryTerms"}, "id":{"shape":"ProjectId"}, "lastUpdatedAt":{"shape":"SyntheticTimestamp_date_time"}, - "name":{"shape":"ProjectName"} + "name":{"shape":"ProjectName"}, + "projectStatus":{"shape":"ProjectStatus"} } }, "GetSubscriptionGrantInput":{ @@ -6530,6 +6548,13 @@ "businessNameGeneration":{"shape":"BusinessNameGenerationConfiguration"} } }, + "ProjectDeletionError":{ + "type":"structure", + "members":{ + "code":{"shape":"String"}, + "message":{"shape":"String"} + } + }, "ProjectId":{ "type":"string", "pattern":"^[a-zA-Z0-9_-]{1,36}$" @@ -6556,6 +6581,14 @@ "pattern":"^[\\w -]+$", "sensitive":true }, + "ProjectStatus":{ + "type":"string", + "enum":[ + "ACTIVE", + "DELETING", + "DELETE_FAILED" + ] + }, "ProjectSummaries":{ "type":"list", "member":{"shape":"ProjectSummary"} @@ -6573,8 +6606,10 @@ "createdBy":{"shape":"CreatedBy"}, "description":{"shape":"Description"}, "domainId":{"shape":"DomainId"}, + "failureReasons":{"shape":"FailureReasons"}, "id":{"shape":"ProjectId"}, "name":{"shape":"ProjectName"}, + "projectStatus":{"shape":"ProjectStatus"}, "updatedAt":{"shape":"SyntheticTimestamp_date_time"} } }, @@ -8220,10 +8255,12 @@ "createdBy":{"shape":"CreatedBy"}, "description":{"shape":"Description"}, "domainId":{"shape":"DomainId"}, + "failureReasons":{"shape":"FailureReasons"}, "glossaryTerms":{"shape":"GlossaryTerms"}, "id":{"shape":"ProjectId"}, "lastUpdatedAt":{"shape":"SyntheticTimestamp_date_time"}, - "name":{"shape":"ProjectName"} + "name":{"shape":"ProjectName"}, + "projectStatus":{"shape":"ProjectStatus"} } }, "UpdateSubscriptionGrantStatusInput":{ diff --git a/models/apis/datazone/2018-05-10/docs-2.json b/models/apis/datazone/2018-05-10/docs-2.json index 42652aad5d2..0730c30e62b 100644 --- a/models/apis/datazone/2018-05-10/docs-2.json +++ b/models/apis/datazone/2018-05-10/docs-2.json @@ -377,6 +377,8 @@ "CustomParameter$isEditable": "

Specifies whether the parameter is editable.

", "CustomParameter$isOptional": "

Specifies whether the custom parameter is optional.

", "DeleteDataSourceOutput$publishOnImport": "

Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.

", + "DeleteDomainInput$skipDeletionCheck": "

Optional flag to delete all child entities within the domain

", + "DeleteProjectInput$skipDeletionCheck": "

Optional flag to asynchronously delete child entities within the project

", "Deployment$isDeploymentComplete": "

Specifies whether the last deployment of the environment is complete.

", "FormEntryInput$required": "

Specifies whether a form entry is required.

", "FormEntryOutput$required": "

Specifies whether a form entry is required.

", @@ -1740,6 +1742,15 @@ "UpdateSubscriptionGrantStatusInput$failureCause": "

Specifies the error message that is returned if the operation cannot be successfully completed.

" } }, + "FailureReasons": { + "base": null, + "refs": { + "CreateProjectOutput$failureReasons": "

Reasons for failed project deletion

", + "GetProjectOutput$failureReasons": "

Reasons for failed project deletion

", + "ProjectSummary$failureReasons": "

Reasons for failed project deletion

", + "UpdateProjectOutput$failureReasons": "

Reasons for failed project deletion

" + } + }, "Filter": { "base": "

A search filter in Amazon DataZone.

", "refs": { @@ -2869,6 +2880,12 @@ "CreateAssetRevisionOutput$predictionConfiguration": "

The configuration of the automatically generated business-friendly metadata for the asset.

" } }, + "ProjectDeletionError": { + "base": "

Error that occurred during project deletion

", + "refs": { + "FailureReasons$member": null + } + }, "ProjectId": { "base": null, "refs": { @@ -2968,6 +2985,15 @@ "UpdateProjectOutput$name": "

The name of the project that is to be updated.

" } }, + "ProjectStatus": { + "base": null, + "refs": { + "CreateProjectOutput$projectStatus": "

Status of the project

", + "GetProjectOutput$projectStatus": "

Status of the project

", + "ProjectSummary$projectStatus": "

Status of the project

", + "UpdateProjectOutput$projectStatus": "

Status of the project

" + } + }, "ProjectSummaries": { "base": null, "refs": { @@ -3612,6 +3638,8 @@ "NotificationResource$id": "

The ID of the resource mentioned in a notification.

", "NotificationResource$name": "

The name of the resource mentioned in a notification.

", "NotificationSubjects$member": null, + "ProjectDeletionError$code": "

Project Deletion Error Code

", + "ProjectDeletionError$message": "

Project Deletion Error Message

", "RegionalParameter$key": null, "RegionalParameter$value": null, "RejectChoice$predictionTarget": "

Specifies the target (for example, a column name) where a prediction can be rejected.

", diff --git a/models/apis/datazone/2018-05-10/endpoint-rule-set-1.json b/models/apis/datazone/2018-05-10/endpoint-rule-set-1.json index 03a4daf5387..45dcfcf48e9 100644 --- a/models/apis/datazone/2018-05-10/endpoint-rule-set-1.json +++ b/models/apis/datazone/2018-05-10/endpoint-rule-set-1.json @@ -33,7 +33,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -61,7 +60,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -74,7 +74,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -88,7 +87,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -108,7 +106,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -122,14 +119,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -138,11 +133,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -153,14 +148,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -171,7 +168,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -185,14 +183,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -201,11 +197,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -216,14 +212,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -234,9 +232,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/models/apis/route53/2013-04-01/docs-2.json b/models/apis/route53/2013-04-01/docs-2.json index 77ef533aab1..e31ac363386 100644 --- a/models/apis/route53/2013-04-01/docs-2.json +++ b/models/apis/route53/2013-04-01/docs-2.json @@ -958,7 +958,7 @@ } }, "GeoProximityLocation": { - "base": "

(Resource record sets only): A complex type that lets you control how Amazon Route 53 responds to DNS queries based on the geographic origin of the query and your resources. Only one of , LocalZoneGroup, Coordinates, or Amazon Web ServicesRegion is allowed per request at a time.

For more information about geoproximity routing, see Geoproximity routing in the Amazon Route 53 Developer Guide.

", + "base": "

(Resource record sets only): A complex type that lets you specify where your resources are located. Only one of LocalZoneGroup, Coordinates, or Amazon Web ServicesRegion is allowed per request at a time.

For more information about geoproximity routing, see Geoproximity routing in the Amazon Route 53 Developer Guide.

", "refs": { "ResourceRecordSet$GeoProximityLocation": "

GeoproximityLocation resource record sets only: A complex type that lets you control how Route 53 responds to DNS queries based on the geographic origin of the query and your resources.

" } diff --git a/service/datazone/api.go b/service/datazone/api.go index c343d036a3e..aaaee710598 100644 --- a/service/datazone/api.go +++ b/service/datazone/api.go @@ -16227,6 +16227,9 @@ type CreateProjectOutput struct { // DomainId is a required field DomainId *string `locationName:"domainId" type:"string" required:"true"` + // Reasons for failed project deletion + FailureReasons []*ProjectDeletionError `locationName:"failureReasons" type:"list"` + // The glossary terms that can be used in the project. GlossaryTerms []*string `locationName:"glossaryTerms" min:"1" type:"list"` @@ -16246,6 +16249,9 @@ type CreateProjectOutput struct { // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true" sensitive:"true"` + + // Status of the project + ProjectStatus *string `locationName:"projectStatus" type:"string" enum:"ProjectStatus"` } // String returns the string representation. @@ -16290,6 +16296,12 @@ func (s *CreateProjectOutput) SetDomainId(v string) *CreateProjectOutput { return s } +// SetFailureReasons sets the FailureReasons field's value. +func (s *CreateProjectOutput) SetFailureReasons(v []*ProjectDeletionError) *CreateProjectOutput { + s.FailureReasons = v + return s +} + // SetGlossaryTerms sets the GlossaryTerms field's value. func (s *CreateProjectOutput) SetGlossaryTerms(v []*string) *CreateProjectOutput { s.GlossaryTerms = v @@ -16314,6 +16326,12 @@ func (s *CreateProjectOutput) SetName(v string) *CreateProjectOutput { return s } +// SetProjectStatus sets the ProjectStatus field's value. +func (s *CreateProjectOutput) SetProjectStatus(v string) *CreateProjectOutput { + s.ProjectStatus = &v + return s +} + type CreateSubscriptionGrantInput struct { _ struct{} `type:"structure"` @@ -18701,6 +18719,9 @@ type DeleteDomainInput struct { // // Identifier is a required field Identifier *string `location:"uri" locationName:"identifier" type:"string" required:"true"` + + // Optional flag to delete all child entities within the domain + SkipDeletionCheck *bool `location:"querystring" locationName:"skipDeletionCheck" type:"boolean"` } // String returns the string representation. @@ -18749,6 +18770,12 @@ func (s *DeleteDomainInput) SetIdentifier(v string) *DeleteDomainInput { return s } +// SetSkipDeletionCheck sets the SkipDeletionCheck field's value. +func (s *DeleteDomainInput) SetSkipDeletionCheck(v bool) *DeleteDomainInput { + s.SkipDeletionCheck = &v + return s +} + type DeleteDomainOutput struct { _ struct{} `type:"structure"` @@ -19409,6 +19436,9 @@ type DeleteProjectInput struct { // // Identifier is a required field Identifier *string `location:"uri" locationName:"identifier" type:"string" required:"true"` + + // Optional flag to asynchronously delete child entities within the project + SkipDeletionCheck *bool `location:"querystring" locationName:"skipDeletionCheck" type:"boolean"` } // String returns the string representation. @@ -19463,6 +19493,12 @@ func (s *DeleteProjectInput) SetIdentifier(v string) *DeleteProjectInput { return s } +// SetSkipDeletionCheck sets the SkipDeletionCheck field's value. +func (s *DeleteProjectInput) SetSkipDeletionCheck(v bool) *DeleteProjectInput { + s.SkipDeletionCheck = &v + return s +} + type DeleteProjectMembershipInput struct { _ struct{} `type:"structure"` @@ -24780,6 +24816,9 @@ type GetProjectOutput struct { // DomainId is a required field DomainId *string `locationName:"domainId" type:"string" required:"true"` + // Reasons for failed project deletion + FailureReasons []*ProjectDeletionError `locationName:"failureReasons" type:"list"` + // The business glossary terms that can be used in the project. GlossaryTerms []*string `locationName:"glossaryTerms" min:"1" type:"list"` @@ -24799,6 +24838,9 @@ type GetProjectOutput struct { // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true" sensitive:"true"` + + // Status of the project + ProjectStatus *string `locationName:"projectStatus" type:"string" enum:"ProjectStatus"` } // String returns the string representation. @@ -24843,6 +24885,12 @@ func (s *GetProjectOutput) SetDomainId(v string) *GetProjectOutput { return s } +// SetFailureReasons sets the FailureReasons field's value. +func (s *GetProjectOutput) SetFailureReasons(v []*ProjectDeletionError) *GetProjectOutput { + s.FailureReasons = v + return s +} + // SetGlossaryTerms sets the GlossaryTerms field's value. func (s *GetProjectOutput) SetGlossaryTerms(v []*string) *GetProjectOutput { s.GlossaryTerms = v @@ -24867,6 +24915,12 @@ func (s *GetProjectOutput) SetName(v string) *GetProjectOutput { return s } +// SetProjectStatus sets the ProjectStatus field's value. +func (s *GetProjectOutput) SetProjectStatus(v string) *GetProjectOutput { + s.ProjectStatus = &v + return s +} + type GetSubscriptionGrantInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -29860,6 +29914,47 @@ func (s *PredictionConfiguration) SetBusinessNameGeneration(v *BusinessNameGener return s } +// Error that occurred during project deletion +type ProjectDeletionError struct { + _ struct{} `type:"structure"` + + // Project Deletion Error Code + Code *string `locationName:"code" type:"string"` + + // Project Deletion Error Message + Message *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ProjectDeletionError) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ProjectDeletionError) GoString() string { + return s.String() +} + +// SetCode sets the Code field's value. +func (s *ProjectDeletionError) SetCode(v string) *ProjectDeletionError { + s.Code = &v + return s +} + +// SetMessage sets the Message field's value. +func (s *ProjectDeletionError) SetMessage(v string) *ProjectDeletionError { + s.Message = &v + return s +} + // The details of a project member. type ProjectMember struct { _ struct{} `type:"structure"` @@ -29929,6 +30024,9 @@ type ProjectSummary struct { // DomainId is a required field DomainId *string `locationName:"domainId" type:"string" required:"true"` + // Reasons for failed project deletion + FailureReasons []*ProjectDeletionError `locationName:"failureReasons" type:"list"` + // The identifier of a project. // // Id is a required field @@ -29943,6 +30041,9 @@ type ProjectSummary struct { // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true" sensitive:"true"` + // Status of the project + ProjectStatus *string `locationName:"projectStatus" type:"string" enum:"ProjectStatus"` + // The timestamp of when the project was updated. UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" timestampFormat:"iso8601"` } @@ -29989,6 +30090,12 @@ func (s *ProjectSummary) SetDomainId(v string) *ProjectSummary { return s } +// SetFailureReasons sets the FailureReasons field's value. +func (s *ProjectSummary) SetFailureReasons(v []*ProjectDeletionError) *ProjectSummary { + s.FailureReasons = v + return s +} + // SetId sets the Id field's value. func (s *ProjectSummary) SetId(v string) *ProjectSummary { s.Id = &v @@ -30001,6 +30108,12 @@ func (s *ProjectSummary) SetName(v string) *ProjectSummary { return s } +// SetProjectStatus sets the ProjectStatus field's value. +func (s *ProjectSummary) SetProjectStatus(v string) *ProjectSummary { + s.ProjectStatus = &v + return s +} + // SetUpdatedAt sets the UpdatedAt field's value. func (s *ProjectSummary) SetUpdatedAt(v time.Time) *ProjectSummary { s.UpdatedAt = &v @@ -36818,6 +36931,9 @@ type UpdateProjectOutput struct { // DomainId is a required field DomainId *string `locationName:"domainId" type:"string" required:"true"` + // Reasons for failed project deletion + FailureReasons []*ProjectDeletionError `locationName:"failureReasons" type:"list"` + // The glossary terms of the project that are to be updated. GlossaryTerms []*string `locationName:"glossaryTerms" min:"1" type:"list"` @@ -36837,6 +36953,9 @@ type UpdateProjectOutput struct { // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true" sensitive:"true"` + + // Status of the project + ProjectStatus *string `locationName:"projectStatus" type:"string" enum:"ProjectStatus"` } // String returns the string representation. @@ -36881,6 +37000,12 @@ func (s *UpdateProjectOutput) SetDomainId(v string) *UpdateProjectOutput { return s } +// SetFailureReasons sets the FailureReasons field's value. +func (s *UpdateProjectOutput) SetFailureReasons(v []*ProjectDeletionError) *UpdateProjectOutput { + s.FailureReasons = v + return s +} + // SetGlossaryTerms sets the GlossaryTerms field's value. func (s *UpdateProjectOutput) SetGlossaryTerms(v []*string) *UpdateProjectOutput { s.GlossaryTerms = v @@ -36905,6 +37030,12 @@ func (s *UpdateProjectOutput) SetName(v string) *UpdateProjectOutput { return s } +// SetProjectStatus sets the ProjectStatus field's value. +func (s *UpdateProjectOutput) SetProjectStatus(v string) *UpdateProjectOutput { + s.ProjectStatus = &v + return s +} + type UpdateSubscriptionGrantStatusInput struct { _ struct{} `type:"structure"` @@ -38706,6 +38837,26 @@ func NotificationType_Values() []string { } } +const ( + // ProjectStatusActive is a ProjectStatus enum value + ProjectStatusActive = "ACTIVE" + + // ProjectStatusDeleting is a ProjectStatus enum value + ProjectStatusDeleting = "DELETING" + + // ProjectStatusDeleteFailed is a ProjectStatus enum value + ProjectStatusDeleteFailed = "DELETE_FAILED" +) + +// ProjectStatus_Values returns all elements of the ProjectStatus enum +func ProjectStatus_Values() []string { + return []string{ + ProjectStatusActive, + ProjectStatusDeleting, + ProjectStatusDeleteFailed, + } +} + const ( // RejectRuleBehaviorAll is a RejectRuleBehavior enum value RejectRuleBehaviorAll = "ALL" diff --git a/service/route53/api.go b/service/route53/api.go index 7034b6149a8..9a4904feae3 100644 --- a/service/route53/api.go +++ b/service/route53/api.go @@ -12284,9 +12284,8 @@ func (s *GeoLocationDetails) SetSubdivisionName(v string) *GeoLocationDetails { return s } -// (Resource record sets only): A complex type that lets you control how Amazon -// Route 53 responds to DNS queries based on the geographic origin of the query -// and your resources. Only one of , LocalZoneGroup, Coordinates, or Amazon +// (Resource record sets only): A complex type that lets you specify where your +// resources are located. Only one of LocalZoneGroup, Coordinates, or Amazon // Web ServicesRegion is allowed per request at a time. // // For more information about geoproximity routing, see Geoproximity routing