diff --git a/CHANGELOG.md b/CHANGELOG.md index 0897d796fd..b4b2f483ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ +Release v1.42.43 (2022-01-27) +=== + +### Service Client Updates +* `service/amplify`: Updates service documentation +* `service/connect`: Updates service API and documentation +* `service/ec2`: Updates service API + * X2ezn instances are powered by Intel Cascade Lake CPUs that deliver turbo all core frequency of up to 4.5 GHz and up to 100 Gbps of networking bandwidth +* `service/kafka`: Updates service API and documentation +* `service/opensearch`: Updates service API and documentation + +### SDK Bugs +* `aws/request`: Update Request Send to always ensure Request.HTTPResponse is populated. + * Fixes [#4211](https://github.com/aws/aws-sdk-go/issues/4211) + Release v1.42.42 (2022-01-26) === diff --git a/CHANGELOG_PENDING.md b/CHANGELOG_PENDING.md index d5e775f28b..8a1927a39c 100644 --- a/CHANGELOG_PENDING.md +++ b/CHANGELOG_PENDING.md @@ -3,5 +3,3 @@ ### SDK Enhancements ### SDK Bugs -* `aws/request`: Update Request Send to always ensure Request.HTTPResponse is populated. - * Fixes [#4211](https://github.com/aws/aws-sdk-go/issues/4211) diff --git a/aws/version.go b/aws/version.go index c6953a8290..b08c2dd809 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.42.42" +const SDKVersion = "1.42.43" diff --git a/models/apis/amplify/2017-07-25/docs-2.json b/models/apis/amplify/2017-07-25/docs-2.json index 17bc12c50f..6ffff49583 100644 --- a/models/apis/amplify/2017-07-25/docs-2.json +++ b/models/apis/amplify/2017-07-25/docs-2.json @@ -236,13 +236,13 @@ "BasicAuthCredentials": { "base": null, "refs": { - "App$basicAuthCredentials": "

The basic authorization credentials for branches for the Amplify app.

", - "AutoBranchCreationConfig$basicAuthCredentials": "

The basic authorization credentials for the autocreated branch.

", - "Branch$basicAuthCredentials": "

The basic authorization credentials for a branch of an Amplify app.

", - "CreateAppRequest$basicAuthCredentials": "

The credentials for basic authorization for an Amplify app.

", - "CreateBranchRequest$basicAuthCredentials": "

The basic authorization credentials for the branch.

", - "UpdateAppRequest$basicAuthCredentials": "

The basic authorization credentials for an Amplify app.

", - "UpdateBranchRequest$basicAuthCredentials": "

The basic authorization credentials for the branch.

" + "App$basicAuthCredentials": "

The basic authorization credentials for branches for the Amplify app. You must base64-encode the authorization credentials and provide them in the format user:password.

", + "AutoBranchCreationConfig$basicAuthCredentials": "

The basic authorization credentials for the autocreated branch. You must base64-encode the authorization credentials and provide them in the format user:password.

", + "Branch$basicAuthCredentials": "

The basic authorization credentials for a branch of an Amplify app. You must base64-encode the authorization credentials and provide them in the format user:password.

", + "CreateAppRequest$basicAuthCredentials": "

The credentials for basic authorization for an Amplify app. You must base64-encode the authorization credentials and provide them in the format user:password.

", + "CreateBranchRequest$basicAuthCredentials": "

The basic authorization credentials for the branch. You must base64-encode the authorization credentials and provide them in the format user:password.

", + "UpdateAppRequest$basicAuthCredentials": "

The basic authorization credentials for an Amplify app. You must base64-encode the authorization credentials and provide them in the format user:password.

", + "UpdateBranchRequest$basicAuthCredentials": "

The basic authorization credentials for the branch. You must base64-encode the authorization credentials and provide them in the format user:password.

" } }, "Branch": { diff --git a/models/apis/connect/2017-08-08/api-2.json b/models/apis/connect/2017-08-08/api-2.json index 4a5b71c328..834e233650 100644 --- a/models/apis/connect/2017-08-08/api-2.json +++ b/models/apis/connect/2017-08-08/api-2.json @@ -2508,6 +2508,11 @@ "max":100, "min":1 }, + "ChatDurationInMinutes":{ + "type":"integer", + "max":10080, + "min":60 + }, "ChatMessage":{ "type":"structure", "required":[ @@ -6521,7 +6526,8 @@ "ClientToken":{ "shape":"ClientToken", "idempotencyToken":true - } + }, + "ChatDurationInMinutes":{"shape":"ChatDurationInMinutes"} } }, "StartChatContactResponse":{ diff --git a/models/apis/connect/2017-08-08/docs-2.json b/models/apis/connect/2017-08-08/docs-2.json index 67e2341e02..0aa7dbf25d 100644 --- a/models/apis/connect/2017-08-08/docs-2.json +++ b/models/apis/connect/2017-08-08/docs-2.json @@ -94,7 +94,7 @@ "ListUsers": "

Provides summary information about the users for the specified Amazon Connect instance.

", "ResumeContactRecording": "

When a contact is being recorded, and the recording has been suspended using SuspendContactRecording, this API resumes recording the call.

Only voice recordings are supported at this time.

", "SearchVocabularies": "

Searches for vocabularies within a specific Amazon Connect instance using State, NameStartsWith, and LanguageCode.

", - "StartChatContact": "

Initiates a contact flow to start a new chat for the customer. Response of this API provides a token required to obtain credentials from the CreateParticipantConnection API in the Amazon Connect Participant Service.

When a new chat contact is successfully created, clients must subscribe to the participant’s connection for the created chat within 5 minutes. This is achieved by invoking CreateParticipantConnection with WEBSOCKET and CONNECTION_CREDENTIALS.

A 429 error occurs in two situations:

For more information about chat, see Chat in the Amazon Connect Administrator Guide.

", + "StartChatContact": "

Initiates a contact flow to start a new chat for the customer. Response of this API provides a token required to obtain credentials from the CreateParticipantConnection API in the Amazon Connect Participant Service.

When a new chat contact is successfully created, clients must subscribe to the participant’s connection for the created chat within 5 minutes. This is achieved by invoking CreateParticipantConnection with WEBSOCKET and CONNECTION_CREDENTIALS.

A 429 error occurs in the following situations:

If you use the ChatDurationInMinutes parameter and receive a 400 error, your account may not support the ability to configure custom chat durations. For more information, contact Amazon Web Services Support.

For more information about chat, see Chat in the Amazon Connect Administrator Guide.

", "StartContactRecording": "

Starts recording the contact when the agent joins the call. StartContactRecording is a one-time action. For example, if you use StopContactRecording to stop recording an ongoing call, you can't use StartContactRecording to restart it. For scenarios where the recording has started and you want to suspend and resume it, such as when collecting sensitive information (for example, a credit card number), use SuspendContactRecording and ResumeContactRecording.

You can use this API to override the recording behavior configured in the Set recording behavior block.

