From dcc1ee62e32350c7989e3eca9e4e65d0b7ae40ea Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Wed, 13 Dec 2023 15:02:32 -0500 Subject: [PATCH] Release v1.49.2 (2023-12-13) (#5109) Release v1.49.2 (2023-12-13) === ### Service Client Updates * `service/drs`: Updates service API and documentation --- CHANGELOG.md | 6 +++ aws/endpoints/defaults.go | 13 ++++++ aws/version.go | 2 +- models/apis/drs/2020-02-26/api-2.json | 6 +++ models/apis/drs/2020-02-26/docs-2.json | 7 ++++ .../drs/2020-02-26/endpoint-rule-set-1.json | 40 +++++++++---------- models/endpoints/endpoints.json | 7 ++++ service/drs/api.go | 36 +++++++++++++++++ 8 files changed, 96 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 337d3ace2e4..367d12cd912 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +Release v1.49.2 (2023-12-13) +=== + +### Service Client Updates +* `service/drs`: Updates service API and documentation + Release v1.49.1 (2023-12-12) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index b3d8f8c2c94..41a2711656a 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -12007,6 +12007,9 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -34775,6 +34778,16 @@ var awscnPartition = partition{ }: endpoint{}, }, }, + "pipes": service{ + Endpoints: serviceEndpoints{ + endpointKey{ + Region: "cn-north-1", + }: endpoint{}, + endpointKey{ + Region: "cn-northwest-1", + }: endpoint{}, + }, + }, "polly": service{ Endpoints: serviceEndpoints{ endpointKey{ diff --git a/aws/version.go b/aws/version.go index 9f8577b1158..c265c0b45a0 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.49.1" +const SDKVersion = "1.49.2" diff --git a/models/apis/drs/2020-02-26/api-2.json b/models/apis/drs/2020-02-26/api-2.json index 03ef34741a0..a18712a7c96 100644 --- a/models/apis/drs/2020-02-26/api-2.json +++ b/models/apis/drs/2020-02-26/api-2.json @@ -924,6 +924,10 @@ "max":50, "min":0 }, + "AgentVersion":{ + "type":"string", + "pattern":"^[0-9]{1,5}.[0-9]{1,5}.[0-9]{1,5}(.[0-9]{4}.[0-9]{3}.[0-9]{4})?$" + }, "AssociateSourceNetworkStackRequest":{ "type":"structure", "required":[ @@ -2321,6 +2325,7 @@ "RecoveryInstance":{ "type":"structure", "members":{ + "agentVersion":{"shape":"AgentVersion"}, "arn":{"shape":"ARN"}, "dataReplicationInfo":{"shape":"RecoveryInstanceDataReplicationInfo"}, "ec2InstanceID":{"shape":"EC2InstanceID"}, @@ -2816,6 +2821,7 @@ "SourceServer":{ "type":"structure", "members":{ + "agentVersion":{"shape":"AgentVersion"}, "arn":{"shape":"ARN"}, "dataReplicationInfo":{"shape":"DataReplicationInfo"}, "lastLaunchResult":{"shape":"LastLaunchResult"}, diff --git a/models/apis/drs/2020-02-26/docs-2.json b/models/apis/drs/2020-02-26/docs-2.json index 81cfd5e9557..9fa9577e088 100644 --- a/models/apis/drs/2020-02-26/docs-2.json +++ b/models/apis/drs/2020-02-26/docs-2.json @@ -114,6 +114,13 @@ "ListStagingAccountsResponse$accounts": "

An array of staging AWS Accounts.

" } }, + "AgentVersion": { + "base": null, + "refs": { + "RecoveryInstance$agentVersion": "

The version of the DRS agent installed on the recovery instance

", + "SourceServer$agentVersion": "

The version of the DRS agent installed on the source server

" + } + }, "AssociateSourceNetworkStackRequest": { "base": null, "refs": { diff --git a/models/apis/drs/2020-02-26/endpoint-rule-set-1.json b/models/apis/drs/2020-02-26/endpoint-rule-set-1.json index 28091fefced..7a53d04f4c6 100644 --- a/models/apis/drs/2020-02-26/endpoint-rule-set-1.json +++ b/models/apis/drs/2020-02-26/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,11 +212,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -231,14 +227,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -252,7 +250,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -272,7 +269,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -283,14 +279,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -301,9 +299,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index b91dfc05442..e100270b5e7 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -6843,6 +6843,7 @@ "deprecated" : true, "hostname" : "emr-serverless-fips.us-west-2.amazonaws.com" }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { @@ -20285,6 +20286,12 @@ "cn-northwest-1" : { } } }, + "pipes" : { + "endpoints" : { + "cn-north-1" : { }, + "cn-northwest-1" : { } + } + }, "polly" : { "endpoints" : { "cn-northwest-1" : { } diff --git a/service/drs/api.go b/service/drs/api.go index ce0894e9cb3..0ccf0ad9804 100644 --- a/service/drs/api.go +++ b/service/drs/api.go @@ -8654,6 +8654,9 @@ func (s *DisconnectSourceServerInput) SetSourceServerID(v string) *DisconnectSou type DisconnectSourceServerOutput struct { _ struct{} `type:"structure"` + // The version of the DRS agent installed on the source server + AgentVersion *string `locationName:"agentVersion" type:"string"` + // The ARN of the Source Server. Arn *string `locationName:"arn" min:"20" type:"string"` @@ -8718,6 +8721,12 @@ func (s DisconnectSourceServerOutput) GoString() string { return s.String() } +// SetAgentVersion sets the AgentVersion field's value. +func (s *DisconnectSourceServerOutput) SetAgentVersion(v string) *DisconnectSourceServerOutput { + s.AgentVersion = &v + return s +} + // SetArn sets the Arn field's value. func (s *DisconnectSourceServerOutput) SetArn(v string) *DisconnectSourceServerOutput { s.Arn = &v @@ -11597,6 +11606,9 @@ func (s *PutLaunchActionOutput) SetType(v string) *PutLaunchActionOutput { type RecoveryInstance struct { _ struct{} `type:"structure"` + // The version of the DRS agent installed on the recovery instance + AgentVersion *string `locationName:"agentVersion" type:"string"` + // The ARN of the Recovery Instance. Arn *string `locationName:"arn" min:"20" type:"string"` @@ -11665,6 +11677,12 @@ func (s RecoveryInstance) GoString() string { return s.String() } +// SetAgentVersion sets the AgentVersion field's value. +func (s *RecoveryInstance) SetAgentVersion(v string) *RecoveryInstance { + s.AgentVersion = &v + return s +} + // SetArn sets the Arn field's value. func (s *RecoveryInstance) SetArn(v string) *RecoveryInstance { s.Arn = &v @@ -12799,6 +12817,9 @@ func (s *RetryDataReplicationInput) SetSourceServerID(v string) *RetryDataReplic type RetryDataReplicationOutput struct { _ struct{} `type:"structure"` + // The version of the DRS agent installed on the source server + AgentVersion *string `locationName:"agentVersion" type:"string"` + // The ARN of the Source Server. Arn *string `locationName:"arn" min:"20" type:"string"` @@ -12863,6 +12884,12 @@ func (s RetryDataReplicationOutput) GoString() string { return s.String() } +// SetAgentVersion sets the AgentVersion field's value. +func (s *RetryDataReplicationOutput) SetAgentVersion(v string) *RetryDataReplicationOutput { + s.AgentVersion = &v + return s +} + // SetArn sets the Arn field's value. func (s *RetryDataReplicationOutput) SetArn(v string) *RetryDataReplicationOutput { s.Arn = &v @@ -13454,6 +13481,9 @@ func (s *SourceProperties) SetSupportsNitroInstances(v bool) *SourceProperties { type SourceServer struct { _ struct{} `type:"structure"` + // The version of the DRS agent installed on the source server + AgentVersion *string `locationName:"agentVersion" type:"string"` + // The ARN of the Source Server. Arn *string `locationName:"arn" min:"20" type:"string"` @@ -13518,6 +13548,12 @@ func (s SourceServer) GoString() string { return s.String() } +// SetAgentVersion sets the AgentVersion field's value. +func (s *SourceServer) SetAgentVersion(v string) *SourceServer { + s.AgentVersion = &v + return s +} + // SetArn sets the Arn field's value. func (s *SourceServer) SetArn(v string) *SourceServer { s.Arn = &v