Only voice recordings are supported at this time.

", "StartContactStreaming": "

Initiates real-time message streaming for a new chat contact.

For more information about message streaming, see Enable real-time chat message streaming in the Amazon Connect Administrator Guide.

", "StartOutboundVoiceContact": "

Places an outbound call to a contact, and then initiates the contact flow. It performs the actions in the contact flow that's specified (in ContactFlowId).

Agents do not initiate the outbound API, which means that they do not dial the contact. If the contact flow places an outbound call to a contact, and then puts the contact in queue, the call is then routed to the agent, like any other inbound case.

There is a 60-second dialing timeout for this operation. If the call is not connected after 60 seconds, it fails.

UK numbers with a 447 prefix are not allowed by default. Before you can dial these UK mobile numbers, you must submit a service quota increase request. For more information, see Amazon Connect Service Quotas in the Amazon Connect Administrator Guide.

Campaign calls are not allowed by default. Before you can make a call with TrafficType = CAMPAIGN, you must submit a service quota increase request. For more information, see Amazon Connect Service Quotas in the Amazon Connect Administrator Guide.

", @@ -505,6 +505,12 @@ "ChatMessage$ContentType": "

The type of the content. Supported types are text and plain.

" } }, + "ChatDurationInMinutes": { + "base": null, + "refs": { + "StartChatContactRequest$ChatDurationInMinutes": "

The total duration of the newly started chat session. If not specified, the chat session duration defaults to 25 hour. The minumum configurable time is 60 minutes. The maximum configurable time is 10,080 minutes (7 days).

" + } + }, "ChatMessage": { "base": "

A chat message.

", "refs": { @@ -682,7 +688,7 @@ "ContactFlow$Name": "

The name of the contact flow.

", "ContactFlowSummary$Name": "

The name of the contact flow.

", "CreateContactFlowRequest$Name": "

The name of the contact flow.

", - "UpdateContactFlowMetadataRequest$Name": "

The name of the contact flow.

", + "UpdateContactFlowMetadataRequest$Name": "

TThe name of the contact flow.

", "UpdateContactFlowNameRequest$Name": "

The name of the contact flow.

" } }, diff --git a/models/apis/ec2/2016-11-15/api-2.json b/models/apis/ec2/2016-11-15/api-2.json index 64c181dfed..bd06184433 100755 --- a/models/apis/ec2/2016-11-15/api-2.json +++ b/models/apis/ec2/2016-11-15/api-2.json @@ -23980,6 +23980,12 @@ "x1e.8xlarge", "x1e.16xlarge", "x1e.32xlarge", + "x2iezn.2xlarge", + "x2iezn.4xlarge", + "x2iezn.6xlarge", + "x2iezn.8xlarge", + "x2iezn.12xlarge", + "x2iezn.metal", "x2gd.medium", "x2gd.large", "x2gd.xlarge", diff --git a/models/apis/kafka/2018-11-14/api-2.json b/models/apis/kafka/2018-11-14/api-2.json index 3a27cedb24..af6ff7ca9f 100644 --- a/models/apis/kafka/2018-11-14/api-2.json +++ b/models/apis/kafka/2018-11-14/api-2.json @@ -1158,13 +1158,16 @@ "shape": "__string", "locationName": "kafkaBrokerNodeId" }, + "ProvisionedThroughput" : { + "shape" : "ProvisionedThroughput", + "locationName" : "provisionedThroughput" + }, "VolumeSizeGB": { "shape": "__integer", "locationName": "volumeSizeGB" } }, "required": [ - "VolumeSizeGB", "KafkaBrokerNodeId" ] }, @@ -1935,6 +1938,10 @@ "EBSStorageInfo": { "type": "structure", "members": { + "ProvisionedThroughput" : { + "shape" : "ProvisionedThroughput", + "locationName" : "provisionedThroughput" + }, "VolumeSize": { "shape": "__integerMin1Max16384", "locationName": "volumeSize" @@ -3479,6 +3486,19 @@ } } }, + "ProvisionedThroughput" : { + "type" : "structure", + "members" : { + "Enabled" : { + "shape" : "__boolean", + "locationName" : "enabled" + }, + "VolumeThroughput" : { + "shape" : "__integer", + "locationName" : "volumeThroughput" + } + } + }, "PublicAccess":{ "type":"structure", "members":{ diff --git a/models/apis/kafka/2018-11-14/docs-2.json b/models/apis/kafka/2018-11-14/docs-2.json index 1caff59387..0990fa44ce 100644 --- a/models/apis/kafka/2018-11-14/docs-2.json +++ b/models/apis/kafka/2018-11-14/docs-2.json @@ -515,6 +515,13 @@ "OpenMonitoringInfo$Prometheus" : "

Prometheus settings.

" } }, + "ProvisionedThroughput" : { + "base" : "Contains information about provisioned throughput for EBS storage volumes attached to kafka broker nodes.", + "refs" : { + "BrokerEBSVolumeInfo$ProvisionedThroughput" : "EBS volume provisioned throughput information.", + "EBSStorageInfo$ProvisionedThroughput" : "EBS volume provisioned throughput information." + } + }, "PublicAccess" : { "base" : "

Broker public access control.

", "refs" : { @@ -668,6 +675,7 @@ "JmxExporterInfo$EnabledInBroker" : "

JMX Exporter being enabled in broker.

", "NodeExporter$EnabledInBroker" : "

Indicates whether you want to enable or disable the Node Exporter.

", "NodeExporterInfo$EnabledInBroker" : "

Node Exporter being enabled in broker.

", + "ProvisionedThroughput$Enabled" : "Provisioned throughput is enabled or not.", "S3$Enabled" : "

Specifies whether broker logs get sent to the specified Amazon S3 destination.

", "Scram$Enabled" : "

SASL/SCRAM authentication is enabled or not.

", "Tls$Enabled" : "

TLS authentication is enabled or not.

", @@ -687,7 +695,8 @@ "BrokerEBSVolumeInfo$VolumeSizeGB" : "\n

Size of the EBS volume to update.

\n ", "ClusterInfo$NumberOfBrokerNodes" : "\n

The number of broker nodes in the cluster.

\n ", "CreateClusterRequest$NumberOfBrokerNodes" : "\n

The number of broker nodes in the cluster.

\n ", - "MutableClusterInfo$NumberOfBrokerNodes" : "\n

The number of broker nodes in the cluster.

\n " + "MutableClusterInfo$NumberOfBrokerNodes" : "\n

The number of broker nodes in the cluster.

\n ", + "ProvisionedThroughput$VolumeThroughput" : "Throughput value of the EBS volumes for the data drive on each kafka broker node in MiB per second." } }, "__integerMin1Max15" : { diff --git a/models/apis/opensearch/2021-01-01/api-2.json b/models/apis/opensearch/2021-01-01/api-2.json index 65af829c6a..809171283c 100644 --- a/models/apis/opensearch/2021-01-01/api-2.json +++ b/models/apis/opensearch/2021-01-01/api-2.json @@ -209,6 +209,21 @@ {"shape":"ValidationException"} ] }, + "DescribeDomainChangeProgress":{ + "name":"DescribeDomainChangeProgress", + "http":{ + "method":"GET", + "requestUri":"/2021-01-01/opensearch/domain/{DomainName}/progress" + }, + "input":{"shape":"DescribeDomainChangeProgressRequest"}, + "output":{"shape":"DescribeDomainChangeProgressResponse"}, + "errors":[ + {"shape":"BaseException"}, + {"shape":"InternalException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ValidationException"} + ] + }, "DescribeDomainConfig":{ "name":"DescribeDomainConfig", "http":{ @@ -880,6 +895,48 @@ "ServiceSoftwareOptions":{"shape":"ServiceSoftwareOptions"} } }, + "ChangeProgressDetails":{ + "type":"structure", + "members":{ + "ChangeId":{"shape":"GUID"}, + "Message":{"shape":"Message"} + } + }, + "ChangeProgressStage":{ + "type":"structure", + "members":{ + "Name":{"shape":"ChangeProgressStageName"}, + "Status":{"shape":"ChangeProgressStageStatus"}, + "Description":{"shape":"Description"}, + "LastUpdated":{"shape":"LastUpdated"} + } + }, + "ChangeProgressStageList":{ + "type":"list", + "member":{"shape":"ChangeProgressStage"} + }, + "ChangeProgressStageName":{ + "type":"string", + "max":64, + "min":1 + }, + "ChangeProgressStageStatus":{ + "type":"string", + "max":256, + "min":1 + }, + "ChangeProgressStatusDetails":{ + "type":"structure", + "members":{ + "ChangeId":{"shape":"GUID"}, + "StartTime":{"shape":"UpdateTimestamp"}, + "Status":{"shape":"OverallChangeStatus"}, + "PendingProperties":{"shape":"StringList"}, + "CompletedProperties":{"shape":"StringList"}, + "TotalNumberOfStages":{"shape":"TotalNumberOfStages"}, + "ChangeProgressStages":{"shape":"ChangeProgressStageList"} + } + }, "CloudWatchLogsLogGroupArn":{ "type":"string", "max":2048, @@ -1151,6 +1208,28 @@ "NextToken":{"shape":"NextToken"} } }, + "DescribeDomainChangeProgressRequest":{ + "type":"structure", + "required":["DomainName"], + "members":{ + "DomainName":{ + "shape":"DomainName", + "location":"uri", + "locationName":"DomainName" + }, + "ChangeId":{ + "shape":"GUID", + "location":"querystring", + "locationName":"changeid" + } + } + }, + "DescribeDomainChangeProgressResponse":{ + "type":"structure", + "members":{ + "ChangeProgressStatus":{"shape":"ChangeProgressStatusDetails"} + } + }, "DescribeDomainConfigRequest":{ "type":"structure", "required":["DomainName"], @@ -1357,6 +1436,7 @@ "ReservedInstances":{"shape":"ReservedInstanceList"} } }, + "Description":{"type":"string"}, "DisableTimestamp":{"type":"timestamp"}, "DisabledOperationException":{ "type":"structure", @@ -1406,7 +1486,8 @@ "LogPublishingOptions":{"shape":"LogPublishingOptionsStatus"}, "DomainEndpointOptions":{"shape":"DomainEndpointOptionsStatus"}, "AdvancedSecurityOptions":{"shape":"AdvancedSecurityOptionsStatus"}, - "AutoTuneOptions":{"shape":"AutoTuneOptionsStatus"} + "AutoTuneOptions":{"shape":"AutoTuneOptionsStatus"}, + "ChangeProgressDetails":{"shape":"ChangeProgressDetails"} } }, "DomainEndpointOptions":{ @@ -1528,7 +1609,8 @@ "ServiceSoftwareOptions":{"shape":"ServiceSoftwareOptions"}, "DomainEndpointOptions":{"shape":"DomainEndpointOptions"}, "AdvancedSecurityOptions":{"shape":"AdvancedSecurityOptions"}, - "AutoTuneOptions":{"shape":"AutoTuneOptionsOutput"} + "AutoTuneOptions":{"shape":"AutoTuneOptionsOutput"}, + "ChangeProgressDetails":{"shape":"ChangeProgressDetails"} } }, "DomainStatusList":{ @@ -2245,6 +2327,15 @@ "type":"list", "member":{"shape":"OutboundConnection"} }, + "OverallChangeStatus":{ + "type":"string", + "enum":[ + "PENDING", + "PROCESSING", + "COMPLETED", + "FAILED" + ] + }, "OwnerId":{ "type":"string", "max":12, @@ -2668,6 +2759,7 @@ "type":"string", "enum":["HOURS"] }, + "TotalNumberOfStages":{"type":"integer"}, "UIntValue":{ "type":"integer", "min":0 @@ -2745,7 +2837,8 @@ "DomainName":{"shape":"DomainName"}, "TargetVersion":{"shape":"VersionString"}, "PerformCheckOnly":{"shape":"Boolean"}, - "AdvancedOptions":{"shape":"AdvancedOptions"} + "AdvancedOptions":{"shape":"AdvancedOptions"}, + "ChangeProgressDetails":{"shape":"ChangeProgressDetails"} } }, "UpgradeHistory":{ diff --git a/models/apis/opensearch/2021-01-01/docs-2.json b/models/apis/opensearch/2021-01-01/docs-2.json index 2d03a4f2d8..3ca017dbbe 100644 --- a/models/apis/opensearch/2021-01-01/docs-2.json +++ b/models/apis/opensearch/2021-01-01/docs-2.json @@ -15,6 +15,7 @@ "DeletePackage": "

Deletes the package.

", "DescribeDomain": "

Returns domain configuration information about the specified domain, including the domain ID, domain endpoint, and domain ARN.

", "DescribeDomainAutoTunes": "

Provides scheduled Auto-Tune action details for the domain, such as Auto-Tune action type, description, severity, and scheduled date.

", + "DescribeDomainChangeProgress": "

Returns information about the current blue/green deployment happening on a domain, including a change ID, status, and progress stages.

", "DescribeDomainConfig": "

Provides cluster configuration information about the specified domain, such as the state, creation date, update version, and update date for cluster options.

", "DescribeDomains": "

Returns domain configuration information about the specified domains, including the domain ID, domain endpoint, and domain ARN.

", "DescribeInboundConnections": "

Lists all the inbound cross-cluster connections for a remote domain.

", @@ -294,6 +295,44 @@ "refs": { } }, + "ChangeProgressDetails": { + "base": "

Specifies change details of the domain configuration change.

", + "refs": { + "DomainConfig$ChangeProgressDetails": "

Specifies change details of the domain configuration change.

", + "DomainStatus$ChangeProgressDetails": "

Specifies change details of the domain configuration change.

", + "UpgradeDomainResponse$ChangeProgressDetails": null + } + }, + "ChangeProgressStage": { + "base": "

A progress stage details of a specific domain configuration change.

", + "refs": { + "ChangeProgressStageList$member": null + } + }, + "ChangeProgressStageList": { + "base": "

The list of progress stages of a specific domain configuration change.

", + "refs": { + "ChangeProgressStatusDetails$ChangeProgressStages": "

The specific stages that the domain is going through to perform the configuration change.

" + } + }, + "ChangeProgressStageName": { + "base": null, + "refs": { + "ChangeProgressStage$Name": "

The name of the specific progress stage.

" + } + }, + "ChangeProgressStageStatus": { + "base": null, + "refs": { + "ChangeProgressStage$Status": "

The overall status of a specific progress stage.

" + } + }, + "ChangeProgressStatusDetails": { + "base": "

The progress details of a specific domain configuration change.

", + "refs": { + "DescribeDomainChangeProgressResponse$ChangeProgressStatus": "

Progress information for the configuration change that is requested in the DescribeDomainChangeProgress request.

" + } + }, "CloudWatchLogsLogGroupArn": { "base": "

ARN of the Cloudwatch log group to publish logs to.

", "refs": { @@ -492,6 +531,16 @@ "refs": { } }, + "DescribeDomainChangeProgressRequest": { + "base": "

Container for the parameters to the DescribeDomainChangeProgress operation. Specifies the domain name and optional change specific identity for which you want progress information.

", + "refs": { + } + }, + "DescribeDomainChangeProgressResponse": { + "base": "

The result of a DescribeDomainChangeProgress request. Contains the progress information of the requested domain change.

", + "refs": { + } + }, "DescribeDomainConfigRequest": { "base": "

Container for the parameters to the DescribeDomainConfig operation. Specifies the domain name for which you want configuration information.

", "refs": { @@ -612,6 +661,12 @@ "refs": { } }, + "Description": { + "base": null, + "refs": { + "ChangeProgressStage$Description": "

The description of the progress stage.

" + } + }, "DisableTimestamp": { "base": null, "refs": { @@ -695,6 +750,7 @@ "CreateDomainRequest$DomainName": "

The name of the Amazon OpenSearch Service domain you're creating. Domain names are unique across the domains owned by an account within an AWS region. Domain names must start with a lowercase letter and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).

", "DeleteDomainRequest$DomainName": "

The name of the domain you want to permanently delete.

", "DescribeDomainAutoTunesRequest$DomainName": "

The domain name for which you want Auto-Tune action details.

", + "DescribeDomainChangeProgressRequest$DomainName": "

The domain you want to get the progress information about.

", "DescribeDomainConfigRequest$DomainName": "

The domain you want to get information about.

", "DescribeDomainRequest$DomainName": "

The name of the domain for which you want information.

", "DescribeInstanceTypeLimitsRequest$DomainName": "

The name of the domain you want to modify. Only include this value if you're querying OpenSearch Limits for an existing domain.

", @@ -876,6 +932,9 @@ "GUID": { "base": null, "refs": { + "ChangeProgressDetails$ChangeId": "

The unique change identifier associated with a specific domain configuration change.

", + "ChangeProgressStatusDetails$ChangeId": "

The unique change identifier associated with a specific domain configuration change.

", + "DescribeDomainChangeProgressRequest$ChangeId": "

The specific change ID for which you want to get progress information. This is an optional parameter. If omitted, the service returns information about the most recent configuration change.

", "DescribeReservedInstanceOfferingsRequest$ReservedInstanceOfferingId": "

The offering identifier filter value. Use this parameter to show only the available offering that matches the specified reservation identifier.

", "DescribeReservedInstancesRequest$ReservedInstanceId": "

The reserved instance identifier filter value. Use this parameter to show only the reservation that matches the specified reserved OpenSearch instance ID.

", "PurchaseReservedInstanceOfferingRequest$ReservedInstanceOfferingId": "

The ID of the reserved OpenSearch instance offering to purchase.

", @@ -1058,6 +1117,7 @@ "LastUpdated": { "base": null, "refs": { + "ChangeProgressStage$LastUpdated": "

The last updated timestamp of the progress stage.

", "DomainPackageDetails$LastUpdated": "

The timestamp of the most recent update to the package association status.

", "PackageDetails$LastUpdatedAt": null } @@ -1224,6 +1284,7 @@ "Message": { "base": null, "refs": { + "ChangeProgressDetails$Message": "

Contains an optional message associated with the domain configuration change.

", "DryRunResults$Message": "

Contains an optional message associated with the DryRunResults.

" } }, @@ -1345,6 +1406,12 @@ "DescribeOutboundConnectionsResponse$Connections": "

A list of OutboundConnection matching the specified filter criteria.

" } }, + "OverallChangeStatus": { + "base": "

The overall status value of the domain configuration change.

", + "refs": { + "ChangeProgressStatusDetails$Status": "

The overall status of the domain configuration change. This field can take the following values: PENDING, PROCESSING, COMPLETED and FAILED

" + } + }, "OwnerId": { "base": null, "refs": { @@ -1753,6 +1820,8 @@ "StringList": { "base": null, "refs": { + "ChangeProgressStatusDetails$PendingProperties": "

The list of properties involved in the domain configuration change that are still in pending.

", + "ChangeProgressStatusDetails$CompletedProperties": "

The list of properties involved in the domain configuration change that are completed.

", "RemoveTagsRequest$TagKeys": "

The TagKey list you want to remove from the domain.

", "VPCDerivedInfo$SubnetIds": "

The subnets for the VPC endpoint.

", "VPCDerivedInfo$AvailabilityZones": "

The Availability Zones for the domain. Exists only if the domain was created with VPCOptions.

", @@ -1799,6 +1868,12 @@ "Duration$Unit": "

The unit of a maintenance schedule duration. Valid value is HOURS. See Auto-Tune for Amazon OpenSearch Service for more information.

" } }, + "TotalNumberOfStages": { + "base": null, + "refs": { + "ChangeProgressStatusDetails$TotalNumberOfStages": "

The total number of stages required for the configuration change.

" + } + }, "UIntValue": { "base": null, "refs": { @@ -1831,6 +1906,7 @@ "refs": { "AutoTuneStatus$CreationDate": "

The timestamp of the Auto-Tune options creation date.

", "AutoTuneStatus$UpdateDate": "

The timestamp of when the Auto-Tune options were last updated.

", + "ChangeProgressStatusDetails$StartTime": "

The time at which the configuration change is made on the domain.

", "OptionStatus$CreationDate": "

The timestamp of when the entity was created.

", "OptionStatus$UpdateDate": "

The timestamp of the last time the entity was updated.

", "ReservedInstance$StartTime": "

The time the reservation started.

" diff --git a/service/amplify/api.go b/service/amplify/api.go index 98464e603b..6964b1e38e 100644 --- a/service/amplify/api.go +++ b/service/amplify/api.go @@ -3344,7 +3344,9 @@ type App struct { // Describes the automated branch creation glob patterns for the Amplify app. AutoBranchCreationPatterns []*string `locationName:"autoBranchCreationPatterns" type:"list"` - // The basic authorization credentials for branches for the Amplify app. + // The basic authorization credentials for branches for the Amplify app. You + // must base64-encode the authorization credentials and provide them in the + // format user:password. // // BasicAuthCredentials is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by App's @@ -3634,7 +3636,9 @@ func (s *Artifact) SetArtifactId(v string) *Artifact { type AutoBranchCreationConfig struct { _ struct{} `type:"structure"` - // The basic authorization credentials for the autocreated branch. + // The basic authorization credentials for the autocreated branch. You must + // base64-encode the authorization credentials and provide them in the format + // user:password. // // BasicAuthCredentials is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by AutoBranchCreationConfig's @@ -3932,7 +3936,9 @@ type Branch struct { // an Amplify app. BackendEnvironmentArn *string `locationName:"backendEnvironmentArn" min:"1" type:"string"` - // The basic authorization credentials for a branch of an Amplify app. + // The basic authorization credentials for a branch of an Amplify app. You must + // base64-encode the authorization credentials and provide them in the format + // user:password. // // BasicAuthCredentials is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by Branch's @@ -4245,7 +4251,8 @@ type CreateAppInput struct { // The automated branch creation glob patterns for an Amplify app. AutoBranchCreationPatterns []*string `locationName:"autoBranchCreationPatterns" type:"list"` - // The credentials for basic authorization for an Amplify app. + // The credentials for basic authorization for an Amplify app. You must base64-encode + // the authorization credentials and provide them in the format user:password. // // BasicAuthCredentials is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by CreateAppInput's @@ -4659,7 +4666,8 @@ type CreateBranchInput struct { // an Amplify app. BackendEnvironmentArn *string `locationName:"backendEnvironmentArn" min:"1" type:"string"` - // The basic authorization credentials for the branch. + // The basic authorization credentials for the branch. You must base64-encode + // the authorization credentials and provide them in the format user:password. // // BasicAuthCredentials is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by CreateBranchInput's @@ -9311,7 +9319,8 @@ type UpdateAppInput struct { // Describes the automated branch creation glob patterns for an Amplify app. AutoBranchCreationPatterns []*string `locationName:"autoBranchCreationPatterns" type:"list"` - // The basic authorization credentials for an Amplify app. + // The basic authorization credentials for an Amplify app. You must base64-encode + // the authorization credentials and provide them in the format user:password. // // BasicAuthCredentials is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by UpdateAppInput's @@ -9594,7 +9603,8 @@ type UpdateBranchInput struct { // an Amplify app. BackendEnvironmentArn *string `locationName:"backendEnvironmentArn" min:"1" type:"string"` - // The basic authorization credentials for the branch. + // The basic authorization credentials for the branch. You must base64-encode + // the authorization credentials and provide them in the format user:password. // // BasicAuthCredentials is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by UpdateBranchInput's diff --git a/service/connect/api.go b/service/connect/api.go index f56df2a58e..61f29c0c7a 100644 --- a/service/connect/api.go +++ b/service/connect/api.go @@ -10510,7 +10510,7 @@ func (c *Connect) StartChatContactRequest(input *StartChatContactInput) (req *re // is achieved by invoking CreateParticipantConnection (https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_CreateParticipantConnection.html) // with WEBSOCKET and CONNECTION_CREDENTIALS. // -// A 429 error occurs in two situations: +// A 429 error occurs in the following situations: // // * API rate limit is exceeded. API TPS throttling returns a TooManyRequests // exception. @@ -10518,6 +10518,10 @@ func (c *Connect) StartChatContactRequest(input *StartChatContactInput) (req *re // * The quota for concurrent active chats (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html) // is exceeded. Active chat throttling returns a LimitExceededException. // +// If you use the ChatDurationInMinutes parameter and receive a 400 error, your +// account may not support the ability to configure custom chat durations. For +// more information, contact Amazon Web Services Support. +// // For more information about chat, see Chat (https://docs.aws.amazon.com/connect/latest/adminguide/chat.html) // in the Amazon Connect Administrator Guide. // @@ -31198,6 +31202,11 @@ type StartChatContactInput struct { // Attribute keys can include only alphanumeric, dash, and underscore characters. Attributes map[string]*string `type:"map"` + // The total duration of the newly started chat session. If not specified, the + // chat session duration defaults to 25 hour. The minumum configurable time + // is 60 minutes. The maximum configurable time is 10,080 minutes (7 days). + ChatDurationInMinutes *int64 `min:"60" type:"integer"` + // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. ClientToken *string `type:"string" idempotencyToken:"true"` @@ -31249,6 +31258,9 @@ func (s StartChatContactInput) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *StartChatContactInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "StartChatContactInput"} + if s.ChatDurationInMinutes != nil && *s.ChatDurationInMinutes < 60 { + invalidParams.Add(request.NewErrParamMinValue("ChatDurationInMinutes", 60)) + } if s.ContactFlowId == nil { invalidParams.Add(request.NewErrParamRequired("ContactFlowId")) } @@ -31284,6 +31296,12 @@ func (s *StartChatContactInput) SetAttributes(v map[string]*string) *StartChatCo return s } +// SetChatDurationInMinutes sets the ChatDurationInMinutes field's value. +func (s *StartChatContactInput) SetChatDurationInMinutes(v int64) *StartChatContactInput { + s.ChatDurationInMinutes = &v + return s +} + // SetClientToken sets the ClientToken field's value. func (s *StartChatContactInput) SetClientToken(v string) *StartChatContactInput { s.ClientToken = &v @@ -33068,7 +33086,7 @@ type UpdateContactFlowMetadataInput struct { // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` - // The name of the contact flow. + // TThe name of the contact flow. Name *string `min:"1" type:"string"` } diff --git a/service/ec2/api.go b/service/ec2/api.go index 0e644512e5..fb415b5fef 100644 --- a/service/ec2/api.go +++ b/service/ec2/api.go @@ -163212,6 +163212,24 @@ const ( // InstanceTypeX1e32xlarge is a InstanceType enum value InstanceTypeX1e32xlarge = "x1e.32xlarge" + // InstanceTypeX2iezn2xlarge is a InstanceType enum value + InstanceTypeX2iezn2xlarge = "x2iezn.2xlarge" + + // InstanceTypeX2iezn4xlarge is a InstanceType enum value + InstanceTypeX2iezn4xlarge = "x2iezn.4xlarge" + + // InstanceTypeX2iezn6xlarge is a InstanceType enum value + InstanceTypeX2iezn6xlarge = "x2iezn.6xlarge" + + // InstanceTypeX2iezn8xlarge is a InstanceType enum value + InstanceTypeX2iezn8xlarge = "x2iezn.8xlarge" + + // InstanceTypeX2iezn12xlarge is a InstanceType enum value + InstanceTypeX2iezn12xlarge = "x2iezn.12xlarge" + + // InstanceTypeX2ieznMetal is a InstanceType enum value + InstanceTypeX2ieznMetal = "x2iezn.metal" + // InstanceTypeX2gdMedium is a InstanceType enum value InstanceTypeX2gdMedium = "x2gd.medium" @@ -163727,6 +163745,12 @@ func InstanceType_Values() []string { InstanceTypeX1e8xlarge, InstanceTypeX1e16xlarge, InstanceTypeX1e32xlarge, + InstanceTypeX2iezn2xlarge, + InstanceTypeX2iezn4xlarge, + InstanceTypeX2iezn6xlarge, + InstanceTypeX2iezn8xlarge, + InstanceTypeX2iezn12xlarge, + InstanceTypeX2ieznMetal, InstanceTypeX2gdMedium, InstanceTypeX2gdLarge, InstanceTypeX2gdXlarge, diff --git a/service/kafka/api.go b/service/kafka/api.go index 7f224046e8..1c7e295379 100644 --- a/service/kafka/api.go +++ b/service/kafka/api.go @@ -4005,10 +4005,11 @@ type BrokerEBSVolumeInfo struct { // KafkaBrokerNodeId is a required field KafkaBrokerNodeId *string `locationName:"kafkaBrokerNodeId" type:"string" required:"true"` + // EBS volume provisioned throughput information. + ProvisionedThroughput *ProvisionedThroughput `locationName:"provisionedThroughput" type:"structure"` + // Size of the EBS volume to update. - // - // VolumeSizeGB is a required field - VolumeSizeGB *int64 `locationName:"volumeSizeGB" type:"integer" required:"true"` + VolumeSizeGB *int64 `locationName:"volumeSizeGB" type:"integer"` } // String returns the string representation. @@ -4035,9 +4036,6 @@ func (s *BrokerEBSVolumeInfo) Validate() error { if s.KafkaBrokerNodeId == nil { invalidParams.Add(request.NewErrParamRequired("KafkaBrokerNodeId")) } - if s.VolumeSizeGB == nil { - invalidParams.Add(request.NewErrParamRequired("VolumeSizeGB")) - } if invalidParams.Len() > 0 { return invalidParams @@ -4051,6 +4049,12 @@ func (s *BrokerEBSVolumeInfo) SetKafkaBrokerNodeId(v string) *BrokerEBSVolumeInf return s } +// SetProvisionedThroughput sets the ProvisionedThroughput field's value. +func (s *BrokerEBSVolumeInfo) SetProvisionedThroughput(v *ProvisionedThroughput) *BrokerEBSVolumeInfo { + s.ProvisionedThroughput = v + return s +} + // SetVolumeSizeGB sets the VolumeSizeGB field's value. func (s *BrokerEBSVolumeInfo) SetVolumeSizeGB(v int64) *BrokerEBSVolumeInfo { s.VolumeSizeGB = &v @@ -6565,6 +6569,9 @@ func (s *DescribeConfigurationRevisionOutput) SetServerProperties(v []byte) *Des type EBSStorageInfo struct { _ struct{} `type:"structure"` + // EBS volume provisioned throughput information. + ProvisionedThroughput *ProvisionedThroughput `locationName:"provisionedThroughput" type:"structure"` + // The size in GiB of the EBS volume for the data drive on each broker node. VolumeSize *int64 `locationName:"volumeSize" min:"1" type:"integer"` } @@ -6600,6 +6607,12 @@ func (s *EBSStorageInfo) Validate() error { return nil } +// SetProvisionedThroughput sets the ProvisionedThroughput field's value. +func (s *EBSStorageInfo) SetProvisionedThroughput(v *ProvisionedThroughput) *EBSStorageInfo { + s.ProvisionedThroughput = v + return s +} + // SetVolumeSize sets the VolumeSize field's value. func (s *EBSStorageInfo) SetVolumeSize(v int64) *EBSStorageInfo { s.VolumeSize = &v @@ -9132,6 +9145,49 @@ func (s *ProvisionedRequest) SetOpenMonitoring(v *OpenMonitoringInfo) *Provision return s } +// Contains information about provisioned throughput for EBS storage volumes +// attached to kafka broker nodes. +type ProvisionedThroughput struct { + _ struct{} `type:"structure"` + + // Provisioned throughput is enabled or not. + Enabled *bool `locationName:"enabled" type:"boolean"` + + // Throughput value of the EBS volumes for the data drive on each kafka broker + // node in MiB per second. + VolumeThroughput *int64 `locationName:"volumeThroughput" type:"integer"` +} + +// 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 ProvisionedThroughput) 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 ProvisionedThroughput) GoString() string { + return s.String() +} + +// SetEnabled sets the Enabled field's value. +func (s *ProvisionedThroughput) SetEnabled(v bool) *ProvisionedThroughput { + s.Enabled = &v + return s +} + +// SetVolumeThroughput sets the VolumeThroughput field's value. +func (s *ProvisionedThroughput) SetVolumeThroughput(v int64) *ProvisionedThroughput { + s.VolumeThroughput = &v + return s +} + // Broker public access control. type PublicAccess struct { _ struct{} `type:"structure"` diff --git a/service/opensearchservice/api.go b/service/opensearchservice/api.go index 2d512b75e6..f85f3e1e22 100644 --- a/service/opensearchservice/api.go +++ b/service/opensearchservice/api.go @@ -1303,6 +1303,99 @@ func (c *OpenSearchService) DescribeDomainAutoTunesPagesWithContext(ctx aws.Cont return p.Err() } +const opDescribeDomainChangeProgress = "DescribeDomainChangeProgress" + +// DescribeDomainChangeProgressRequest generates a "aws/request.Request" representing the +// client's request for the DescribeDomainChangeProgress operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeDomainChangeProgress for more information on using the DescribeDomainChangeProgress +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeDomainChangeProgressRequest method. +// req, resp := client.DescribeDomainChangeProgressRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDomainChangeProgress +func (c *OpenSearchService) DescribeDomainChangeProgressRequest(input *DescribeDomainChangeProgressInput) (req *request.Request, output *DescribeDomainChangeProgressOutput) { + op := &request.Operation{ + Name: opDescribeDomainChangeProgress, + HTTPMethod: "GET", + HTTPPath: "/2021-01-01/opensearch/domain/{DomainName}/progress", + } + + if input == nil { + input = &DescribeDomainChangeProgressInput{} + } + + output = &DescribeDomainChangeProgressOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeDomainChangeProgress API operation for Amazon OpenSearch Service. +// +// Returns information about the current blue/green deployment happening on +// a domain, including a change ID, status, and progress stages. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon OpenSearch Service's +// API operation DescribeDomainChangeProgress for usage and error information. +// +// Returned Error Types: +// * BaseException +// An error occurred while processing the request. +// +// * InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. +// +// * ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. +// +// * ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDomainChangeProgress +func (c *OpenSearchService) DescribeDomainChangeProgress(input *DescribeDomainChangeProgressInput) (*DescribeDomainChangeProgressOutput, error) { + req, out := c.DescribeDomainChangeProgressRequest(input) + return out, req.Send() +} + +// DescribeDomainChangeProgressWithContext is the same as DescribeDomainChangeProgress with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeDomainChangeProgress for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *OpenSearchService) DescribeDomainChangeProgressWithContext(ctx aws.Context, input *DescribeDomainChangeProgressInput, opts ...request.Option) (*DescribeDomainChangeProgressOutput, error) { + req, out := c.DescribeDomainChangeProgressRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDescribeDomainConfig = "DescribeDomainConfig" // DescribeDomainConfigRequest generates a "aws/request.Request" representing the @@ -5762,6 +5855,198 @@ func (s *CancelServiceSoftwareUpdateOutput) SetServiceSoftwareOptions(v *Service return s } +// Specifies change details of the domain configuration change. +type ChangeProgressDetails struct { + _ struct{} `type:"structure"` + + // The unique change identifier associated with a specific domain configuration + // change. + ChangeId *string `min:"36" type:"string"` + + // Contains an optional message associated with the domain configuration change. + Message *string `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 ChangeProgressDetails) 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 ChangeProgressDetails) GoString() string { + return s.String() +} + +// SetChangeId sets the ChangeId field's value. +func (s *ChangeProgressDetails) SetChangeId(v string) *ChangeProgressDetails { + s.ChangeId = &v + return s +} + +// SetMessage sets the Message field's value. +func (s *ChangeProgressDetails) SetMessage(v string) *ChangeProgressDetails { + s.Message = &v + return s +} + +// A progress stage details of a specific domain configuration change. +type ChangeProgressStage struct { + _ struct{} `type:"structure"` + + // The description of the progress stage. + Description *string `type:"string"` + + // The last updated timestamp of the progress stage. + LastUpdated *time.Time `type:"timestamp"` + + // The name of the specific progress stage. + Name *string `min:"1" type:"string"` + + // The overall status of a specific progress stage. + Status *string `min:"1" 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 ChangeProgressStage) 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 ChangeProgressStage) GoString() string { + return s.String() +} + +// SetDescription sets the Description field's value. +func (s *ChangeProgressStage) SetDescription(v string) *ChangeProgressStage { + s.Description = &v + return s +} + +// SetLastUpdated sets the LastUpdated field's value. +func (s *ChangeProgressStage) SetLastUpdated(v time.Time) *ChangeProgressStage { + s.LastUpdated = &v + return s +} + +// SetName sets the Name field's value. +func (s *ChangeProgressStage) SetName(v string) *ChangeProgressStage { + s.Name = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ChangeProgressStage) SetStatus(v string) *ChangeProgressStage { + s.Status = &v + return s +} + +// The progress details of a specific domain configuration change. +type ChangeProgressStatusDetails struct { + _ struct{} `type:"structure"` + + // The unique change identifier associated with a specific domain configuration + // change. + ChangeId *string `min:"36" type:"string"` + + // The specific stages that the domain is going through to perform the configuration + // change. + ChangeProgressStages []*ChangeProgressStage `type:"list"` + + // The list of properties involved in the domain configuration change that are + // completed. + CompletedProperties []*string `type:"list"` + + // The list of properties involved in the domain configuration change that are + // still in pending. + PendingProperties []*string `type:"list"` + + // The time at which the configuration change is made on the domain. + StartTime *time.Time `type:"timestamp"` + + // The overall status of the domain configuration change. This field can take + // the following values: PENDING, PROCESSING, COMPLETED and FAILED + Status *string `type:"string" enum:"OverallChangeStatus"` + + // The total number of stages required for the configuration change. + TotalNumberOfStages *int64 `type:"integer"` +} + +// 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 ChangeProgressStatusDetails) 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 ChangeProgressStatusDetails) GoString() string { + return s.String() +} + +// SetChangeId sets the ChangeId field's value. +func (s *ChangeProgressStatusDetails) SetChangeId(v string) *ChangeProgressStatusDetails { + s.ChangeId = &v + return s +} + +// SetChangeProgressStages sets the ChangeProgressStages field's value. +func (s *ChangeProgressStatusDetails) SetChangeProgressStages(v []*ChangeProgressStage) *ChangeProgressStatusDetails { + s.ChangeProgressStages = v + return s +} + +// SetCompletedProperties sets the CompletedProperties field's value. +func (s *ChangeProgressStatusDetails) SetCompletedProperties(v []*string) *ChangeProgressStatusDetails { + s.CompletedProperties = v + return s +} + +// SetPendingProperties sets the PendingProperties field's value. +func (s *ChangeProgressStatusDetails) SetPendingProperties(v []*string) *ChangeProgressStatusDetails { + s.PendingProperties = v + return s +} + +// SetStartTime sets the StartTime field's value. +func (s *ChangeProgressStatusDetails) SetStartTime(v time.Time) *ChangeProgressStatusDetails { + s.StartTime = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ChangeProgressStatusDetails) SetStatus(v string) *ChangeProgressStatusDetails { + s.Status = &v + return s +} + +// SetTotalNumberOfStages sets the TotalNumberOfStages field's value. +func (s *ChangeProgressStatusDetails) SetTotalNumberOfStages(v int64) *ChangeProgressStatusDetails { + s.TotalNumberOfStages = &v + return s +} + // The configuration for the domain cluster, such as the type and number of // instances. type ClusterConfig struct { @@ -7247,6 +7532,106 @@ func (s *DescribeDomainAutoTunesOutput) SetNextToken(v string) *DescribeDomainAu return s } +// Container for the parameters to the DescribeDomainChangeProgress operation. +// Specifies the domain name and optional change specific identity for which +// you want progress information. +type DescribeDomainChangeProgressInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The specific change ID for which you want to get progress information. This + // is an optional parameter. If omitted, the service returns information about + // the most recent configuration change. + ChangeId *string `location:"querystring" locationName:"changeid" min:"36" type:"string"` + + // The domain you want to get the progress information about. + // + // DomainName is a required field + DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"` +} + +// 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 DescribeDomainChangeProgressInput) 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 DescribeDomainChangeProgressInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeDomainChangeProgressInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeDomainChangeProgressInput"} + if s.ChangeId != nil && len(*s.ChangeId) < 36 { + invalidParams.Add(request.NewErrParamMinLen("ChangeId", 36)) + } + if s.DomainName == nil { + invalidParams.Add(request.NewErrParamRequired("DomainName")) + } + if s.DomainName != nil && len(*s.DomainName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("DomainName", 3)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetChangeId sets the ChangeId field's value. +func (s *DescribeDomainChangeProgressInput) SetChangeId(v string) *DescribeDomainChangeProgressInput { + s.ChangeId = &v + return s +} + +// SetDomainName sets the DomainName field's value. +func (s *DescribeDomainChangeProgressInput) SetDomainName(v string) *DescribeDomainChangeProgressInput { + s.DomainName = &v + return s +} + +// The result of a DescribeDomainChangeProgress request. Contains the progress +// information of the requested domain change. +type DescribeDomainChangeProgressOutput struct { + _ struct{} `type:"structure"` + + // Progress information for the configuration change that is requested in the + // DescribeDomainChangeProgress request. + ChangeProgressStatus *ChangeProgressStatusDetails `type:"structure"` +} + +// 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 DescribeDomainChangeProgressOutput) 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 DescribeDomainChangeProgressOutput) GoString() string { + return s.String() +} + +// SetChangeProgressStatus sets the ChangeProgressStatus field's value. +func (s *DescribeDomainChangeProgressOutput) SetChangeProgressStatus(v *ChangeProgressStatusDetails) *DescribeDomainChangeProgressOutput { + s.ChangeProgressStatus = v + return s +} + // Container for the parameters to the DescribeDomainConfig operation. Specifies // the domain name for which you want configuration information. type DescribeDomainConfigInput struct { @@ -8399,6 +8784,9 @@ type DomainConfig struct { // Specifies AutoTuneOptions for the domain. AutoTuneOptions *AutoTuneOptionsStatus `type:"structure"` + // Specifies change details of the domain configuration change. + ChangeProgressDetails *ChangeProgressDetails `type:"structure"` + // The ClusterConfig for the domain. ClusterConfig *ClusterConfigStatus `type:"structure"` @@ -8475,6 +8863,12 @@ func (s *DomainConfig) SetAutoTuneOptions(v *AutoTuneOptionsStatus) *DomainConfi return s } +// SetChangeProgressDetails sets the ChangeProgressDetails field's value. +func (s *DomainConfig) SetChangeProgressDetails(v *ChangeProgressDetails) *DomainConfig { + s.ChangeProgressDetails = v + return s +} + // SetClusterConfig sets the ClusterConfig field's value. func (s *DomainConfig) SetClusterConfig(v *ClusterConfigStatus) *DomainConfig { s.ClusterConfig = v @@ -8883,6 +9277,9 @@ type DomainStatus struct { // The current status of the domain's Auto-Tune options. AutoTuneOptions *AutoTuneOptionsOutput_ `type:"structure"` + // Specifies change details of the domain configuration change. + ChangeProgressDetails *ChangeProgressDetails `type:"structure"` + // The type and number of instances in the domain. // // ClusterConfig is a required field @@ -9005,6 +9402,12 @@ func (s *DomainStatus) SetAutoTuneOptions(v *AutoTuneOptionsOutput_) *DomainStat return s } +// SetChangeProgressDetails sets the ChangeProgressDetails field's value. +func (s *DomainStatus) SetChangeProgressDetails(v *ChangeProgressDetails) *DomainStatus { + s.ChangeProgressDetails = v + return s +} + // SetClusterConfig sets the ClusterConfig field's value. func (s *DomainStatus) SetClusterConfig(v *ClusterConfig) *DomainStatus { s.ClusterConfig = v @@ -13756,6 +14159,9 @@ type UpgradeDomainOutput struct { // For more information, see Advanced cluster parameters (http://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html#createdomain-configure-advanced-options). AdvancedOptions map[string]*string `type:"map"` + // Specifies change details of the domain configuration change. + ChangeProgressDetails *ChangeProgressDetails `type:"structure"` + // The name of an domain. Domain names are unique across the domains owned by // an account within an AWS region. Domain names start with a letter or number // and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen). @@ -13795,6 +14201,12 @@ func (s *UpgradeDomainOutput) SetAdvancedOptions(v map[string]*string) *UpgradeD return s } +// SetChangeProgressDetails sets the ChangeProgressDetails field's value. +func (s *UpgradeDomainOutput) SetChangeProgressDetails(v *ChangeProgressDetails) *UpgradeDomainOutput { + s.ChangeProgressDetails = v + return s +} + // SetDomainName sets the DomainName field's value. func (s *UpgradeDomainOutput) SetDomainName(v string) *UpgradeDomainOutput { s.DomainName = &v @@ -14985,6 +15397,31 @@ func OutboundConnectionStatusCode_Values() []string { } } +// The overall status value of the domain configuration change. +const ( + // OverallChangeStatusPending is a OverallChangeStatus enum value + OverallChangeStatusPending = "PENDING" + + // OverallChangeStatusProcessing is a OverallChangeStatus enum value + OverallChangeStatusProcessing = "PROCESSING" + + // OverallChangeStatusCompleted is a OverallChangeStatus enum value + OverallChangeStatusCompleted = "COMPLETED" + + // OverallChangeStatusFailed is a OverallChangeStatus enum value + OverallChangeStatusFailed = "FAILED" +) + +// OverallChangeStatus_Values returns all elements of the OverallChangeStatus enum +func OverallChangeStatus_Values() []string { + return []string{ + OverallChangeStatusPending, + OverallChangeStatusProcessing, + OverallChangeStatusCompleted, + OverallChangeStatusFailed, + } +} + const ( // PackageStatusCopying is a PackageStatus enum value PackageStatusCopying = "COPYING" diff --git a/service/opensearchservice/opensearchserviceiface/interface.go b/service/opensearchservice/opensearchserviceiface/interface.go index 0ad9767c4d..e97bca8455 100644 --- a/service/opensearchservice/opensearchserviceiface/interface.go +++ b/service/opensearchservice/opensearchserviceiface/interface.go @@ -115,6 +115,10 @@ type OpenSearchServiceAPI interface { DescribeDomainAutoTunesPages(*opensearchservice.DescribeDomainAutoTunesInput, func(*opensearchservice.DescribeDomainAutoTunesOutput, bool) bool) error DescribeDomainAutoTunesPagesWithContext(aws.Context, *opensearchservice.DescribeDomainAutoTunesInput, func(*opensearchservice.DescribeDomainAutoTunesOutput, bool) bool, ...request.Option) error + DescribeDomainChangeProgress(*opensearchservice.DescribeDomainChangeProgressInput) (*opensearchservice.DescribeDomainChangeProgressOutput, error) + DescribeDomainChangeProgressWithContext(aws.Context, *opensearchservice.DescribeDomainChangeProgressInput, ...request.Option) (*opensearchservice.DescribeDomainChangeProgressOutput, error) + DescribeDomainChangeProgressRequest(*opensearchservice.DescribeDomainChangeProgressInput) (*request.Request, *opensearchservice.DescribeDomainChangeProgressOutput) + DescribeDomainConfig(*opensearchservice.DescribeDomainConfigInput) (*opensearchservice.DescribeDomainConfigOutput, error) DescribeDomainConfigWithContext(aws.Context, *opensearchservice.DescribeDomainConfigInput, ...request.Option) (*opensearchservice.DescribeDomainConfigOutput, error) DescribeDomainConfigRequest(*opensearchservice.DescribeDomainConfigInput) (*request.Request, *opensearchservice.DescribeDomainConfigOutput)